charm-ovn-dedicated-chassis:stable/22.09

Last commit made on 2023-12-07
Get this branch:
git clone -b stable/22.09 https://git.launchpad.net/charm-ovn-dedicated-chassis

Branch merges

Branch information

Name:
stable/22.09
Repository:
lp:charm-ovn-dedicated-chassis

Recent commits

aaddc75... by Frode Nordahl

Make version pinning configurable

Add charm configuration option `enable-version-pinning` which
defaults to 'true' for the stable branches.

build.lock: Update pin set for PyYAML and Cython.

Closes-Bug: #2030944
Signed-off-by: Frode Nordahl <email address hidden>
Change-Id: Ie7c2bfd46af903a9023da5213add2dde0cd17690

ea04d86... by Dmitrii Shcherbakov

Handle deferred stops

The ovs package in kinetic+ (zed+) uses dh_installsystemd with
--no-start for ovsdb-server, ovs-vswitchd, and ovs-record-hostname.
this results in stop events rather than restart events. This
change updates the restart-services actions for this charm to
handle stop events.

Closes-Bug: #2012553
Change-Id: If1dd5d0e5ca640a91893376366b23e78649d5772
(cherry picked from commit bc15fdac16609d486ad2a16bc7fdfda769f15003)

ae2e95e... by Frode Nordahl

tox.ini: Fixup

Remove pins.

Properly format passenv list.

Drop the outer tox.ini func-target hack.

Drop the incepted tox in src/test-requirements.txt.

Drop pip.sh script.

Change-Id: I25dec5d1853a5aeb686df353d7c661f4a6eb5b69
(cherry picked from commit fa3721f369b357e6bb4a90fb605a429d4445b7ad)

12f7400... by Alex Kavanagh

Updates for stable/22.09 branch creation

- Set default branch for git review/gerrit.
- Switch tests to stable.
- Switch to using stable charm-helpers branch.
- Switch to using stable charm.openstack branch.
- Switch to using stable zaza, zaza-openstack-tests
  branch
- (reactive charms) Add build.lock file

Change-Id: I9634aa8f744a5e4a6bb6cdd635cfe9097c8271d3

9bb84a0... by Frode Nordahl

Fix description of ovn-source configuration option

The current description erronously refers to 'focal-ovn-22.03' as
a valid value, while the correct value is 'cloud:focal-ovn-22.03'.

Closes-Bug: #1992592
Change-Id: I569e03aba227f488aa5199b48b9cf6fa67d382df

8e47acd... by Frode Nordahl

Use charmcraft reactive plugin for build

Charmcraft 2.1 provides the required functionality to build the
charm using the reactive plugin.

Add missing `kinetic` series in src/metadata.yaml.

Drop the `build-rective` target, old charm-tools environment
variables and redundant minversion in tox.ini.

Fixup the bases configuration and make associated changes to test
bundles.

Change-Id: I559e49ab80ca6de8b42192e1b961448a4522ce86

3c061a7... by Frode Nordahl

Fix issues with charm and payload upgrade

Commit 1bdca14 added support for using the UCA
focal-ovn-22.03 pocket by default for new deployments on Focal.

Unfortunately the change missed some required changes for this
to work end to end.

Ensure charm works on Focal without any UCA pocket with the
`openstack-release` package already intalled. The behavior
of `charms.openstack` is quite different dependning on whether
that information is available or not.

Ensure charm is able to detect availability of and to perform
payload upgrade on change of source.

Ensure charm does not attempt payload upgrade on charm upgrade.
When upgrading from a charm that does not have the `ovn-source`
configuration option, the reactive automatic flag
`config.changed.ovn-source` will fire even though it has not
changed. Clear the flag in upgrade-charm hook.

Also drop bespoke reactive handler for change of source.

The layer change in openstack-charmers/charm-layer-ovn#73 adds
handling for the `source` and `ovn-source` configuration options,
as a consequence, the bespoke handler in this charm needs to be
removed.

Closes-Bug: #1991319
Change-Id: I5dd49c5ee0af741536fc1a2974d25f8521c5a581

d901631... by Corey Bryant

Ensure build continues if src directory exists

This change also aligns the entry point with openstack charms.
For example:
https://review.opendev.org/c/openstack/charm-cinder-lvm/+/859408

Also fix ppc64el and s390x build failure.

Closes-Bug: #1991128
Change-Id: I614f464896ba1466e37764a628a2b9fe69b51277

edc50eb... by Frode Nordahl

Default to OVN 22.03 for fresh deployments on Focal

Add `ovn-source` configuration option which should be used in
addition to the `source` configuration option.

The default of the `ovn-source` configuration option is
determined at runtime based on whether the end user has provided
config, whether its a fresh or upgraded charm deployment and which
series it is deployed on.

Change-Id: I3d55bafb598339b0b69ad0d65473d79bf9cdbe4c

da3d9ad... by Zuul <email address hidden>

Merge "Add Kinetic and Zed support"