charm-ovn-chassis: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-chassis

Branch merges

Branch information

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

Recent commits

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

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

4d7a3ae... 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: Id5b6d10f8da926529acf42ad29721b100a3aa001

369a28f... by Zuul <email address hidden>

Merge "Add docs key and point at Discourse" into stable/22.03

0aa27a4... by Frode Nordahl

Add DPDK low level gate tests

Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/1083
Closes-Bug: #2007996
(cherry picked from commit 0d42eb2b0c4a1030c18165b559bb4e422a0a9a28)
(cherry picked from commit 121d2571dd8b91355bd2ae19a178e0ea46179657)
Change-Id: I10685e32f431fc9b51444608135e8810df9cf7dd

8097c78... 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: If412e6aa466f4f7ec61ff1ca02cc79869c9c9fde

c1f9627... by Frode Nordahl

[stable/22.03] build.lock: pin attrs

The attrs package is an indirect dependency currently not covered
by the build.lock. Recently upstream has moved along and
introduced new dependencies currently not present in the
wheelhouse leading to install failures such as:

    Processing ./wheelhouse/attrs-23.1.0.tar.gz
      Installing build dependencies: started
      Installing build dependencies: finished with status 'error'
       error: subprocess-exited-with-error

       × pip subprocess to install build dependencies did not run successfully.
       │ exit code: 1
       ╰─> [3 lines of output]
           Looking in links: wheelhouse
           ERROR: Could not find a version that satisfies the requirement hatchling (from versions: none)
           ERROR: No matching distribution found for hatchling
           [end of output]

       note: This error originates from a subprocess, and is likely not a problem with pip.
     error: subprocess-exited-with-error

     × pip subprocess to install build dependencies did not run successfully.
     │ exit code: 1
     ╰─> See above for output.

Add `attrs` to the locked set.

Change-Id: I2d0f2f1e27fe77418ad87f5c4dfdb46c96926095

7eeaad4... 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: Ibeba4a77a6a85329062d8714f6ccd8fe8ab48cd8

52c4614... 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: Ifade9cd2720bd85a6cc2c77e161dd7e4bd65f2eb

979a5ac... 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