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
This commit is contained in:
parent
836e13cd57
commit
76360e566b
@ -36,11 +36,18 @@
|
||||
systemd:
|
||||
name: "{{ item }}"
|
||||
state: stopped
|
||||
enabled: no
|
||||
with_items:
|
||||
- libvirtd.service
|
||||
- libvirtd.socket
|
||||
- libvirtd-admin.socket
|
||||
- libvirtd-ro.socket
|
||||
- virtlogd.service
|
||||
- virtlogd-admin.socket
|
||||
- virtlogd.socket
|
||||
- virtlockd.service
|
||||
- virtlockd-admin.socket
|
||||
- virtlockd.socket
|
||||
|
||||
- name: Run negative evacuate tests
|
||||
become: true
|
||||
@ -54,11 +61,18 @@
|
||||
systemd:
|
||||
name: "{{ item }}"
|
||||
state: started
|
||||
enabled: yes
|
||||
with_items:
|
||||
- libvirtd.service
|
||||
- libvirtd.socket
|
||||
- libvirtd-admin.socket
|
||||
- libvirtd-ro.socket
|
||||
- virtlogd.service
|
||||
- virtlogd-admin.socket
|
||||
- virtlogd.socket
|
||||
- virtlockd.service
|
||||
- virtlockd-admin.socket
|
||||
- virtlockd.socket
|
||||
|
||||
- name: Run evacuate tests
|
||||
become: true
|
||||
|
Loading…
Reference in New Issue
Block a user