diff options
| author | Jenkins <jenkins@review.openstack.org> | 2017-01-13 13:53:29 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2017-01-13 13:53:29 +0000 |
| commit | df375fcb87c36be619a9a6fb973358157d5c43da (patch) | |
| tree | 6006fb87f9b47b32bc5e48757467805f78a0e06c | |
| parent | 8d78e23336b45a67e4214ca747c5aa309b345d1a (diff) | |
| parent | 1063f736205b52d341171eabe769813fb6b79655 (diff) | |
| download | kolla-ansible-df375fcb87c36be619a9a6fb973358157d5c43da.tar.gz kolla-ansible-df375fcb87c36be619a9a6fb973358157d5c43da.zip | |
Merge "Fix cleanup-containers"
| -rwxr-xr-x | tools/cleanup-containers | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cleanup-containers b/tools/cleanup-containers index 099e5b234..514befb5c 100755 --- a/tools/cleanup-containers +++ b/tools/cleanup-containers @@ -1,5 +1,5 @@ #!/bin/bash -QEMU_PIDS=$(pgrep qemu) +QEMU_PIDS=$(pgrep -l qemu | awk '!/qemu-ga/ {print $1}') if [[ $COMPUTE ]] && [[ $QEMU_PIDS ]] && [[ $(ps --no-headers wwwup $QEMU_PIDS | grep --invert-match '\-xen\-domid 0') ]]; then echo "Some qemu processes were detected." echo "Docker will not be able to stop the nova_libvirt container with those running." |
