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

Merge "Ignore dom0 qemu processes during destroy"

parents 8d3f989b eb138539
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
if [[ $COMPUTE ]] && [[ $(pgrep qemu) ]]; then
QEMU_PIDS=$(pgrep qemu)
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."
echo "Please clean them up before rerunning this script."
......
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