Skip to content
Snippets Groups Projects
Commit df375fcb authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Fix cleanup-containers"

parents 8d78e233 1063f736
No related branches found
No related tags found
No related merge requests found
#!/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."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment