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
This commit is contained in:
parent
d309e3cdf5
commit
226250beb6
@ -34,8 +34,13 @@
|
||||
- name: Stop libvirtd on "{{ inventory_hostname }}"
|
||||
become: true
|
||||
systemd:
|
||||
name: libvirtd
|
||||
name: "{{ item }}"
|
||||
state: stopped
|
||||
with_items:
|
||||
- libvirtd.service
|
||||
- libvirtd.socket
|
||||
- libvirtd-admin.socket
|
||||
- libvirtd-ro.socket
|
||||
|
||||
- name: Run negative evacuate tests
|
||||
become: true
|
||||
@ -47,8 +52,13 @@
|
||||
- name: Start libvirtd on "{{ inventory_hostname }}"
|
||||
become: true
|
||||
systemd:
|
||||
name: libvirtd
|
||||
name: "{{ item }}"
|
||||
state: started
|
||||
with_items:
|
||||
- libvirtd.service
|
||||
- libvirtd.socket
|
||||
- libvirtd-admin.socket
|
||||
- libvirtd-ro.socket
|
||||
|
||||
- name: Run evacuate tests
|
||||
become: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user