charm-cinder/metadata.yaml
Trent Lloyd 388e96c444 Add identity-credentials relation support
Implement support for the identity-credentials relation as an
alternative way to get keystone credentials when we are not registering
a service endpoint via the identity-service relation.

This solves an issue where the image volume cache does not work when the
cinder volume service is deployed as a second cinder application
('cinder-volume') having enabled-services=volume set.

Previously the following items were missing from cinder.conf:
cinder_internal_tenant_project_id
cinder_internal_tenant_user_id

Resulting in the image cache not functioning with the following warnings:
Unable to get internal tenant context: Missing required config
parameters.
Unable to get Cinder internal context, will not use image-volume cache.

As there are now two possible interfaces to keystone ('identity-service'
and 'identity-credentials') any existing bundles that don't specify the
interface 'identity-service' when relating to keystone will fail to
deploy and will need to be updated.

Closes-Bug: #1978452
Change-Id: Ieef500c9c55eb3968b3e2e231a8ff6e2a5ec148d
(cherry picked from commit ba8d8fc3e1)
2023-01-25 11:25:22 +08:00

62 lines
1.2 KiB
YAML

name: cinder
summary: OpenStack block storage service
maintainer: OpenStack Charmers <openstack-charmers@lists.ubuntu.com>
description: |
Cinder is the block storage service for the OpenStack.
tags:
- openstack
- storage
- misc
series:
- jammy
- kinetic
extra-bindings:
public:
admin:
internal:
provides:
nrpe-external-master:
interface: nrpe-external-master
scope: container
cinder-volume-service:
interface: cinder
requires:
shared-db:
interface: mysql-shared
amqp:
interface: rabbitmq
identity-service:
interface: keystone
optional: true
identity-credentials:
interface: keystone-credentials
ceph:
interface: ceph-client
image-service:
interface: glance
ha:
interface: hacluster
scope: container
storage-backend:
interface: cinder-backend
scope: container
backup-backend:
interface: cinder-backup
scope: container
certificates:
interface: tls-certificates
peers:
cluster:
interface: cinder-ha
resources:
policyd-override:
type: file
filename: policyd-override.zip
description: The policy.d overrides file
storage:
block-devices:
type: block
multiple:
range: 0-
minimum-size: 10G