Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2305743

Summary: even after RHOSP 16.2.6 update, OVN Octavia port still loses its "virtual" type after port update
Product: Red Hat OpenStack Reporter: Flavio Piccioni <fpiccion>
Component: python-networking-ovnAssignee: Fernando Royo <froyo>
Status: CLOSED DUPLICATE QA Contact: Eran Kuris <ekuris>
Severity: high Docs Contact:
Priority: high    
Version: 16.2 (Train)CC: apevec, jlibosva, lhh, majopela, scohen
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-08 09:51:00 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 Flavio Piccioni 2024-08-19 13:20:36 UTC
Description of problem:
even after updating the platform to 16.2.6, customer is still hitting this (or a similar one) upstream bug: 
https://bugs.launchpad.net/neutron/+bug/1973276

Version-Release number of selected component (if applicable):
RHOSP 16.2.6 + OVN

How reproducible:
- 100% of times failovering a LB
- not 100% of times creating a new LB


Steps to Reproduce:
1. create a LB

8<------------8<------------8<------------8<------------8<------------8<------------8<------------
openstack loadbalancer amphora list | grep 3b6265d4-074c-456c-9ca2-ee8e465ebd06
| 24b5e77a-a946-4056-a163-36ecb95cc2c7 | 3b6265d4-074c-456c-9ca2-ee8e465ebd06 | ALLOCATED | MASTER | {member_iP}  | {vip_ip}  |
| 97906853-4d69-4d73-9123-8f7de38b21a6 | 3b6265d4-074c-456c-9ca2-ee8e465ebd06 | ALLOCATED | BACKUP | {member_iP} | {vip_ip}  |

 openstack loadbalancer show  3b6265d4-074c-456c-9ca2-ee8e465ebd06 | grep vip_port_id
| vip_port_id         | 5dd1c336-726a-483c-8ec5-b19820d979d1     

8<------------8<------------8<------------8<------------8<------------8<------------8<------------


2. failover it

3. verify using

8<------------8<------------8<------------8<------------8<------------8<------------8<------------
podman exec $(podman ps -f name=ovn-dbs -q) ovn-nbctl --columns addresses,type,name,up find logical_switch_port 'external_ids:"neutron:device_owner"=Octavia' | grep -B2 -A1 "5dd1c336-726a-483c-8ec5-b19820d979d1"
addresses           : ["{hw_addr} {vip_ip}"]
type                : ""
name                : "5dd1c336-726a-483c-8ec5-b19820d979d1"
up                  : false
8<------------8<------------8<------------8<------------8<------------8<------------8<------------

Actual results:
sometimes OVN Octavia ports lose their "virtual" type after port update


Additional info:
considering BZ 2126055 [0], customer already update to RHOSP 16.2.6 in order to get this fixed.



[0] https://bugzilla.redhat.com/show_bug.cgi?id=2126055

Comment 2 Fernando Royo 2024-11-08 09:51:00 UTC

*** This bug has been marked as a duplicate of bug 2282209 ***