Merge "test_evacuate.sh: Support libvirt-bin and libvirtd systemd services"

This commit is contained in:
Zuul 2020-09-18 23:03:01 +00:00 committed by Gerrit Code Review
commit b5330a97ae
1 changed files with 2 additions and 0 deletions

View File

@ -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.