Fix nova-virtlogd container healthcheck

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
This commit is contained in:
Rajesh Tailor 2020-05-28 19:00:10 +05:30
parent 95b59aa26d
commit f694274410
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
. ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh . ${HEALTHCHECK_SCRIPTS:-/usr/share/openstack-tripleo-common/healthcheck}/common.sh
process=$1 process=$1
socket='/var/run/libvirt/virtlogd-sock' socket='/run/libvirt/virtlogd-sock'
if [[ $process == "virtlogd" ]]; then if [[ $process == "virtlogd" ]]; then
healthcheck_socket $process $socket healthcheck_socket $process $socket
exit $? exit $?