charm-cinder:stable/yoga

Last commit made on 2024-08-20
Get this branch:
git clone -b stable/yoga https://git.launchpad.net/charm-cinder

Branch merges

Branch information

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

Recent commits

a297912... by Nobuto Murata

Make sure sysfsutils is available

The systool command is necessary for some non-Ceph backends, but Ubuntu
packages do not pull it as a dependency. Make sure sysfsutils is
installed in cinder-volume units by default instead of updating all
backend charms.

systool is only necessary up to Yoga so no need to merge this for zed
onwards:
https://opendev.org/openstack/os-brick/src/branch/master/releasenotes/notes/no-systool-use-b7bc430de1033670.yaml

Releated to I366bf71161e275638403a5a815c98341da7d4f6f

Closes-Bug: #1947063
Change-Id: I8debc1c8098485089321ffdb08b75821d6566950

4964b39... by Nobuto Murata

Install lsscsi by default for zed or older

lsscsi is a dependency of os-brick for volume related operations
including creating a boot volume with iSCSI/FC backends. However, it
wasn't installed by default until jammy-antelope (lunar) due to a
packaging bug. It hasn't been an obvious issue especially when the
cinder-volume unit and the nova-compute unit are co-located since
nova-compute charm installs the package. Instead of applying a
workaround to all backend charms, let's apply the workaround in the
cinder charm since lsscsi is installed by default for later OpenStack
releases anyway and it's a small package.

Closes-Bug: #1939390
Change-Id: I131e12c53c78957873b6a75a3b1b67b1725b43ed
(cherry picked from commit 9a6ab28af2f5b01bc5ebc54c7cde3248dd65b53e)

67a7634... by Myles Penner

Add keystone audit middleware API logging

This commit adds Keystone audit middleware API logging to the Cinder
charm in versions Yoga and newer to allow users to configure their
environment for CADF compliance. This feature can be enabled/disabled
and is set to 'disabled' by default to avoid bloat in log files.
The logging output is configured to /var/log/apache2/cinder_error.log.
This commit builds on previous discussions:
https://github.com/juju/charm-helpers/pull/808.

func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/1236
Closes-Bug: 1856555
Change-Id: Ia7dbd6af2305e92eaa9a65890644c4a324ab2c65
(cherry picked from commit e25b5d38fbb0692e5fab6e7f562c974316d61abe)

d8a3944... by Myles Penner

Update charmhelpers for stable/yoga

Change-Id: Ica2a736d67db4d05df4d7eaddcc95568fa132f2b

d36cf98... by Erlon R. Cruz

Use admin_tenant_id as cinder internal tenant

admin_tenant_id is more explicit than admin_tenant_name
as project names might duplicate

This commit is related to code rdata.get -> _resolve.
Related commits are below but it is long.
So I changed _resolve to rdata.get here.

3faf38d3d8fa738d0582b4537e77eaef1d5c332a IndentityServiceContext app data fixes
4137a3d5d676ed6f332504b4edfcdf7f06c2f0bc
openstack: identity-service forwards compat (#730)

Charm-helpers-pr: https://github.com/juju/charm-helpers/pull/894

Depends-on: I6807128492cb184de3ef5f454d0ea745246b242e

Closes-Bug: #2030755
Change-Id: Idbc2f3d12dcf325b4a53a3dda1ecfa75a199295a
(cherry picked from commit ff442694d27e5481b9994a3dd4412a7a004d1c00)
(cherry picked from commit 80115a2cb219c72b36adfb60b94c3cd56dbaf086)
(cherry picked from commit e979c91908b0490ec78d9bc0f29254fdc38d1bb1)
(cherry picked from commit 73d596bb9e65361a76a38e83bcee45c6453df09a)

11b9b57... by Hua Zhang

Support disabling apache wsgi socket rotation

Bug LP 1863232 introduced a new Apache configuration option called
WSGISocketRotation which allows users to disable wsgi socket
rotation. This patch makes this configurable with a new
wsgi-socket-rotation config option that defaults to the Apache
default and can optionally be set to False.

Closes-Bug: #2021550
Change-Id: I30f1f6643561757516d219797df0b767037d093f

b31e43e... by Alex Kavanagh

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

Change-Id: I4b15e69397b2de12cb8a30c5a9845234af52c8be

05bda07... 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: Ia8830828f363af91b0765ff4f761faefb5f00212
(cherry picked from commit 6f00af3e777ff53cfbe287536977f7ff3eb7f0c3)

c4007b5... by Corey Bryant

Use service_domain in [service_user] section

Sync from charm-helpers to update [service_user] config to use the
service domain.

The keystone charm currently creates two service users, one for the
service domain (for v3 authentication), and the other for the default
domain (for v2 authentication). The [service_user] config needs to
use the service domain.

Closes-Bug: #2026202
Change-Id: I65ec151d56520471b7fc4b02f2e1d7e48a219faf

6abdd75... by Corey Bryant

Render [service_user] only for identity-service relation

The service token section [service_user] is not required when
cinder-volume is deployed as a separate service. In other words
it is not required for the identity-credentials relation.

The [service_user] section is nearly the same as the
[keystone_authtoken] section, and the keystone_authtoken data
is only produced for the IdentityServiceContext, therefore this
change will not render [service_user] for the
IdentityCredentialsContext.

Closes-Bug: #2024676
Change-Id: Iaecae3c22db1f4f2309f73f8c6836e6c072b848b
(cherry picked from commit ebbedcbf58660ce13823152d6943fee036af7e11)