Skip to content

Commit eebe32a

Browse files
committed
Update docs for client.cinder to support COW snapshots
This is to support copy on write snapshots: ``` Performing standard snapshot because direct snapshot failed: no write permission on storage pool images: nova.exception.Forbidden: no write permission on storage pool images ``` when using ceph for nova ephemeral storage. My preferrence is for a standardised configuration rather than another if you use this feature, do this.
1 parent 4026c4e commit eebe32a

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

doc/source/configuration/cephadm.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ for Cinder, Cinder backup, Glance, and Nova in Kolla Ansible.
243243
- name: client.cinder
244244
caps:
245245
mon: "profile rbd"
246-
osd: "profile rbd pool=volumes, profile rbd pool=vms, profile rbd-read-only pool=images"
246+
osd: "profile rbd pool=volumes, profile rbd pool=vms, profile rbd pool=images"
247247
mgr: "profile rbd pool=volumes, profile rbd pool=vms"
248248
- name: client.cinder-backup
249249
caps:

etc/kayobe/environments/aufn-ceph/cephadm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ cephadm_keys:
4646
- name: client.cinder
4747
caps:
4848
mon: "profile rbd"
49-
osd: "profile rbd pool=volumes, profile rbd pool=vms, profile rbd-read-only pool=images"
49+
osd: "profile rbd pool=volumes, profile rbd pool=vms, profile rbd pool=images"
5050
mgr: "profile rbd pool=volumes, profile rbd pool=vms"
5151
state: present
5252
- name: client.cinder-backup

etc/kayobe/environments/ci-multinode/cephadm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ cephadm_keys:
4747
- name: client.cinder
4848
caps:
4949
mon: "profile rbd"
50-
osd: "profile rbd pool=volumes, profile rbd pool=vms, profile rbd-read-only pool=images"
50+
osd: "profile rbd pool=volumes, profile rbd pool=vms, profile rbd pool=images"
5151
mgr: "profile rbd pool=volumes, profile rbd pool=vms"
5252
state: present
5353
- name: client.cinder-backup
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
fixes:
3+
- |
4+
Adjusts the documented permissions for the images pool for the cinder user.
5+
This is to support copy on write snaphots of vms using ceph backed
6+
ephemeral storage. Existing deployments will need to manually adjust these
7+
values using the CLI (the collection is currently not smart enough to do this):
8+
``ceph auth caps client.cinder mon 'profile rbd' osd 'profile rbd
9+
pool=volumes, profile rbd pool=vms, profile rbd pool=images' mgr 'profile
10+
rbd pool=volumes, profile rbd pool=vms'``.

0 commit comments

Comments
 (0)