[library] Deploy Haproxy config with Neutron API in Active/Active HA mode

Bug #1353667 reported by Oleksii Aleksieiev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
In Progress
High
Dmitry Borodaenko

Bug Description

Description of the environment
HA 3 controllers
Neutron+VLAN

Steps to reproduce
Create a new cluster
Select HA mode, “Neutron with VLANs” for network, and choose to install Savanna
Leave defaults the rest of the settings. Run cluster installation

Expected result
085-neutron.cfg should not have backup option for servers.

/etc/haproxy/conf.d/085-neutron.cfg
listen quantum
  bind 10.20.0.10:9696
  balance roundrobin
  option httplog
  server server001 10.20.0.11:9696 check
  server server002 10.20.0.12:9696 check
  server server003 10.20.0.13:9696 check

Actual result

/etc/haproxy/conf.d/085-neutron.cfg
listen quantum
  bind 10.20.0.10:9696
  balance roundrobin
  option httplog
  server server001 10.20.0.11:9696 check backup
  server server002 10.20.0.12:9696 check
  server server003 10.20.0.13:9696 check backup

Workaround
In /etc/puppet/openstack/manifests/ha/neutron.pp
set "define_backups " to false

Impact
Only one neutron server is used at the same time. haproxy will switch connections to another server only if the server is dead. This cause one neutron server to have all the load while all other nodes are idle.
Seems like this is old configuration.

Changed in fuel:
importance: Undecided → Medium
assignee: nobody → Fuel Library Team (fuel-library)
milestone: none → 5.1
milestone: 5.1 → 6.0
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

I believe this one should be high priority and retargeted for 5.1

Changed in fuel:
status: New → Triaged
Revision history for this message
Aleksandr Shaposhnikov (alashai8) wrote :

Behavior checked. To load balance requests to the Neutron-API all of them should be active. My personal experience with such config was pretty fine. I also tested 5.0 release iso with multiple active neutron-api servers.

Changed in fuel:
importance: Medium → High
milestone: 6.0 → 5.1
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Dmitry Borodaenko (dborodaenko)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/113364

Changed in fuel:
status: Triaged → In Progress
Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

I think that this bug is not of high priority. We should triage it and find if it is absolutely necessary to turn on active/active for neutron-server. Let's consult with neutron guys.

Revision history for this message
Andrew Woodward (xarses) wrote :
tags: added: customer-found
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.