]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
kernel: recognize flavor key 506/head
authorIlya Dryomov <idryomov@gmail.com>
Thu, 28 May 2015 17:47:42 +0000 (20:47 +0300)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 28 May 2015 23:58:13 +0000 (02:58 +0300)
commitd14448ee38bbac50fb78b5e5074cd6feefd34138
treebc6cc42fd2b016092751be12117128c4b771b9ef
parent9793a7799fa34c398e0dd298aff4a2ad18abac49
kernel: recognize flavor key

Since commit 7da76fa78f63 ("Use kernel_flavor when polling
gitbuilders"), teuthology-suite appends 'flavor: basic' to kernel task
config.  This broke all scheduled kernel suites, because
normalize_config() treats unknown keys as role types and when it
doesn't find a valid one it bails and returns {}, which means "do
nothing".

Fix this temporarily by adding flavor to a list of recognized keys.
This is wrong a bunch of levels, but it fixes a regression while
sticking to the way normalize_config() currently works.

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