]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
suite: don't try to check ceph packages against kernel flavor 526/head
authorIlya Dryomov <idryomov@gmail.com>
Wed, 17 Jun 2015 16:40:57 +0000 (19:40 +0300)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 17 Jun 2015 17:57:26 +0000 (20:57 +0300)
commit2dcc216a1c40745219d687cab09f9c8498b37768
treeccb235f975ce1f393d25e1e03c92ef9376df75b8
parent5e243281b7f78df0184edc0fb762cb8044d28e05
suite: don't try to check ceph packages against kernel flavor

The whole kernel_flavor check in schedule_suite() is completely wrong.
ceph packages and kernel packages are built on different gitbuilders
and so a set of ceph flavors is distinct from a set a kernel flavors
(they happen to intersect because both have a 'basic' flavor but that's
it).  Querying ceph gitbuilders with kernel flavor (which is what it
currently does - has_packages_for_distro() talks to ceph gitbuilders)
is useless and only worked because the only kernel we currently care
about and use in qa is 'basic' kernel.  Remove the for i in set(...)
construct and only check install task (i.e. ceph) flavor.

Also, crucially, do not make an empty dict a kernel task config in
!kernel_hash (i.e. "do not install any kernel") case.  This makes
kernel task install a default version of the kernel (branch master) on
all remotes.

Both of the above are partial reverts of commit 9968c366b17f ("Also
check install task's flavor when scheduling").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
teuthology/suite.py