From e97cb825d2800d34d1fe6eceae85a3a7f84549d1 Mon Sep 17 00:00:00 2001 From: Nicolas Simonds Date: Tue, 28 Jul 2015 11:46:46 -0700 Subject: [PATCH] update cinder's key permission to allow nova snapshots Preparing the field for this patch: https://review.openstack.org/205282 The client.cinder key needs to have write permission to the glance pool in order to complete the snapshot process. Change-Id: I98f16167db864ffd14e8c3dd5dec81fc16245448 --- lib/ceph | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ceph b/lib/ceph index 6af4b3a139..8e34aa49a4 100644 --- a/lib/ceph +++ b/lib/ceph @@ -326,7 +326,7 @@ function configure_ceph_cinder { sudo ceph -c ${CEPH_CONF_FILE} osd pool create ${CINDER_CEPH_POOL} ${CINDER_CEPH_POOL_PG} ${CINDER_CEPH_POOL_PGP} sudo ceph -c ${CEPH_CONF_FILE} auth get-or-create client.${CINDER_CEPH_USER} \ mon "allow r" \ - osd "allow class-read object_prefix rbd_children, allow rwx pool=${CINDER_CEPH_POOL}, allow rwx pool=${NOVA_CEPH_POOL},allow rx pool=${GLANCE_CEPH_POOL}" | \ + osd "allow class-read object_prefix rbd_children, allow rwx pool=${CINDER_CEPH_POOL}, allow rwx pool=${NOVA_CEPH_POOL},allow rwx pool=${GLANCE_CEPH_POOL}" | \ sudo tee ${CEPH_CONF_DIR}/ceph.client.${CINDER_CEPH_USER}.keyring sudo chown ${STACK_USER}:$(id -g -n $whoami) ${CEPH_CONF_DIR}/ceph.client.${CINDER_CEPH_USER}.keyring }