charm-cinder-lvm:stable/train

Last commit made on 2023-01-13
Get this branch:
git clone -b stable/train https://git.launchpad.net/charm-cinder-lvm

Branch merges

Branch information

Name:
stable/train
Repository:
lp:charm-cinder-lvm

Recent commits

c085d68... 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: I58aed75d822d0bd91ee1a6b9fb7d241f01b95ba4

f528bb3... by Alex Kavanagh

Pin build.lock for all layers to the commit hash

The build.lock branch points to master which means that the layer is not
locked. Lock the layers to the commit hash instead; this ensures
reproducible builds as much as possible.

Change-Id: Ide8c01c3789679646320d78b65bb2e3f4577dba8

d949a0c... by Alex Kavanagh

Charmhub migration for stable/train (bionic-only)

This is the main patch for the migration of the stable/21.10
charm to charmhub for the stable/train branch (train track on
charmhub). This patch initially supports bionic from queens
to train, and does not support ussuri. It supports upgrades
from bionic-queens to bionic-train (with each intermediate
step needed). Crucially it does NOT set a default
openstack-origin, which means installing train/stable
without specifying the openstack-origin will result in a
bionic-queens installation. This is intentional as the branch
covers queens to train.

Change-Id: Iea29ac2320509ba3e7cdcec92b7c0981c426e44d

ad649e4... by Alex Kavanagh

21.10 - Release

Remove the "channel: candidate" from the func-test
bundles.

Change-Id: I5057a54bd4e455948c3408e11d5599d691452ecf

8027546... by Alex Kavanagh

Fix build.lock file so that charm builds

Due to https://github.com/juju/charm-tools/issues/606 the build.lock
contained the wrong branch info. This fixes it to stable, and will
allow it to push.

* Also add cffi pin for py35 for charm-tools build support.

Change-Id: I278fa07c38d58cb29bbe81e4ad6fdd0901600f0a

b20f7af... by Alex Kavanagh

21.10 - Stable cut of charms for testing period

* use stable/21.10 libraries
* use zaza/zaza-openstack-tests at stable/21.10
* build.lock files for reactive charms
* bundles refer to ~openstack-charms candidate channel

Change-Id: Ibc64fab6d4c057bef2b06ccdcb13ae11f4d8f98d

57694e3... by Zuul <email address hidden>

Merge "Add the 'volume-group' and 'backend-name' config parameters"

123d381... by Billy Olsen

Mark the LVM backend as stateful rather than stateless

The cinder-lvm charm was registering the backend configuration with the
principal charm as stateless when it is indeed stateful. Change
I249ce179cfdaf2394ee4e8481a8c9644d667ea99 introduced the cluster
configuration for the cinder service which causes backend drivers which
are not properly marked as stateful to fail. Correct the stateless value
in the charm to indicate this.

Closes-Bug: #1946401
Change-Id: I2ae47f84bc09bd3d5b83d8a1d69ca32183d43ac6
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/651

8dc8771... by Luciano Lo Giudice

Add the 'volume-group' and 'backend-name' config parameters

In order to ease transition into cinder-lvm, we need these 2 parameters
so that the new charm can be configured with the exact same names as
what cinder was using, avoiding any potential data loss and without
the need for workarounds such as playing with the 'alias' or 'overwrite'
configuration options.

Change-Id: I720cbd4359f4c4e9e271b68dff13d62ad1ee684c
Closes-Bug: #1946037

14fa102... by Luciano Lo Giudice

Curate the cinder-lvm charm

This patchset does the following things:
- Implements the unit tests.
- Standardizes the charm, adding the needed files and moving
  pre-existing ones into the correct directories.
- Implements the bundles for functional tests.
- Documents the charm's functionality.
- Updates the requirements for tests and other targets.

Change-Id: I23e2882486a96c0c07cd8393745ffa2b244191a1
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/626