Reviewed: https://review.opendev.org/753302 Committed: https://git.openstack.org/cgit/openstack/ovn-octavia-provider/commit/?id=76b20882aa9fef3c693e45c2b504224a44e84ce8 Submitter: Zuul Branch: master
commit 76b20882aa9fef3c693e45c2b504224a44e84ce8 Author: Brian Haley <bha...@redhat.com> Date: Tue Sep 22 08:34:29 2020 -0400 Fix the check for allowed_cidrs in listeners The allowed_cidrs value could be an empty list if the request involves the sdk, so change the check to account for that. Change-Id: I2df7e5a944cbd40c60943ad105f6e09f7afa85a9 Closes-bug: #1896603 ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1896603 Title: ovn-octavia-provider: Cannot create listener due to alowed_cidrs validation Status in neutron: Fix Released Bug description: Kuryr-Kubernetes tests running with ovn-octavia-provider started to fail with "Provider 'ovn' does not support a requested option: OVN provider does not support allowed_cidrs option" showing up in the o-api logs. We've tracked that to check [1] getting introduced. Apparently it's broken and makes the request explode even if the property isn't set at all. Please take a look at output from python-openstackclient [2] where body I used is just '{"listener": {"loadbalancer_id": "faca9a1b- 30dc-45cb-80ce-2ab1c26b5521", "protocol": "TCP", "protocol_port": 80, "admin_state_up": true}}'. Also this is all over your gates as well, see o-api log [3]. Somehow ovn-octavia-provider tests skip 171 results there, so that's why it's green. [1] https://opendev.org/openstack/ovn-octavia-provider/src/branch/master/ovn_octavia_provider/driver.py#L142 [2] http://paste.openstack.org/show/798197/ [3] https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_4ba/751085/7/gate/ovn-octavia-provider-v2-dsvm-scenario/4bac575/controller/logs/screen-o-api.txt To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1896603/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp