test_evacuate.sh: Stop using libvirt-bin

I49dc963ada17a595232d3eb329d94632d07b874b missed that
call_hook_if_defined will actually cause the entire run to fail [1] if
we attempt to stop the non-existent libvirt-bin service so just remove
it now we are using the train UCA.

[1] https://opendev.org/openstack/devstack-gate/src/commit/7a70f559c559e22b498d735b4ed20aadc71b7f39/functions.sh#L74

Change-Id: Ife26f1ceb6208e12328ccdccbab0681ee55d5a2a
This commit is contained in:
Lee Yarwood
2020-09-22 10:26:37 +01:00
parent b5330a97ae
commit 5ab9b28161
-2
View File
@@ -76,7 +76,6 @@ do
done done
echo "Stopping libvirt on the localhost before evacuating to trigger failure" echo "Stopping libvirt on the localhost before evacuating to trigger failure"
sudo systemctl stop libvirt-bin
sudo systemctl stop libvirtd sudo systemctl stop libvirtd
# Now force the evacuation to *this* host; we have to force to bypass the # Now force the evacuation to *this* host; we have to force to bypass the
@@ -111,7 +110,6 @@ evacuate_and_wait_for_error evacuate-test
evacuate_and_wait_for_error evacuate-bfv-test evacuate_and_wait_for_error evacuate-bfv-test
echo "Now restart libvirt and perform a successful evacuation" echo "Now restart libvirt and perform a successful evacuation"
sudo systemctl start libvirt-bin
sudo systemctl start libvirtd sudo systemctl start libvirtd
sleep 10 sleep 10