Bug 1528281

Summary: L3HA only works with the first router created (PIKE)
Product: [Community] RDO Reporter: Donny Davis <dondavis>
Component: openstack-neutronAssignee: Assaf Muller <amuller>
Status: CLOSED EOL QA Contact: Ofer Blaut <oblaut>
Severity: medium Docs Contact:
Priority: medium    
Version: trunkCC: chrisw, srevivo, ykarel
Target Milestone: ---   
Target Release: trunk   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-13 08:01:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Here is the debug output when creating an HA router
none
l3-agent-debug none

Description Donny Davis 2017-12-21 12:37:49 UTC
Description of problem:
The Neutron L3HA feature does work on a standard deployment, however it only works for the first router created on a given external network. When trying to add two or three routers to the same external network in the same tenant, the ports do not come up. 

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1.Deploy HA overcloud
2.Create external network
3. Create two routers both attached to same external network

Actual results:
Second routers HA ports fail to come up

Expected results:
I can attach many routers to an external network in the same tenant

Additional info:
I have been using this feature since liberty and it usually just works. My setup is pretty basic. 

I am using isolated networks
I used tripleo to deploy

neutron-openvswitch-agent throws this error on the second routers creation

2017-12-21 07:25:34.848 961672 WARNING neutron.agent.rpc [req-ec84870c-0a83-4495-8883-737c639c9603 - - - - -] Device Port(admin_state_up=True,allowed_address_pairs=[],binding=PortBinding,binding_levels=[],created_at=2017-12-21T12:25:27Z,data_plane_status=<?>,description='',device_id='694913ed-6464-43fa-8372-7722b81c4d7a',device_owner='network:router_ha_interface',dhcp_options=[],distributed_binding=None,dns=None,fixed_ips=[IPAllocation],id=45992ab1-d323-4697-afb1-babc1473b3ac,mac_address=fa:16:3e:70:da:02,name='HA port tenant baa55f0b597242868c715e4e18e5fab4',network_id=88e10101-4675-48fa-aa65-e945b3146915,project_id='',qos_policy_id=None,revision_number=5,security=PortSecurity(45992ab1-d323-4697-afb1-babc1473b3ac),security_group_ids=set([]),status='DOWN',updated_at=2017-12-21T12:25:34Z) is not bound.
2017-12-21 07:25:34.855 961672 WARNING neutron.plugins.ml2.drivers.openvswitch.agent.ovs_neutron_agent [req-ec84870c-0a83-4495-8883-737c639c9603 - - - - -] Device 45992ab1-d323-4697-afb1-babc1473b3ac not defined on plugin or binding failed

Comment 1 Donny Davis 2017-12-21 13:10:34 UTC
Update:
You cannot create more than one HA router per project.

Comment 2 Donny Davis 2017-12-21 13:38:31 UTC
Created attachment 1370868 [details]
Here is the debug output when creating an HA router

Comment 3 Donny Davis 2017-12-29 14:41:17 UTC
Created attachment 1373944 [details]
l3-agent-debug

Comment 4 Yatin Karel 2021-01-13 08:01:02 UTC
PIKE is EOL so closing the bug, if you feel the bug exists for any other supported release feel free to open for that with logs so it can be looked and fixed.