Bug 2064704
| Summary: | Wrong addition of VIPs to all logical router pods leading to triggering GARP on different locations | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Luis Tomas Bolivar <ltomasbo> | |
| Component: | openstack-neutron | Assignee: | Luis Tomas Bolivar <ltomasbo> | |
| Status: | CLOSED ERRATA | QA Contact: | Maor <mblue> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 17.0 (Wallaby) | CC: | chrisw, ctrautma, dceara, jiji, jishi, lorenzo.bianconi, mmichels, mtomaska, nusiddiq, scohen | |
| Target Milestone: | ga | Keywords: | Triaged | |
| Target Release: | 17.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | openstack-neutron-18.2.1-0.20220317031925.ca458d9.el9ost | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 2053013 | |||
| : | 2064706 (view as bug list) | Environment: | ||
| Last Closed: | 2022-09-21 12:19:39 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 2053013 | |||
| Bug Blocks: | 2064706, 2064709 | |||
|
Description
Luis Tomas Bolivar
2022-03-16 11:46:44 UTC
Verified on 'RHOS-17.0-RHEL-9-20220414.n.1' with 'openstack-neutron-18.2.1-0.20220317031925.ca458d9.el9ost'. The first verification was done according to reproducing steps mentioned on comment 0. The second verification was done in similar way to reproducing steps mentioned in ovn core BZ [1]. First Verification: 1) Create a router in OSP and attach it to the provider network. (overcloud) [stack@undercloud-0 ~]$ . ~/overcloudrc && openstack router create router_A (overcloud) [stack@undercloud-0 ~]$ openstack router set router_A --external-gateway public 2) Create a tenant network/subnet and connect it to the router. (overcloud) [stack@undercloud-0 ~]$ openstack network create net_A (overcloud) [stack@undercloud-0 ~]$ openstack subnet create subnet_A --network net_A --subnet-range 192.168.3.0/24 (overcloud) [stack@undercloud-0 ~]$ openstack router add subnet router_A subnet_A 3) Create a Load Balancer in OSP, with the VIP in that tenant network (overcloud) [stack@undercloud-0 ~]$ openstack loadbalancer create --vip-subnet-id subnet_A --enable 4) Verify Load Balancer IP is not advertised outside in the provider network, according to patch port mentioned in comment 0. [heat-admin@controller-0 ~]$ export SBDB=$(sudo ovs-vsctl get open . external_ids:ovn-remote | sed -e 's/\"//g') [heat-admin@controller-0 ~]$ alias ovn-sbctl="sudo podman exec ovn_controller ovn-sbctl --db=$SBDB" [heat-admin@controller-0 ~]$ ovn-sbctl list Port_Binding In 'nat_addresses' output, verified no IP address related to load balancer: ... _uuid : dc0fe975-4a5f-414c-850b-6cf2279977a1 chassis : [] datapath : 53816f1b-aa7f-403e-9539-366bf878038e encap : [] external_ids : {"neutron:cidrs"="10.0.0.198/24 2620:52:0:13b8::1000:3e/64", "neutron:device_id"="56f46dcb-251b-4a35-b8ae-e0951e57ebbc", "neutron:device_owner"="net work:router_gateway", "neutron:network_name"=neutron-dfbcd78b-4c1c-4ee4-b477-e7fddb884403, "neutron:port_name"="", "neutron:project_id"="", "neutron:revision_number"="4", "neutron:security_group_ids"=""} gateway_chassis : [] ha_chassis_group : [] logical_port : "e3780ea1-17a8-4040-9b97-8315ac51cce6" mac : [router] nat_addresses : ["fa:16:3e:2d:6a:d1 10.0.0.198 is_chassis_resident(\"cr-lrp-e3780ea1-17a8-4040-9b97-8315ac51cce6\")"] options : {peer=lrp-e3780ea1-17a8-4040-9b97-8315ac51cce6} parent_port : [] requested_chassis : [] tag : [] tunnel_key : 3 type : patch up : false virtual_parent : [] ... Second Verification: Captured ARP packets on all interfaces of gateway controller (controller scheduled with highest priority), capture done similarly to tcpdump capture verification in core ovn BZ (comments 9-12) [1]. There was at least 1 minute of capture before and after load balancer creation. All ARP packets captured didn't contain IP addresses related to internal network/subnet of load balancer. [1] https://bugzilla.redhat.com/show_bug.cgi?id=2054394#c9 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.0 (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-2022:6543 |