HAProxy LBaaS driver does not work with L3 HA

Bug #1452039 reported by Abhishek Chanda
30
This bug affects 7 people
Affects Status Importance Assigned to Milestone
neutron
Invalid
Medium
Unassigned

Bug Description

We have a deployment with L3 HA. When we deployed HAProxy LBaaS driver on it, a few times, the haproxy instance landed on a network node that was not the master. When this happens, there is no way to access the load balanced instances over a floating IP. Here are the steps:

1. Deploy neutron with L3 HA and HAProxy LBaaS driver.
2. Setup a tenant and a public network with a HA router for the public network.
3. Boot three VMs in the tenant network.
4. Create a lb pool.
5. Add two VMs to the pool.
6. Create a health monitor and associate to the pool.
7. Create a VIP.
8. Start servers on the two VMs.
9. Create a floating IP in neutron.
10. Associate the floating IP to the VIP.

At this point, the servers should be accessible from outside the cloud using the floating IP. But that does not happen if the haproxy instance is scheduled on a node that is not the master in L3 HA.

Tags: l3-ha
Changed in neutron:
assignee: nobody → venkata anil (anil-venkata)
status: New → In Progress
Assaf Muller (amuller)
tags: added: l3-ha
Changed in neutron:
importance: Undecided → Medium
Revision history for this message
Sadique (sadiqueklr) wrote :

I haven't come across this issue during my testing. I have my lbaas instance running on one of the node and the floating ip is on a different node's qrouter interface with l3-ha.

BTW, do you have l2population enabled?

Revision history for this message
venkata anil (anil-venkata) wrote :

I also couldn't reproduce this issue. Lbaas VIP port is like any other neutron port. So if a neutron port(even for LBaaS VIP port) is not in the HA master node and having a floating IP, then should be able to be reached from external network.
Unassigning myself as I couldn't reproduce it.

Revision history for this message
venkata anil (anil-venkata) wrote :

l2population should be disabled if you are using L3 HA.

Changed in neutron:
assignee: venkata anil (anil-venkata) → nobody
Changed in neutron:
status: In Progress → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for neutron because there has been no activity for 60 days.]

Changed in neutron:
status: Incomplete → Expired
Changed in neutron:
status: Expired → Invalid
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.