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

Bug 1934760

Summary: Provider 'ovn' does not support a requested option: Subnet is required for Member creation with OVN Provider Driver
Product: Red Hat OpenStack Reporter: Priscila <pveiga>
Component: python-networking-ovnAssignee: Luis Tomas Bolivar <ltomasbo>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: apevec, lhh, ltomasbo, majopela, njohnston, oschwart, scohen
Target Milestone: z9Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-networking-ovn-7.3.1-1.20220222114301.4e24f4c.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-07 20:24:45 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 Priscila 2021-03-03 19:13:49 UTC
Description of problem:

Provider 'ovn' does not support a requested option: Subnet is required for Member creation with OVN Provider Driver

https://storyboard.openstack.org/#!/story/2007954
https://bugs.launchpad.net/neutron/+bug/1896677



Version-Release number of selected component (if applicable):

Red Hat OpenStack Platform release 16.1.3 GA (Train)

/rhosp-rhel8/openstack-octavia-worker:16.1              kolla_start           5 weeks ago   Up 6 days ago         octavia_worker
/rhosp-rhel8/openstack-octavia-housekeeping:16.1        kolla_start           5 weeks ago   Up 6 days ago         octavia_housekeeping
/rhosp-rhel8/openstack-octavia-health-manager:16.1      kolla_start           5 weeks ago   Up 6 days ago         octavia_health_manager
/rhosp-rhel8/openstack-octavia-api:16.1                 kolla_start           5 weeks ago   Up 6 days ago         octavia_driver_agent
/rhosp-rhel8/openstack-octavia-api:16.1                 kolla_start           5 weeks ago   Up 6 days ago         octavia_api


How reproducible: Always

Steps to Reproduce:

0. In OCP/Kuryr

1. In the kuryr-controller logs there are many messages with the content:
2021-02-25 13:20:41.954 1 WARNING urllib3.connectionpool [-] Connection pool is full, discarding connection: overcloud.internal.adcubum.com: queue.Full

2. We found Neutron being slow transitioning the ports to ACTIVE and kuryr cni needs to wait for that before completing the CNI ADD requests.

3. Then looking octavia logs in controller-0 (OSP) there is the problem:

Server-side error: "Provider 'ovn' does not support a requested option: Subnet is required for Member creation with OVN Provider Driver". Detail: 
Traceback (most recent call last):

  File "/usr/lib/python3.6/site-packages/octavia/api/drivers/utils.py", line 55, in call_provider
    return driver_method(*args, **kwargs)

  File "/usr/lib/python3.6/site-packages/networking_ovn/octavia/ovn_driver.py", line 2112, in member_create
    operator_fault_string=msg)

octavia_lib.api.drivers.exceptions.UnsupportedOptionError: Subnet is required for Member creation with OVN Provider Driver


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/usr/lib/python3.6/site-packages/wsmeext/pecan.py", line 85, in callfunction
    result = f(self, *args, **kwargs)

  File "/usr/lib/python3.6/site-packages/octavia/api/v2/controllers/member.py", line 196, in post
    lock_session.rollback()

  File "/usr/lib/python3.6/site-packages/oslo_utils/excutils.py", line 220, in __exit__
    self.force_reraise()

  File "/usr/lib/python3.6/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
    six.reraise(self.type_, self.value, self.tb)

  File "/usr/lib/python3.6/site-packages/six.py", line 675, in reraise
    raise value

  File "/usr/lib/python3.6/site-packages/octavia/api/v2/controllers/member.py", line 191, in post
    driver.name, driver.member_create, provider_member)

  File "/usr/lib/python3.6/site-packages/octavia/api/drivers/utils.py", line 81, in call_provider
    prov=provider, user_msg=e.user_fault_string)

octavia.common.exceptions.ProviderUnsupportedOptionError: Provider 'ovn' does not support a requested option: Subnet is required for Member creation with OVN Provider Driver

Actual results: kuryr react too slow by assigning new ports in openstack


Expected results: No delays


Additional info:

More on the private

Comment 21 errata-xmlrpc 2022-12-07 20:24:45 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 16.1.9 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-2022:8795