Merge "get compute host info after vm boot"
authorCarlos Goncalves <carlos.goncalves@neclab.eu>
Fri, 8 Jul 2016 07:40:47 +0000 (07:40 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Fri, 8 Jul 2016 07:40:47 +0000 (07:40 +0000)
tests/run.sh

index 33ec31c..b383a02 100755 (executable)
@@ -243,7 +243,7 @@ check_host_status() {
     (
         change_to_doctor_user
 
-        host_status_line=$(openstack server show $VM_NAME | grep "host_status")
+        host_status_line=$(openstack --os-compute-api-version 2.16 server show $VM_NAME | grep "host_status")
         if [[ $? -ne 0 ]] ; then
             echo "ERROR: host_status not configured for owner in Nova policy.json"
             exit 1