charm-cinder:stable/train

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

Branch merges

Branch information

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

Recent commits

51009e6... by Alex Kavanagh

[train] 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/832
Closes-Bug: #2028683

Change-Id: Ib2715ec0d915d44b98ca84f1fbefc358364f47fa

31b868e... by dongdong tao

Check if the newhost exists instead of currenthost

Closes-Bug: #1956470

Signed-off-by: Dongdong Tao <email address hidden>
Change-Id: I2b9eec030a5b0f6d9a405cecea29bef04eb72f5d
(cherry picked from commit 93dfc624d4325630dcbd3ba9d06c5f8d3f38845c)

ef88184... by Trent Lloyd

Pin tox to < 4.0.0, mock to < 5.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.

Also pin mock to < 5.0.0 to avoid it erroring out on some broken tests,
fixes for those tests are available in master but we can't backport
those properly until tox is fixed in the stable branches.

Related-Bug: #2002788
Change-Id: I819204efb7907e158c6000ef66095b9dd03a8473

0436af4... 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: Icf96f8d8ffdb8e797346df740d8b64fb5a4474ef

82bc1e2... by Nobuto Murata

Make sure iscsid has a unique InitiatorName

os_brick may require InitiatorName in /etc/iscsi/initiatorname.iscsi
before iscsid is invoked via iscsid.socket with iscsiadm. Cloud images
including MAAS ones have "GenerateName=yes" instead of "InitiatorName="
on purpose not to clone the initiator name. Let's initialize it so
Cinder units can be fully ready to accept iSCSI based subordinate and
storage backend charms.

Closes-Bug: 1825809
Change-Id: I413bbb29dd609e0c86ac3691556f37a9fcc13439
(cherry picked from commit bde329d973f2d66f800a15d0f4721fc949a609b1)

fe162c3... by Corey Bryant

Drop creation of v2 endpoint from OpenStack Xena+

In this patch we drop creation of the v2 volume endpoint for
OpenStack Xena onward. Upstream cinder removed the block storage
v2 API in commit e05b261a "Remove Block Storage API v2".

Conflicts:
  * change is required to pin pyparsing < 3.0.0

Closes-Bug: #1947387
Change-Id: Ie553a53f794f2cdd262bf77364e6374244844b92
(cherry picked from commit bc48c60f1cd0bf7ceb8813dced504f5e0d37d829)

47d7628... by Billy Olsen

Revert "Group cinder-volume services using cluster config"

This reverts commit 2603a774b112dc6e25f9e7b2071124ea3d3d0012, which
converted cinder to use cluster configuration for stateless services.
While well-intentioned, this causes problems due to the lack of a
proper migration for those backends which are not able to support
ACTIVE-ACTIVE configuration.

Configurations that do not support ACTIVE_ACTIVE driver will have the
volume service fail to start, which will cause a service outage.

Change-Id: I7bf4baaf80e5bb58b5c1cf55a2065f3bc50dbced
Related-Bug: #1945239
(cherry picked from commit c5896a884a54d0171415d79a82a284e2ff6b2ca9)

06759ab... by Alex Kavanagh

21.10 - Release

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

Change-Id: Ie677c22121c10a4671a0dd0ffa5475b200080906

cc75102... 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: I0312d42778e476e66135c55b48608a4e1c8cb39e

86a2708... by Zuul <email address hidden>

Merge "Deprecate LVM support and add NetApp support"