healthcheck script needs to be spawned from right location

Bug #1532976 reported by Senthilnathan Murugappan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Critical
Prabhjot Singh Sethi

Bug Description

Agent is trying to spawn health_check script from /opt/contrail/utils dir whereas the script is actually at /usr/share/contrail-utils

root@a2s42:~# dpkg -S contrail_vrouter_agent_health_check.py
contrail-utils: /usr/share/contrail-utils/contrail_vrouter_agent_health_check.py

root@a2s42:~# tail -2 /var/log/contrail/contrail-vrouter-agent.log
2016-01-11 Mon 14:23:08:024.148 PST a2s42 [Thread 139963432609728, Pid 3236]: NetNS run command: /opt/contrail/utils/contrail_vrouter_agent_health_check.py -m PING -d 169.254.32.0 -t 5 -r 5 -i 5
2016-01-11 Mon 14:23:08:030.021 PST a2s42 [Thread 139963432609728, Pid 3236]: NetNS run command: /opt/contrail/utils/contrail_vrouter_agent_health_check.py -m PING -d 169.254.32.0 -t 5 -r 5 -i 5

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/16260
Submitter: Prabhjot Singh Sethi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/16260
Committed: http://github.org/Juniper/contrail-controller/commit/19e0dbc132f21530975503be3f3b86fe937220ae
Submitter: Zuul
Branch: master

commit 19e0dbc132f21530975503be3f3b86fe937220ae
Author: Prabhjot Singh Sethi <email address hidden>
Date: Wed Jan 13 12:02:23 2016 +0530

Fix health check script location and permissions

Change to use correct path to spawn health check script
from vrouter-agent
Adding execute permission to health check script

Closes-Bug: 1532976
Related-Bug: 1530539
Change-Id: Ia4ce2b9de6de07ef5036562079709babb81c82a9

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.