2024.158Apache-2.0
strict
core24
Cinder Volume
Cinder Volume Snap
This snap is designed to be used with a deployed OpenStack Control plane such
as delivered by Sunbeam.
Getting Started
To get started with Cinder Volume, install the snap using snapd:
The snap needs to be configured with credentials and URLs for the Identity
service of the OpenStack cloud that it will form part of. For example:
You must also configure access to RabbitMQ:
And provide the database connection URL:
The snap supports multiple storage backends, such as Ceph. For example, to
configure a Ceph backend:
See "Configuration Reference" for full details.
Configuration Reference
cinder
database
rabbitmq
settings
ceph (backend)
Configure one or more Ceph backends using the
You may define multiple backends by using different backend names, e.g.
This snap is designed to be used with a deployed OpenStack Control plane such
as delivered by Sunbeam.
Getting Started
To get started with Cinder Volume, install the snap using snapd:
$ sudo snap install cinder-volumeThe snap needs to be configured with credentials and URLs for the Identity
service of the OpenStack cloud that it will form part of. For example:
$ sudo snap set cinder-volume \
cinder.project-id=project-uuid \
cinder.user-id=user-uuidYou must also configure access to RabbitMQ:
$ sudo snap set cinder-volume \
rabbitmq.url=rabbit://cinder:supersecure@10.152.183.212:5672/openstackAnd provide the database connection URL:
$ sudo snap set cinder-volume \
database.url=mysql+pymysql://cinder:password@10.152.183.210/cinderThe snap supports multiple storage backends, such as Ceph. For example, to
configure a Ceph backend:
$ sudo snap set cinder-volume \
ceph.mybackend.rbd-pool=volumes \
ceph.mybackend.rbd-user=cinder \
ceph.mybackend.rbd-secret-uuid=uuid \
ceph.mybackend.rbd-key=<base64key> \
ceph.mybackend.volume-backend-name=mybackendSee "Configuration Reference" for full details.
Configuration Reference
cinder
cinder.project-idProject ID for Cinder servicecinder.user-idUser ID for Cinder servicecinder.image-volume-cache-enabled(false) Enable image volume cachecinder.image-volume-cache-max-size-gb(0) Max size of image volume cache in GBcinder.image-volume-cache-max-count(0) Max number of images in cachecinder.default-volume-type(optional) Default volume typecinder.cluster(optional) Cinder cluster name
database
database.urlFull connection URL to the database
rabbitmq
rabbitmq.urlFull connection URL to RabbitMQ
settings
settings.debug(false) Enable debug log levelsettings.enable-telemetry-notifications(false) Enable telemetry notifications
ceph (backend)
Configure one or more Ceph backends using the
ceph.<backend-name>.* namespace:ceph.<backend-name>.volume-backend-nameName for this backend (must be unique)ceph.<backend-name>.rbd-poolName of the Ceph pool to useceph.<backend-name>.rbd-userCeph user for accessceph.<backend-name>.rbd-secret-uuidSecret UUID for authenticationceph.<backend-name>.rbd-keyKey for the Ceph user (base64 encoded)ceph.<backend-name>.mon-hostsComma-separated list of Ceph monitor hostsceph.<backend-name>.authAuthentication type (default: cephx)ceph.<backend-name>.rbd-exclusive-cinder-pool(true) Whether the pool is exclusive to Cinderceph.<backend-name>.report-discard-supported(true) Report discard supportceph.<backend-name>.rbd-flatten-volume-from-snapshot(false) Flatten volumes from snapshotceph.<backend-name>.image-volume-cache-enabled(optional) Enable image volume cache for this backendceph.<backend-name>.image-volume-cache-max-size-gb(optional) Max cache size in GB for this backendceph.<backend-name>.image-volume-cache-max-count(optional) Max cache count for this backendceph.<backend-name>.volume-dd-blocksize(4096) Block size for volume copy operations
You may define multiple backends by using different backend names, e.g.
ceph.ceph1.*, ceph.ssdpool.*, etc. Each backend name must be unique and each pool must only be used by one backend.Update History
2024.1 (58)1 Apr 2026, 21:28 UTC
14 Oct 2024, 13:25 UTC
20 Mar 2026, 17:51 UTC
1 Apr 2026, 21:28 UTC