]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: update cinder key permissions for mitaka 12211/head
authorSébastien Han <seb@redhat.com>
Tue, 29 Nov 2016 10:24:38 +0000 (11:24 +0100)
committerSébastien Han <seb@redhat.com>
Thu, 8 Dec 2016 14:21:21 +0000 (15:21 +0100)
OpenStack Mitaka introduced the support of RBD snapshots while taking a
snapshot of a Nova instance. For this to work we need to grant write
access to the Glance pool to the Cinder key.

Signed-off-by: Sébastien Han <seb@redhat.com>
doc/rbd/rbd-openstack.rst

index 6248644d6c6aa0a6655ea7749afa36829ea076b0..264b3bc8dc8469513033038889e04adaff35b05d 100644 (file)
@@ -124,10 +124,18 @@ Setup Ceph Client Authentication
 If you have `cephx authentication`_ enabled, create a new user for Nova/Cinder
 and Glance. Execute the following::
 
-    ceph auth get-or-create client.cinder mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool=volumes, allow rwx pool=vms, allow rx pool=images'
     ceph auth get-or-create client.glance mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool=images'
     ceph auth get-or-create client.cinder-backup mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool=backups'
 
+If you run an OpenStack version before Mitaka, create the following ``client.cinder`` key::
+
+    ceph auth get-or-create client.cinder mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool=volumes, allow rwx pool=vms, allow rx pool=images'
+
+Since Mitaka introduced the support of RBD snapshots while doing a snapshot of a Nova instance,
+we need to allow the ``client.cinder`` key write access to the ``images`` pool; therefore, create the following key::
+
+    ceph auth get-or-create client.cinder mon 'allow r' osd 'allow class-read object_prefix rbd_children, allow rwx pool=volumes, allow rwx pool=vms, allow rwx pool=images'
+
 Add the keyrings for ``client.cinder``, ``client.glance``, and
 ``client.cinder-backup`` to the appropriate nodes and change their ownership::