Bug 2209090 - Change default neutron gateway port scheduler behavior to deny scheduling to an empty AZ
Summary: Change default neutron gateway port scheduler behavior to deny scheduling to ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-networking-ovn
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: z6
: 16.2 (Train on RHEL 8.4)
Assignee: Rodolfo Alonso
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On: 2195898 2209100
Blocks: 2209092 2218465
TreeView+ depends on / blocked
 
Reported: 2023-05-22 15:17 UTC by Ihar Hrachyshka
Modified: 2023-11-08 19:19 UTC (History)
25 users (show)

Fixed In Version: python-networking-ovn-7.4.2-2.20220409154881.el8ost
Doc Type: Enhancement
Doc Text:
This update improves the way that the L3 scheduler handles OVN logical router port (LRP) assignments that cannot be correctly completed because there are no gateway chassis available in the availability zone (AZ). + Previously, if you attempted to assign an LRP to an AZ that did not have a gateway chassis, the L3 scheduler incorrectly assigned the LRP to a random set of chassis. + Now the L3 scheduler writes a warning to the logs and assigns the port to a chassis with the warning label “neutron-ovn-invalid-chassis”. There are no changes to existing LRP-to-chassis assignments.
Clone Of: 2195898
: 2209092 (view as bug list)
Environment:
Last Closed: 2023-11-08 19:18:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 2019217 0 None None None 2023-05-29 14:47:00 UTC
OpenStack gerrit 884323 0 None MERGED [OVN] The L3 scheduler does not use all chassis by default 2023-09-18 07:52:46 UTC
Red Hat Issue Tracker OSP-25247 0 None None None 2023-05-22 15:21:05 UTC
Red Hat Product Errata RHBA-2023:6307 0 None None None 2023-11-08 19:19:28 UTC

Comment 11 Vadim Khitrin 2023-10-08 08:06:14 UTC
Compose `RHOS-16.2-RHEL-8-20231005.n.3` includes the container with this RPM.

Comment 15 Vadim Khitrin 2023-10-15 12:57:16 UTC
I can confirm that I can reproduce this log message, verified on compose `RHOS-16.2-RHEL-8-20231005.n.3`:
```
# Modify OVN GW
ovs-vsctl set Open_vSwitch . external-ids:ovn-cms-options="enable-chassis-as-gw,availability-zones=zoneTEST"
# Create a router in a particular zone
openstack --os-cloud overcloud router create --availability-zone-hint zone2 TEST_ROUTER
# Assign external gateway
openstack --os-cloud overcloud router set --external-gateway 150973cb-cfbc-4bf2-950a-dfd978baa362 TEST_ROUTER
# Message is logged
neutron/server.log:2023-10-15 12:50:33.370 29 WARNING networking_ovn.l3.l3_ovn_scheduler [req-8c40c7cb-f436-4bd4-87d6-9cb71fe1a5bf 89a9956befa641fdb163e4121aedc4c9 b0bc95baedb840bd90d784ea9da96584 - default default] Gateway lrp-60fd73ed-7719-44c9-bbed-5bc7db14cac4 was not scheduled on any chassis, no candidates are available
```

Comment 21 errata-xmlrpc 2023-11-08 19:18:36 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.2.6 (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-2023:6307


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