Fix the proper version output for kingbird. 17/17617/2
authorDimitri Mazmanov <dimitri.mazmanov@ericsson.com>
Wed, 27 Jul 2016 10:40:04 +0000 (12:40 +0200)
committerJose Lausuch <jose.lausuch@ericsson.com>
Wed, 27 Jul 2016 11:33:15 +0000 (11:33 +0000)
Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
testcases/OpenStack/tempest/run_tempest.py

index 61fe248..c607668 100755 (executable)
@@ -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