diff options
Diffstat (limited to 'gate')
-rwxr-xr-x | gate/test_evacuate.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gate/test_evacuate.sh b/gate/test_evacuate.sh index 19c339342a..3ef1caeabd 100755 --- a/gate/test_evacuate.sh +++ b/gate/test_evacuate.sh @@ -55,8 +55,8 @@ nova boot --flavor ${flavor_id} --poll \ --nic net-id=${network_id} --availability-zone nova:${subnode} evacuate-bfv-test # Fence the subnode -echo "Stopping all services and guest domains on subnode" -$ANSIBLE subnodes --become -f 5 -i "$WORKSPACE/inventory" -m shell -a "systemctl stop devstack@*" +echo "Stopping n-cpu, q-agt and guest domains on subnode" +$ANSIBLE subnodes --become -f 5 -i "$WORKSPACE/inventory" -m shell -a "systemctl stop devstack@n-cpu devstack@q-agt" $ANSIBLE subnodes --become -f 5 -i "$WORKSPACE/inventory" -m shell -a "for domain in \$(virsh list --all --name); do virsh destroy \$domain; done" echo "Forcing down the subnode so we can evacuate from it" |