4 Commits

Author SHA1 Message Date
Lucas Alvares Gomes
20a7c98eff [OVN] Adapt the live-migration job scripts to work with OVN
There's no q-agt service in an OVN deployment.

Change-Id: Ia25c966c70542bcd02f5540b5b94896c17e49888
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2021-03-15 09:41:03 +00:00
Lee Yarwood
76360e566b nova-live-migration: Disable *all* virt services during negative tests
libvirtd was being restarted on the controller during negative
evacuation tests that rely on the service being to cause an
evacuation failure.

This change adds various virt services to the list of services stopped
and now disabled on the host to ensure these don't cause systemd to
restart libvirtd:

* virtlogd.service
* virtlogd-admin.socket
* virtlogd.socket
* virtlockd.service
* virtlockd-admin.socket
* virtlockd.socket

Closes-Bug: #1903979
Change-Id: Ic83252bbda76c205bcbf0eef184ce0b201e224fc
2020-11-27 13:35:42 +00:00
Lee Yarwood
226250beb6 nova-evacuate: Disable libvirtd service and sockets during negative tests
The recent switch to Focal introduced a change in behaviour for the
libvirtd service that can now be restarted through new systemd socket
services associated with it once stopped. As we need it to remain
stopped during the initial negative evacuation tests on the controller
we now need to also stop these socket services and then later restart
them.

Change-Id: I2333872670e9e6c905efad7461af4d149f8216b6
2020-10-02 17:01:57 +00:00
Lee Yarwood
f357d80407 zuul: Introduce nova-evacuate
This change reworks the evacuation parts of the original
nova-live-migration job into a zuulv3 native ansible role and initial
job covering local ephemeral and iSCSI/LVM volume attached instance
evacuation. Future jobs will cover ceph and other storage backends.

Change-Id: I380e9ca1e6a84da2b2ae577fb48781bf5c740e23
2020-09-23 16:47:47 +01:00