charm-ovn-central:stable/22.03

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

Branch merges

Branch information

Name:
stable/22.03
Repository:
lp:charm-ovn-central

Recent commits

633d78b... by Edward Hope-Morley

Use SSL compatible service status check

Override the layer_ovn method used to check if services
are running so that we can use SSL connections instead
of netcat since the latter causes problems with
ovsdb-server due to connections not being closed
properly.

Closes-Bug: #1920770
Change-Id: I6b2c09c643c6fddfb48dc15d6272e58303fae265
(cherry picked from commit fafa6d418afe04d9b79326a621091d9d6c5f74f4)
(cherry picked from commit 05722e0fbc9474c98c373a589c4f86116cdd9b23)
(cherry picked from commit 0a7904fba22b196a9f2484f4d55bc6f98b5a71fb)
(cherry picked from commit 202684c9f70373bb3531653e134fcfababebb9fb)

82e93d3... by Zuul <email address hidden>

Merge "Add ovn cert nrpe check" into stable/22.03

4be24bb... by Jadon Naas

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.

Change-Id: Ie72ba89c3afe22f977efe35c56c7796b272e07cd
(cherry picked from commit 171c39b1e2edebffbce1fbc20d41514c80f7e660)

2a5157b... 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: I7c7cd238ddf3fd9f92bfa5879d19d78c091cf2ac
(cherry picked from commit e3502b2c9c5f65ee8c0f3ed1aff8ef66c94de2f1)

cbc01e7... by Martin Kalcok

Don't mask OVN service during charm upgrade.

Closes-Bug: #2007847
Change-Id: Icdd8502fa4c176ffc8cc8a0446dd150048d78dd1
(cherry picked from commit db9216084f321a644453a164e8820d4bb1f245d6)

a4173d9... by Corey Bryant

Pin tox to < 4.0.0

Tox 4.0.0 was recently released and it has several breaking changes.
We pin to < 4.0.0 here. We are planning to move forward only on the
master charm branches.

Tox is also pinned to < 4.0.0 for stable branches in upstream
openstack-zuul-jobs as well as in zosci-config. However, the
requires= section in the charm's tox.ini file ends up installing
tox>4, wiping out the zuul-pinned tox<4 that was already installed
installed. This patch fixes that.

Related-Bug: #2002788
Change-Id: Iccf647c1def8fc97f722cae3f204fe3f94b13c8e

cdb140f... 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: Ia391dac80787ed5f271274abccca2c19b6d845c4
(cherry picked from commit 565c1425c796896cb080f1441b3f96ee7b3df078)

400e0dc... by Frode Nordahl

Perform rolling upgrade of payload

Make use of the coordinator layer to ensure payload upgrades
happen at one unit at a time, starting with the charm leader.

Closes-Bug: #1902562
Change-Id: I6abc20651ba6f81172b0193d22fdde23e6d38ed0
(cherry picked from commit 8f521963c992c56b62d7990ff48b6684d9c72d7e)

bbb6e25... by Frode Nordahl

Fix issues with charm and payload upgrade

Commit f049e91ea95 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 installed. 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: Ib7760bd6fc659ec8f2be65f1e00cac860f6943e6

2a27644... by Frode Nordahl

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

This reverts commit eec1bc39df45dec86d6a94520b4b97c1b81a863e.

Reason for revert: Restore the parent cherry-pick again.

Change-Id: I3d2be6c63c6d44eba61b0622ebb0fb8d869d456c