Bug 2160469 - sync removes the route to a FIP when the corresponding subnet network has dhcp disabled
Summary: sync removes the route to a FIP when the corresponding subnet network has dhc...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: ovn-bgp-agent
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: beta
: 17.1
Assignee: Luis Tomas Bolivar
QA Contact: Eduardo Olivares
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-12 14:16 UTC by Eduardo Olivares
Modified: 2023-08-16 01:13 UTC (History)
3 users (show)

Fixed In Version: ovn-bgp-agent-0.3.1-1.20230120160941.62a04d4.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-16 01:13:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 869992 0 None MERGED Ensure FIP to VIP association is not lost on re-sync 2023-01-19 07:58:48 UTC
Red Hat Issue Tracker OSP-21355 0 None None None 2023-01-12 14:16:45 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:13:29 UTC

Description Eduardo Olivares 2023-01-12 14:16:04 UTC
Description of problem:
This bug is reproduced by executing the upstream test test_mac_learning_vms_on_same_network from neutron-tempest-plugin on an OSP environment with BGP configured.

That test creates a VM with a port connected to a tenant network, with an IPv4 subnet with dhcp disabled. The VM is created with config_drive set to True.
In that case, the port_binding entry from the OVN SBDB corresponding to the tenant port, is created with mac=unknown
When this happens, when the VM is created and a FIP is attached to it, the FIP route is initially exposed, but some time later, when the sync process is executed, it removes that route, which is obviously wrong.




Version-Release number of selected component (if applicable):
RHOS-17.1-RHEL-9-20221130.n.1
ovn-bgp-agent-0.3.1-1.20221117171123.5388639.el9ost.noarch


How reproducible:
100%

Steps to Reproduce:
run test test_mac_learning_vms_on_same_network
or follow the steps described above

Actual results:
no connectivity to the FIP

Expected results:
connectivity to the FIP

Comment 15 errata-xmlrpc 2023-08-16 01:13:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2023:4577


Note You need to log in before you can comment on or make changes to this bug.