Merge "Add barbican set up to devstack"
This commit is contained in:
@@ -276,6 +276,12 @@ function configure_manila {
|
||||
echo -"No configured backends, please set a value to MANILA_ENABLED_BACKENDS"
|
||||
exit 1
|
||||
fi
|
||||
if is_service_enabled barbican; then
|
||||
configure_keystone_authtoken_middleware $MANILA_CONF barbican barbican
|
||||
iniset $MANILA_CONF barbican barbican_endpoint_type $BARBICAN_ENDPOINT_TYPE
|
||||
iniset $MANILA_CONF barbican auth_endpoint $BARBICAN_KEYSTONE_ENDPOINT
|
||||
iniset $MANILA_CONF key_manager backend $KEY_MANAGER_BACKEND
|
||||
fi
|
||||
|
||||
configure_backends
|
||||
iniset $MANILA_CONF DEFAULT enabled_share_backends $MANILA_ENABLED_BACKENDS
|
||||
|
@@ -44,6 +44,11 @@ MANILA_CONF_DIR=${MANILA_CONF_DIR:-/etc/manila}
|
||||
MANILA_CONF=$MANILA_CONF_DIR/manila.conf
|
||||
MANILA_API_PASTE_INI=$MANILA_CONF_DIR/api-paste.ini
|
||||
|
||||
# barbican defaults
|
||||
BARBICAN_ENDPOINT_TYPE=${BARBICAN_ENDPOINT_TYPE:-internal}
|
||||
KEY_MANAGER_BACKEND=${KEY_MANAGER_BACKEND:-barbican}
|
||||
BARBICAN_KEYSTONE_ENDPOINT=${BARBICAN_KEYSTONE_ENDPOINT:-$KEYSTONE_SERVICE_URI}
|
||||
|
||||
# Set this to False to leave "default_share_type" and
|
||||
# "default_share_group_type" configuration options empty.
|
||||
MANILA_CONFIGURE_DEFAULT_TYPES=${MANILA_CONFIGURE_DEFAULT_TYPES:-True}
|
||||
|
Reference in New Issue
Block a user