charm-ovn-dedicated-chassis:stable/22.03

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

Branch merges

Branch information

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

Recent commits

0ee8307... 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: I3288917ae339312ab1365d17d217e5f228218a13

074a787... by Peter Matulis

Add docs key and point at Discourse

Add the 'docs' key and point it at a Discourse topic
previously populated with the charm's README contents.

When the new charm revision is released to the Charmhub,
this Discourse-based content will be displayed there. In
the absense of the this new key, the Charmhub's default
behaviour is to display the value of the charm's
'description' key.

Add charmhub-pop topic

Depends-On: https://review.opendev.org/c/x/charm-ovn-dedicated-chassis/+/895825
Change-Id: I7ac6283884e85c319a634e210da8972d49abff8c
(cherry picked from commit 1090b6e196f38f54c61cd13221da40941b4b8fb6)

b69973f... by Corey Bryant

Pin attrs to 22.2.0

This fixes an install hook failure for "ERROR: No matching
distribution found for hatchling".

22.2.0 is the most recent release of attrs that doesn't
require hatchling.

Closes-Bug: #2036619
Change-Id: I48e0d7030b557bdd173ad51ef3fcb2cc2e92724d

5f48398... by Frode Nordahl

[stable/22.03] Fix Traceback when changing interface in existing bridge

This bug was caused by missing commits on the stable c-h branch.

build.lock: Update commit hash pointer for charm-helpers, note
that this is a cosmetic pointer as the `--use-lock-file-branches`
arguments to charm-tools will make charm-tools use tip of branch.

Closes-Bug: #1998570
Change-Id: Icbd73a3e4d82ba165dc212ee7dcf1d6426d87602

d328958... by Frode Nordahl

Add bindep for CI Python dependencies and fix tox.ini

The opendev CI environment has recently transitioned to using
Ubuntu Jammy as the base OS for test runs.

A side effect of this transition is a change in some of the
dependencies for lint and unit tests.

tox.ini:
* 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: I9d52fa71ce98f6e77462d6f8ab52b62fd787c356

f98caaa... 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
(cherry picked from commit 9bb84a0f01eb9d66dc7458fb91548a76d5669246)

5ff09ae... by Frode Nordahl

Fix build lock for layers

Before this change the stable/22.03 branch requirements.txt points
to a version of charm-tools that does not correctly handle build
locking for layers.

Also clean up now redundant pins.

Related-Bug: https://github.com/juju/charm-tools/issues/605
Related-Bug: #1991319
Change-Id: Ib453b08d6b31f9d2a277e31f61f5fe9cffa94aa9

4db1008... 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
(cherry picked from commit 3c061a754e427d7ba285233bd7862f01450553d6)

4c9acaf... by Frode Nordahl

Revert "Default to OVN 22.03 for fresh deployments on Focal"

This reverts commit 280301ba3db4a374a4d29cb5ae5396238eb11807.

Change-Id: I980e3a0830539093cc9054bc8448328ce20d18d1
Closes-Bug: #1991319

280301b... 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
(cherry picked from commit edc50ebb466fe9913335c18f4f55406178d1bd44)