charm-ovn-chassis:stable/22.09

Last commit made on 2024-04-25
Get this branch:
git clone -b stable/22.09 https://git.launchpad.net/charm-ovn-chassis

Branch merges

Branch information

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

Recent commits

9b63bf0... by Edward Hope-Morley

Rebuild to pull in charm-helpers change

The change this pulls in ensures that when service_resume is called (which
happens on every update-status hook), services are only enabled and started if
they are disabled and stopped respectively.

Related-Bug: #2058505
Change-Id: I2e42dd30066f5a099c97e7504fcdc6138c4a7496

b682697... by Edward Hope-Morley

Add ovn cert nrpe check

Certs are root readable so we use a cron job to perform
the check and save state for an nrpe check to read and
send back to nagios.

Closes-Bug: #1979539
Change-Id: Ia6df3fc2e3bc0d64ef2128ed65959a5d2d9b3d62
(cherry picked from commit fec04c22a84e5be8867712f3c925efef69d64d70)
(cherry picked from commit 9c670651d81c50ede859f26ca0547497be0cba3b)
(cherry picked from commit f64ca7dac00db70a091a36c0a1e45d51a8e01d17)

dd93ab2... 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: If861276435e08731d4a97cc2d86ee5a2dbb85a23

3a3acb2... by Liam Young

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.

Change-Id: I947f6eb6f74c35d3b3f0786ec7a5274709558e17
Closes-Bug: #2012553

24e0f4c... 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 6fe60012e5080c68c1bf1820c52dcf89b51224f9)

8f25774... by Felipe Reyes

Update lock of layer-ovn

The commit 4562fbb1320ec18e32a4b99e390b70c1c597cffa brings in the
following commits:

4562fbb Merge pull request #79 from openstack-charmers/hwol-config-description
a6dd5f5 Enable strict confinement for the ovs exporter (#80)
0597e4e config/description: Drop experimental status for hardware offload

Change-Id: Icbf5d8d667edbd8abdd2fe8d9cb2a869b1962dfa

edfeb05... 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: I40e3be82b38659b6c6c4fe2fbba2464103714ac6

745deaf... 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: I70d2d9715436113c095c4afd2fc1781d7a65b154

f702b42... 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: I06056b264d53df1fff537953e3e7019a94f70978

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

Closes-Bug: #1991319
Change-Id: Ia653291632e37a8d9448f05f05d585b36b1b6647