Browse Source

[doc] Fix volumes pool permissions

This patch fixes deleting snapshots in cinder.
Also added creating pool for backups

Change-Id: I0540d1d572563cf08d793416520a98178ac13a3d
Sergey Reshetnyak 2 years ago
parent
commit
08827c1665
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      doc/source/ceph_cluster.rst

+ 3
- 2
doc/source/ceph_cluster.rst View File

@@ -132,11 +132,12 @@ On any Ceph node run:
132 132
   sudo rados mkpool images
133 133
   sudo rados mkpool volumes
134 134
   sudo rados mkpool vms
135
+  sudo rados mkpool backups
135 136
 
136 137
 ::
137 138
 
138
-  sudo ceph auth get-or-create client.glance osd 'allow rwx pool=images, allow rwx pool=vms' mon 'allow r' -o /etc/ceph/ceph.client.glance.keyring
139
-  sudo ceph auth get-or-create client.cinder osd 'allow rwx pool=volumes, allow rwx pool=vms, allow rx pool=images' mon 'allow r' -o /etc/ceph/ceph.client.cinder.keyring
139
+  sudo ceph auth get-or-create client.glance osd 'allow class-read object_prefix rbd_children, allow rwx pool=images, allow rwx pool=vms' mon 'allow r' -o /etc/ceph/ceph.client.glance.keyring
140
+  sudo ceph auth get-or-create client.cinder osd 'allow class-read object_prefix rbd_children, allow rwx pool=volumes, allow rwx pool=backups, allow rwx pool=vms, allow rwx pool=images' mon 'allow r' -o /etc/ceph/ceph.client.cinder.keyring
140 141
   sudo ceph auth get-or-create client.radosgw.gateway osd 'allow rwx' mon 'allow rwx' -o /etc/ceph/ceph.client.radosgw.keyring
141 142
 
142 143
 To list all user with permission and keys, run:

Loading…
Cancel
Save