Browse Source

update gate test for removal of force evacuate

micro-version 2.68 removed force evacuation, this chage
updates gate/test_evacuate.sh to use micro-version 2.67

Closes-Bug: #1819166

Change-Id: I44a3514b4b0ba1648aa96f92e896729c823b151c
changes/86/641986/3
Sean Mooney 3 years ago
committed by Eric Fried
parent
commit
30550d3d94
  1. 2
      gate/test_evacuate.sh

2
gate/test_evacuate.sh

@ -73,7 +73,7 @@ function evacuate_and_wait_for_error() {
echo "Forcing evacuate of ${server} to local host"
# TODO(mriedem): Use OSC when it supports evacuate.
nova evacuate --force ${server} ${local_hostname}
nova --os-compute-api-version "2.67" evacuate --force ${server} ${local_hostname}
# Wait for the instance to go into ERROR state from the failed evacuate.
count=0
status=$(openstack server show ${server} -f value -c status)

Loading…
Cancel
Save