bugfix: miss a whitespace in the playbook command. 07/19707/2
authorwu.zhihui <wu.zhihui1@zte.com.cn>
Mon, 29 Aug 2016 03:26:22 +0000 (11:26 +0800)
committerzhihui wu <wu.zhihui1@zte.com.cn>
Mon, 29 Aug 2016 03:28:50 +0000 (03:28 +0000)
According to https://build.opnfv.org/ci/job/qtip-fuel-zte-pod2-daily
-master/13/consoleFull,

ERROR! the playbook: ./benchmarks/playbooks/dhrystone.yaml--private-key=./data/QtipKey could not be found

miss a whitespace in the playbook command.

Change-Id: Id5fea085eb3e24e4105f20ec800d4a07478fb383
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
func/driver.py

index f26f63d..63a9c36 100644 (file)
@@ -57,7 +57,7 @@ class Driver:
         extra_vars_json = json.dumps(dict(extra_vars.items()))
         logging.info(extra_vars_json)
         run_play = 'ansible-playbook ./benchmarks/playbooks/{0}.yaml' \
-                   '--private-key=./data/QtipKey -i ./data/hosts --extra-vars \'{1}\'' \
+                   ' --private-key=./data/QtipKey -i ./data/hosts --extra-vars \'{1}\'' \
                    .format(benchmark, extra_vars_json)
         os.system(run_play)