Bug 1934760 - Provider 'ovn' does not support a requested option: Subnet is required for Member creation with OVN Provider Driver
Summary: Provider 'ovn' does not support a requested option: Subnet is required for Me...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-networking-ovn
Version: 16.1 (Train)
Hardware: All
OS: Linux
medium
medium
Target Milestone: z9
: 16.1 (Train on RHEL 8.2)
Assignee: Luis Tomas Bolivar
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-03 19:13 UTC by Priscila
Modified: 2024-10-01 17:36 UTC (History)
7 users (show)

Fixed In Version: python-networking-ovn-7.3.1-1.20220222114301.4e24f4c.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-07 20:24:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1896677 0 None None None 2021-03-04 18:53:25 UTC
OpenStack gerrit 795896 0 None MERGED Support creating members without a subnet ID 2022-01-31 17:01:22 UTC
OpenStack gerrit 827051 0 None MERGED Support creating members without a subnet ID 2022-02-11 11:45:46 UTC
Red Hat Issue Tracker OSP-3474 0 None None None 2022-01-31 09:50:47 UTC
Red Hat Product Errata RHBA-2022:8795 0 None None None 2022-12-07 20:25:37 UTC

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


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