Browse Source

Merge "Add healthcheck for nova-virtlogd container"

tags/12.0.0
Zuul 2 weeks ago
parent
commit
0a71184280
1 changed files with 10 additions and 1 deletions
  1. +10
    -1
      healthcheck/nova-libvirt

+ 10
- 1
healthcheck/nova-libvirt View File

@@ -1,3 +1,12 @@
#!/bin/bash

virsh version --daemon
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh

process=$1
socket='/var/run/libvirt/virtlogd-sock'
if [[ $process == "virtlogd" ]]; then
healthcheck_socket $process $socket
exit $?
else
virsh version --daemon
fi

Loading…
Cancel
Save