Bug 2254994 - Maintenance task for OVN LB HM ports failing
Summary: Maintenance task for OVN LB HM ports failing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-ovn-octavia-provider
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: z3
: 17.1
Assignee: Fernando Royo
QA Contact: Bruna Bonguardo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-18 11:30 UTC by Fernando Royo
Modified: 2024-05-22 20:39 UTC (History)
10 users (show)

Fixed In Version: python-ovn-octavia-provider-1.0.3-17.1.20231025110806.el9ost
Doc Type: Bug Fix
Doc Text:
This update fixes a bug that caused unintended deletion of Load-balancing service (octavia) health monitor ports and OVN metadata ports. + Before this update, in RHOSP environments that used Load-balancing service health monitor ports from a previous version, running `neutron-db-sync-tool` sometimes randomly deleted those pre-existing ports or OVN metadata ports. This unintended port deletion resulted in loss of health monitor capacity or communication loss with the affected instances. + This update resolves the conflicts. It uses a new value, `ovn-lb-hm:distributed`, for the OVN Load-balancing service health monitor ports `device_owner` field. Old OVN Load-balancing service health monitor ports are automatically updated with this version.
Clone Of:
Environment:
Last Closed: 2024-05-22 20:39:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 2046457 0 None None None 2023-12-18 11:33:42 UTC
OpenStack gerrit 903867 0 None MERGED [stable-only] Fix ovn-lb-hm maintenance task 2024-03-14 12:14:38 UTC
Red Hat Issue Tracker OSP-30920 0 None None None 2023-12-18 11:32:05 UTC
Red Hat Product Errata RHBA-2024:2741 0 None None None 2024-05-22 20:39:56 UTC

Description Fernando Royo 2023-12-18 11:30:07 UTC
Description of problem:
Maintenance task to update the existing ovn-lb-hm-ports to the new device_owner has been created and backported due to the main issue was related to neutron-db-sync-tool. 

Neutron changes and ovn-provider code base are correct but an error on the backporting of the maintenance task path has been detected on 17.1 last puddle.

Basically the maintenance tasks is doing some calls according to openstacksdk client syntax and 17.1 branches for the ovn-provider code is still using neutronclient. 

How reproducible:
See logs of octavia-driver-agent to see the error periodically when the maintenance task is executed.

Actual results:
Existing OVN LB HM ports will not be updated to the new device_owner value due to the failing maintenance task execution.

Expected results:
Existing OVN LB HM ports will be updated to the new device_owner.

Comment 19 errata-xmlrpc 2024-05-22 20:39:54 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 (Red Hat OpenStack Platform 17.1.3 bug fix and enhancement advisory), 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/RHBA-2024:2741


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