Skip to content

Commit

Permalink
Fix health check script location and permissions
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Prabhjot Singh Sethi committed Jan 13, 2016
1 parent 90722d4 commit 19e0dbc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/vnsw/agent/contrail/SConscript
Expand Up @@ -121,7 +121,7 @@ doc_files += env['AGENT_FLOW_DOC_FILES']
# Please update sandesh/common/vns.sandesh on process name change
env.Alias('install', env.Install(env['INSTALL_BIN'], contrail_vrouter_agent))
env.Alias('install', env.Install(env['INSTALL_EXAMPLE'],
'contrail_vrouter_agent_health_check.py'))
'contrail-vrouter-agent-health-check.py'))
env.Alias('install', env.Install(env['INSTALL_CONF'],
'../contrail-vrouter-agent.conf'))
env.Alias('install',
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/vnsw/agent/oper/health_check.cc
Expand Up @@ -27,7 +27,7 @@ SandeshTraceBufferPtr
HealthCheckTraceBuf(SandeshTraceBufferCreate("HealthCheck", 5000));

const std::string HealthCheckInstance::kHealthCheckCmd
("/opt/contrail/utils/contrail_vrouter_agent_health_check.py");
("/usr/share/contrail-utils/contrail-vrouter-agent-health-check.py");

HealthCheckService::HealthCheckService(const HealthCheckTable *table,
const boost::uuids::uuid &id) :
Expand Down

0 comments on commit 19e0dbc

Please sign in to comment.