charm-magnum:stable/2023.1

Last commit made on 2023-09-08
Get this branch:
git clone -b stable/2023.1 https://git.launchpad.net/charm-magnum

Branch merges

Branch information

Name:
stable/2023.1
Repository:
lp:charm-magnum

Recent commits

d8aa737... by Jesper Schmitz Mouridsen

Add cluster-user-trust config option

Clusters created with the option cloud_provider_enabled or
registry_enabled set to true, or volumer_driver set to 'cinder' need
this flag set to True as well to instruct Magnum to assign trust to the
cluster user.

This option defaults to False due to security concerns (see
https://bugs.launchpad.net/bugs/cve/2016-7404 )

[0] https://docs.openstack.org/magnum/latest/user/index.html#cloud-provider-enabled

Closes-Bug: #1996237
Change-Id: I393030fa0da244ba5928482c8ef4e75e53f1a7b3
(cherry picked from commit 29260ddf8ae040e6319732a21ece4cca96196a5f)

dfb71f5... by Alex Kavanagh

[2023.1] Ensure get_requests_for_local_unit doesn't fail on incomplete relation

This is a rebuild/make sync for charms to pickup the fix in charmhelpers to fix
any inadvertant accesses of ['ca'] in the relation data before it is available
from vault in the certificates relation. Fix in charmhelpers is in [1].

[1] https://github.com/juju/charm-helpers/pull/825
Closes-Bug: #2028683

Change-Id: Idc21cf470293f2391d2945063bde73b8f83ea2c2

d5a4a19... by Felipe Reyes

Bump up Charm-helpers revision

Update src/build.lock to get the latest revision available in the
stable/antelope branch, among the most relevant patches are:

837a8b58 Support legacy cert requests (#799)
580c7764 Update Makefile to be consistent with CI (#777) (#795)
a2468260 Run CI on stable branches (#786) (#787)
ed014373 Update method for checking endpoint protocol (#769) (#775)

Change-Id: If238aa7b22d8f0fa7b3c75246632b425a9c8fee4

4b57ac9... by Alex Kavanagh

Stable artefacts for stable/2023.1 (antelope)

This patch is to lock the stable/2023.1 (antelope release) charms
down so that as much as possible.
In particular, this patch does:

- set the .gitreview to stable/2023.1
- lock zaza and zaza-openstack-tests to stable/antelope branches
- for reactive charms Add build.lock files to lock the layers
  and python modules used to build the charm.
- for ops framework charms, extract a pip freeze from the
  charmcraft container after building the charm to lock the
  modules used to build the charm.
- drop the kinetic bundles if the exist. (Note the updates to
  tests.yaml is in another batch (topic: antelope-voting)
- update the bundles so that they point to the antelope specific
  channels. e.g. 2023.1/edge for OpenStack charms, 23.03/edge for
  OVN charms, quincy/edge for Ceph charms and generally, the
  appropriate LTS Jammy branch for the various support charms.

Change-Id: I5ed5e7070cf76576a608550a3178b2224ff1b7b4

01ddf86... by Corey Bryant

Enable jammy-antelope voting and drop kinetic-zed tests

* 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
* Add libpython3-dev to allow the charm to be built. This
  fixes a missing dependency with Cython

Change-Id: Id8e23d885d2bed9a7ace4b6e71fad890fce5b425
(cherry picked from commit 82b425c9dd457df3e2bf45024a8a4c96c6f68ff6)

da74874... by Corey Bryant

Add Antelope support

* sync charm-helpers to classic charms
* change openstack-origin/source default to antelope
* 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

Change-Id: Ib29779bc9f2c3cf9b37f18d96295b866f4277d8a

6b24482... by Liam Young

Fix charm for tox4 compatibility

Related-Bug: 2002788
Change-Id: I963df45090bff9dc27fc2cc70ce6eb34ff0a94db

c6287fc... by Corey Bryant

Add Kinetic and Zed support

* sync charm-helpers to classic charms
* change openstack-origin/source default to zed
* align testing with zed
* add new zed bundles
* add zed bundles to tests.yaml
* add zed tests to osci.yaml and .zuul.yaml
* update build-on and run-on bases
* add bindep.txt for py310
* sync tox.ini and requirements.txt for ruamel
* use charmcraft_channel 2.0/stable
* drop reactive plugin overrides
* move interface/layer env vars to charmcraft.yaml

Change-Id: I0776bad299d133b61dc8e2941c40eeb572f5af78

e194546... by Alex Kavanagh

Updates to enable jammy and finalise charmcraft builds

- Add 22.04 to charmcraft.yaml
- Update metadata to include jammy
- Remove impish from metadata
- Update osci.yaml to include py3.10 default job
- Modify tox.ini to remove py35,py36,py37 tox target and add py310
  target.
- ensure that the openstack-origin is yoga
- pin setuptools < 50.0 in src/wheelhouse.txt

Change-Id: I8f8cfc878f3a47df3842d0541f1727864845ad67

69ddf12... by Alex Kavanagh

Update to build using charmcraft

Due to a build problem with the reactive plugin, this change falls back
on overriding the steps and doing a manual build, but it also ensures
the CI system builds the charm using charmcraft. Changes:

- add a build-requirements.txt
- modify charmcraft.yaml
- modify osci.yaml
    -> indicate build with charmcraft
- modify tox.ini
    -> tox -e build does charmcraft build/rename
    -> tox -e build-reactive does the reactive build
- modify bundles to use the <charm>.charm artifact in tests.
  and fix deprecation warning re: prefix
- tox inception to enable tox -e func-test in the CI

Change-Id: If2788f63ccfa9724e06ba37c007f4168ed6f5ac3