Merge "test_evacuate.sh: Support libvirt-bin and libvirtd systemd services"
This commit is contained in:
commit
b5330a97ae
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue