From 086f1b56e4194642328c5a6b86e46cb0ac17cfb3 Mon Sep 17 00:00:00 2001 From: Dimitri Mazmanov Date: Wed, 27 Jul 2016 12:40:04 +0200 Subject: [PATCH] Fix the proper version output for kingbird. Signed-off-by: Dimitri Mazmanov --- testcases/OpenStack/tempest/run_tempest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/OpenStack/tempest/run_tempest.py b/testcases/OpenStack/tempest/run_tempest.py index 61fe2486e..c60766804 100755 --- a/testcases/OpenStack/tempest/run_tempest.py +++ b/testcases/OpenStack/tempest/run_tempest.py @@ -219,7 +219,7 @@ def configure_tempest_feature(deployment_dir, mode): if mode == 'feature_multisite': config.set('service_available', 'kingbird', 'true') cmd = "openstack endpoint show kingbird | grep publicurl |\ - awk '{print $4}' | awk -F '/' '{print $3}'" + awk '{print $4}' | awk -F '/' '{print $4}'" kingbird_api_version = os.popen(cmd).read() if os.environ.get("INSTALLER_TYPE") == 'fuel': # For MOS based setup, the service is accessible -- 2.16.6