Replace the task "Get nova_libvirt_launcher Process" to "Get libvirtd Process"
The process nova_libvirt_launcher.sh does not exist anymore. Replaced the search for libvirtd process. Changed the registered variable name for clarity.
Closes-Bug: #1970755
Signed-off-by: Juan Pablo Marti <jmarti@redhat.com>
Change-Id: I59e7255f5c6d9b11ee0d14f171c15843f4871225
(cherry picked from commit d6cbb646d6
)
This commit is contained in:
parent
2dbaaced1c
commit
7092063227
|
@ -55,16 +55,16 @@
|
|||
when:
|
||||
- dpdk_nics_numa is defined
|
||||
|
||||
- name: Get nova_libvirt_launcher Process
|
||||
- name: Get libvirtd Process
|
||||
become: true
|
||||
shell: |-
|
||||
ps -Leaf | grep nova_libvirt_launcher.sh | grep -v pts -m 1 | awk '{print $2}'
|
||||
register: nova_libvirt_launcher
|
||||
ps -Leaf | awk '/\/usr\/sbin\/libvirt[d]/ {print $2; exit}'
|
||||
register: libvirtd
|
||||
|
||||
- name: Get nova libvirt namespace processes
|
||||
become: true
|
||||
shell: |-
|
||||
pgrep --ns {{ nova_libvirt_launcher.stdout }}
|
||||
pgrep --ns {{ libvirtd.stdout }}
|
||||
register: nova_libvirt_proceses
|
||||
|
||||
- name: Update nova libvirt namespace processes pid
|
||||
|
|
Loading…
Reference in New Issue