]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Refuse to schedule jobs with 'multi' machine_type
authorZack Cerza <zack.cerza@inktank.com>
Fri, 19 Sep 2014 16:12:59 +0000 (10:12 -0600)
committerZack Cerza <zack.cerza@inktank.com>
Fri, 19 Sep 2014 16:12:59 +0000 (10:12 -0600)
That's not a real machine_type - it's a beanstalkd tube that is used
when a machine_type like 'plana,mira,burnupi' is used.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/suite.py

index 3809e1376e79a52969bd760e82b0ad924a14ea0b..c93020996853d95c50ae36b2b37f4307a19d04d3 100644 (file)
@@ -38,6 +38,9 @@ def main(args):
     kernel_flavor = args['--flavor']
     teuthology_branch = args['--teuthology-branch']
     machine_type = args['--machine-type']
+    if 'multi' in machine_type:
+        schedule_fail("'multi' is not a valid machine_type. " +
+                      "Maybe you want 'plana,mira,burnupi' or similar")
     distro = args['--distro']
     suite_branch = args['--suite-branch']
     suite_dir = args['--suite-dir']