From 3191e32c66df86f7c527d00defb7d3acd6786b9e Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Fri, 11 Oct 2013 17:41:22 -0500 Subject: [PATCH] Put machine_type in config.yaml Reason being, if --worker is passed to teuthology-schedule, we are already placing the job in the tube for that machine type. If the job config doesn't specify a machine_type, it will later be assigned to 'plana' by teuthology-run without actually modifying the config. This can result in jobs running on hardware other than what was requested. Signed-off-by: Zack Cerza --- teuthology/schedule.py | 1 + 1 file changed, 1 insertion(+) diff --git a/teuthology/schedule.py b/teuthology/schedule.py index d9b71fe8b..5aa51ed8c 100644 --- a/teuthology/schedule.py +++ b/teuthology/schedule.py @@ -47,6 +47,7 @@ def main(ctx): description=ctx.description, owner=ctx.owner, verbose=ctx.verbose, + machine_type=ctx.worker, ) # Merge job_config and ctx.config job_config.update(ctx.config) -- 2.47.3