[ovn]Router scheduler failing for config "default_availability_zones"

Bug #1938261 reported by ZhouHeng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Unassigned

Bug Description

I have 3 gateway chassis and all available zones are nova, have 1 chassis.
The default_availability_zones=zone1 are configured in the neutron.conf.

I create router and not set availability_zone_hits, I can create router success and router's availability_zones=zone1, though ovn-nbctl command, can found router's gateway_chassis include all chassis(4 nodes).

I think should fail in this case, indicating that the available_zone does not exist.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/802665

Changed in neutron:
status: New → In Progress
tags: added: ovn
Changed in neutron:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/802665
Committed: https://opendev.org/openstack/neutron/commit/7988ab5df0eb0799811d50eb90f0b292d008f700
Submitter: "Zuul (22348)"
Branch: master

commit 7988ab5df0eb0799811d50eb90f0b292d008f700
Author: zhouhenglc <email address hidden>
Date: Wed Jul 28 15:25:39 2021 +0800

    "default_availability_zones" need to be considered when validate az

    If not set availability_zone_hits when create router, should use
    configuration parameter default_availability_zones.
    At present, only the creation parameters are validate, and the default
    availability zones not validate.
    Creating a network is the same as creating a route.

    Closes-bug: #1938261

    Change-Id: I1c7f50b69a31d725b762e3061f09a0bd5b077a58

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 19.0.0.0rc1

This issue was fixed in the openstack/neutron 19.0.0.0rc1 release candidate.

tags: added: neutron-proactive-backport-potential
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.