summaryrefslogtreecommitdiff
path: root/gate
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-09-18 23:03:01 +0000
committerGerrit Code Review <review@openstack.org>2020-09-18 23:03:01 +0000
commitb5330a97ae6f874b75fa9588ae122a1d1e827035 (patch)
tree814085e250797c2c7bcfa5bb0c9f8ab6952a470a /gate
parente3acb2164126fc4c6235ef6c20b3231b2a3d5339 (diff)
parent6c62830ae802379e20651ffe14b10809d1122792 (diff)
downloadnova-b5330a97ae6f874b75fa9588ae122a1d1e827035.tar.gz
Merge "test_evacuate.sh: Support libvirt-bin and libvirtd systemd services"
Diffstat (limited to 'gate')
-rwxr-xr-xgate/test_evacuate.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/gate/test_evacuate.sh b/gate/test_evacuate.sh
index 4a54988e03..9bf9fcdbcd 100755
--- a/gate/test_evacuate.sh
+++ b/gate/test_evacuate.sh
@@ -77,6 +77,7 @@ done
echo "Stopping libvirt on the localhost before evacuating to trigger failure"
sudo systemctl stop libvirt-bin
+sudo systemctl stop libvirtd
# Now force the evacuation to *this* host; we have to force to bypass the
# scheduler since we killed libvirtd which will trigger the libvirt compute
@@ -111,6 +112,7 @@ evacuate_and_wait_for_error evacuate-bfv-test
echo "Now restart libvirt and perform a successful evacuation"
sudo systemctl start libvirt-bin
+sudo systemctl start libvirtd
sleep 10
# Wait for the compute service to be enabled.