summaryrefslogtreecommitdiffstats
path: root/tests/run.sh
diff options
context:
space:
mode:
authorUmar Farooq <umar.farooq@neclab.eu>2017-07-13 14:51:51 +0200
committerUmar Farooq <umar.farooq@neclab.eu>2017-07-13 14:51:51 +0200
commit7e13330620e235e9611ed1b474bcfb33902797f5 (patch)
tree40e3c64dc0675edaefad374a86ccae21c62101f7 /tests/run.sh
parent7e0ab6e2149df22455e58eb363eb291a985514de (diff)
Fix host status grep bug and Remove connection_pool argument
Host status returned the wrong output as the "OS-EXT-SRV-ATTR:host" pattern appears twice in the "openstack server show" output. The argument connection_pool is deprecated and is not needed. Change-Id: Ib107e0bad8084bdf6f77689f112bde04bdb97543 Signed-off-by: Umar Farooq <umar.farooq@neclab.eu>
Diffstat (limited to 'tests/run.sh')
-rwxr-xr-xtests/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run.sh b/tests/run.sh
index fda1e753..b838adab 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -48,7 +48,7 @@ as_admin_user="--os-username admin --os-project-name $DOCTOR_PROJECT
get_compute_host_info() {
# get computer host info which first VM boot in as admin user
COMPUTE_HOST=$(openstack $as_admin_user server show ${VM_BASENAME}1 |
- grep "OS-EXT-SRV-ATTR:host" | awk '{ print $4 }')
+ grep "OS-EXT-SRV-ATTR:host " | awk '{ print $4 }')
compute_host_in_undercloud=${COMPUTE_HOST%%.*}
die_if_not_set $LINENO COMPUTE_HOST "Failed to get compute hostname"