SYMC: Kill Haproxy process does not automatically spawn a new haproxy
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.2 |
New
|
High
|
Yuvaraja Mariappan | |||
R4.0 |
New
|
High
|
Yuvaraja Mariappan | |||
R4.1 |
New
|
High
|
Yuvaraja Mariappan | |||
R5.0 |
New
|
High
|
Yuvaraja Mariappan | |||
Trunk |
New
|
High
|
Yuvaraja Mariappan | |||
OpenContrail |
New
|
High
|
Yuvaraja Mariappan |
Bug Description
I tried manually killing haproxy on hypervisor and see it it spawns a new haproxy somewhere else, but I don't see that happening. The database still points to the old active/standby instances which does not seem to be correct.
[ash2] varun_lodaya@
[ash2] varun_lodaya@
nobody 28985 1 0 17:27 ? 00:00:00 haproxy -f /var/lib/
[ash2] varun_lodaya@
[ash2] varun_lodaya@
Same virtual_
"virtual_
{
],
},
{
],
}
]
Changed in opencontrail: | |
assignee: | nobody → Divakar Dharanalakota (ddivakar) |
Changed in opencontrail: | |
assignee: | Divakar Dharanalakota (ddivakar) → Babu Shanmugam (anbu-p) |
summary: |
- Kill Haproxy process does not automatically spawn a new haproxy + SYMC: Kill Haproxy process does not automatically spawn a new haproxy |
Changed in opencontrail: | |
importance: | Undecided → High |
tags: | added: config provisioning |
tags: | added: att-aic-contrail |
Changed in opencontrail: | |
assignee: | Babu Shanmugam (anbu-p) → Yuvaraja Mariappan (ymariappan) |
no longer affects: | juniperopenstack |
tags: | added: blocker |
That's an interesting issue.
Rudra Divakar, did you already exchanged on that problem?
I think that need to be discussing.
I saw the HAProxy process is configured by default to bind the stats API on all netns IPs [1] but I did not find any code that use it. That could be a way to perform health checks on the HAPproxy and probably to raise statistics to the collectors. But IMO we should though to restrict the access of that API to the vrouter for security reasons.
[1] https:/ /github. com/Juniper/ contrail- controller/ blob/master/ src/vnsw/ agent/oper/ loadbalancer_ haproxy. cc#L80