Bug 2186511
| Summary: | ip nei entries not cleaned up when a router is deleted | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Eduardo Olivares <eolivare> |
| Component: | ovn-bgp-agent | Assignee: | Luis Tomas Bolivar <ltomasbo> |
| Status: | CLOSED ERRATA | QA Contact: | Eduardo Olivares <eolivare> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 17.1 (Wallaby) | CC: | dalvarez, lmartins, ltomasbo |
| Target Milestone: | ga | Keywords: | Triaged |
| Target Release: | 17.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovn-bgp-agent-0.3.1-1.20230422171003.2553998.el9ost | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-08-16 01:14:35 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: | |||
|
Description
Eduardo Olivares
2023-04-13 15:04:03 UTC
Verified on RHOS-17.1-RHEL-9-20230426.n.1
External vlan network and subnet created
$ openstack network create public-vlan --external --provider-physical-network provider2 --provider-network-type vlan
$ openstack subnet create --network public-vlan --subnet-range 172.24.200.0/24 subnet-provider-vlan
Router created and connected to the external vlan network
$ openstack router create r
$ openstack router set --external-gateway public-vlan r
Obtain the router external GW IP:
$ openstack router show r | grep external_gateway_info
| external_gateway_info | {"network_id": "d5a83758-7e1e-4da7-b4d7-41582c56b3b4", "external_fixed_ips": [{"subnet_id": "7a78acfe-8f64-4711-8e7f-b2599ec06f01", "ip_address": "172.24.200.140"}], "enable_snat": true} |
The router external GW IP is exposed from a controller node:
[root@ctrl-1-0 ~]# ip a s bgp-nic | grep 172.24.200.140
inet 172.24.200.140/32 scope global bgp-nic
[root@ctrl-1-0 ~]# ip nei show 172.24.200.140
172.24.200.140 dev br-vlan.870 lladdr fa:16:3e:6f:58:1c PERMANENT
Router deleted:
$ openstack router delete r
Checked the external IP 172.24.200.140 is not exposed from the controller anymore.
There are no exceptions raised by the ovn-bgp-agent either.
Repeated the test disconnecting the external network from router instead of deleting the router:
$ openstack router unset --external-gateway r
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 |