From cf2d0d3db9bda81a6795d5e57e893fea234b462c Mon Sep 17 00:00:00 2001 From: stack Date: Mon, 5 Aug 2013 04:51:56 -0400 Subject: [PATCH] Add keystoneclient support for cinder. Add an ability to ask keystone about users and groups through keystoneclient in cinder. blueprint volume-acl Change-Id: Ice261e9709833d057722b4f13c404df54e10b204 --- lib/cinder | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/cinder b/lib/cinder index ef7e3dc9cc..3472dcd519 100644 --- a/lib/cinder +++ b/lib/cinder @@ -296,6 +296,10 @@ function configure_cinder() { -e 's/snapshot_autoextend_percent =.*/snapshot_autoextend_percent = 20/' \ /etc/lvm/lvm.conf fi + iniset $CINDER_CONF keystone_authtoken auth_uri $KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_SERVICE_PORT + iniset $CINDER_CONF keystone_authtoken admin_user cinder + iniset $CINDER_CONF keystone_authtoken admin_tenant_name $SERVICE_TENANT_NAME + iniset $CINDER_CONF keystone_authtoken admin_password $SERVICE_PASSWORD }