charm-ovn-dedicated-chassis:stable/23.03

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

Branch merges

Branch information

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

Recent commits

5e291d2... 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: I0d4351bc447516167d20d0febc28c221a39dcd62

2a1dae7... by Alex Kavanagh

OVN 23.03 stabilisation

This patch locks down the OVN charm on the stable/23.03 branch and uses
other stable artefacts to build and test the charm.

Change-Id: I520ce8c4194967448638030e35ddcec58a0a7185

4bcf39a... by Dmitrii Shcherbakov

Add Antelope support

* align testing with antelope
* add new antelope bundles
* add antelope bundles to tests.yaml
* add antelope tests to osci.yaml and .zuul.yaml
* update build-on and run-on bases

* Voting was turned on for jammy-antelope in the
  project-template for charm-functional-jobs in zosci-config
* Voting for jammy-antelope bundles with non-standard names
  is turned on in individual charms
* Kinetic-zed bundles/tests are removed

Change-Id: I1215592725d1941f214738ee86250c74a398ee9a

bc15fda... 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

fa3721f... 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

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