Merge "Replace the task "Get nova_libvirt_launcher Process" to "Get libvirtd Process""
This commit is contained in:
commit
55217cd19d
@ -55,16 +55,16 @@
|
|||||||
when:
|
when:
|
||||||
- dpdk_nics_numa is defined
|
- dpdk_nics_numa is defined
|
||||||
|
|
||||||
- name: Get nova_libvirt_launcher Process
|
- name: Get libvirtd Process
|
||||||
become: true
|
become: true
|
||||||
shell: |-
|
shell: |-
|
||||||
ps -Leaf | grep nova_libvirt_launcher.sh | grep -v pts -m 1 | awk '{print $2}'
|
ps -Leaf | awk '/\/usr\/sbin\/libvirt[d]/ {print $2; exit}'
|
||||||
register: nova_libvirt_launcher
|
register: libvirtd
|
||||||
|
|
||||||
- name: Get nova libvirt namespace processes
|
- name: Get nova libvirt namespace processes
|
||||||
become: true
|
become: true
|
||||||
shell: |-
|
shell: |-
|
||||||
pgrep --ns {{ nova_libvirt_launcher.stdout }}
|
pgrep --ns {{ libvirtd.stdout }}
|
||||||
register: nova_libvirt_proceses
|
register: nova_libvirt_proceses
|
||||||
|
|
||||||
- name: Update nova libvirt namespace processes pid
|
- name: Update nova libvirt namespace processes pid
|
||||||
|
Loading…
x
Reference in New Issue
Block a user