From 2810096cc9e525850398bb586064e12f9a975c2c Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Wed, 1 Oct 2014 17:15:10 -0600 Subject: [PATCH] Use arch in lock_machines() Signed-off-by: Zack Cerza --- teuthology/task/internal.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/teuthology/task/internal.py b/teuthology/task/internal.py index 27d2b8b1d6..efdd854e46 100644 --- a/teuthology/task/internal.py +++ b/teuthology/task/internal.py @@ -65,6 +65,7 @@ def lock_machines(ctx, config): """ os_type = ctx.config.get('os_type') os_version = ctx.config.get('os_version') + arch = ctx.config.get('arch') log.info('Locking machines...') assert isinstance(config[0], int), 'config[0] must be an integer' machine_type = config[1] @@ -98,7 +99,7 @@ def lock_machines(ctx, config): assert 0, 'not enough machines free' newly_locked = lock.lock_many(ctx, how_many, machine_type, ctx.owner, - ctx.archive, os_type, os_version) + ctx.archive, os_type, os_version, arch) if not newly_locked and not isinstance(newly_locked, list): raise RuntimeError('Invalid parameters specified') if len(newly_locked) == how_many: -- 2.39.5