Description of problem: In RHOSP 16.1.3 with Octavia-OVN+DVR, OCP deployments with Kuryr SDN might fail because of stale logical router port entries in OVN on subsequest CREATE/DESTROY OCP cluster operations. Version-Release number of selected component (if applicable): RHOSP 16.1.3 Neutron ML2/OVN How reproducible: Randomly Steps to Reproduce: 1. Create and destroy OCP with Kuryr deployments on OSP. Actual results: Neutron doesn't cleanup all the logical router ports in OVN before deleting in Neutron DB. Expected results: Neutron should cleanup all the logical router ports in OVN before deleting in Neutron DB Additional info:
This is proactive escalation case, it's highlighted the customer has issue when OCP 4.x Deployment on OSP 16.x and would like your attention to look into it and help providing observation and update. Escalation flag is set. Thank you.
*** Bug 1940870 has been marked as a duplicate of this bug. ***
Hi, I've added a fix upstream for this issue at: https://review.opendev.org/c/openstack/neutron/+/782551. Once merged, I will work on backporting it to the stable branches. As a workaround for this problem, the stale Logical_Router_Port entry could be manually deleted from the OVN NB database with the following command: $ ovn-nbctl lrp-del lrp-<Neutron router port UUID> Cheers, Lucas
Checked with Openshift on Openstack RHOS-16.1-RHEL-8-20210727.n.1 4.8.0-0.nightly-2021-07-29-020730 After each Openshift deletion I ran neutron-ovn-db-sync-util --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini --ovn-neutron_sync_mode log and checked that the command didn't resulted with errors and reinstalled Openshift again
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 16.1.7 (Train) 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-2021:3762