From: Dimitri Mazmanov Date: Wed, 27 Jul 2016 10:40:04 +0000 (+0200) Subject: Fix the proper version output for kingbird. X-Git-Tag: colorado.1.0~205 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=086f1b56e4194642328c5a6b86e46cb0ac17cfb3;p=functest.git Fix the proper version output for kingbird. Signed-off-by: Dimitri Mazmanov --- 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