[RFE] Add support for per-application or per-unit choice of whether unit(s) should be eligible for scheduling gateways

Bug #1908377 reported by Frode Nordahl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-ovn-chassis
Fix Released
High
Frode Nordahl

Bug Description

At present the charm will mark every chassis with valid bridge mappings as being eligible to host gateways by setting the `external_ids:ovn-cms-options=enable-chassis-as-gw` attribute in the Open_vSwitch table.

In some circumstances you may want to influence this regardless of bridge mapping configuration so it would be useful to be able to set this through application configuration or unit-level actions.

Tags: ps5
Frode Nordahl (fnordahl)
Changed in charm-ovn-chassis:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Frode Nordahl (fnordahl)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ovn-chassis (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/x/charm-ovn-chassis/+/799674

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ovn-chassis (master)

Reviewed: https://review.opendev.org/c/x/charm-ovn-chassis/+/799674
Committed: https://opendev.org/x/charm-ovn-chassis/commit/857fa870246165ce93088688bb8a8f877ccfaaf5
Submitter: "Zuul (22348)"
Branch: master

commit 857fa870246165ce93088688bb8a8f877ccfaaf5
Author: Frode Nordahl <email address hidden>
Date: Tue Jul 6 15:43:22 2021 +0200

    Add prefer-chassis-as-gw configuration option

    By default the CMS will schedule HA chassis groups across all
    chassis with bridge- and bridge interface mappings configured.

    This configuration option would allow you to influence where
    gateways are scheduled when all units have equal bridge- and
    bridge interface mapping configuration.

    Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/599
    Closes-Bug: #1908377
    Closes-Bug: #1934678
    Related-Bug: #1848757
    Change-Id: I52f37a512fccbb3a025ffef81fcecb69fa169792

Changed in charm-ovn-chassis:
status: In Progress → Fix Committed
Changed in charm-ovn-chassis:
milestone: none → 21.10
Changed in charm-ovn-chassis:
status: Fix Committed → Fix Released
Revision history for this message
Edward Hope-Morley (hopem) wrote :

The actual commit containing the change that is synced into this charm can be found at https://github.com/openstack-charmers/charm-layer-ovn/commit/87d5f5750925f4b8ead60330c7ad61667c7e0c0c

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.