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
(cherry picked from commit f694274410)
This commit is contained in:
Rajesh Tailor 2020-05-28 19:00:10 +05:30
parent 5e7ca16c12
commit 2f23164b7f
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
process=$1
socket='/var/run/libvirt/virtlogd-sock'
socket='/run/libvirt/virtlogd-sock'
if [[ $process == "virtlogd" ]]; then
healthcheck_socket $process $socket
exit $?