f694274410
As of now, nova-virtlogd container healthcheck is failing after deployment. This change fixes the nova-virtlogd container healthcheck by checking /run/libvirt/virtlogd-sock socket instead of /var/run/libvirt/virtlogd-sock socket. Change-Id: I1eee0cf34be9bf26fee0e4db832f8d141fee449b
13 lines
270 B
Bash
Executable File
13 lines
270 B
Bash
Executable File
#!/bin/bash
|
|
|
|
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
|
|
|
|
process=$1
|
|
socket='/run/libvirt/virtlogd-sock'
|
|
if [[ $process == "virtlogd" ]]; then
|
|
healthcheck_socket $process $socket
|
|
exit $?
|
|
else
|
|
virsh version --daemon
|
|
fi
|