We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67ec406 commit 1cdf5faCopy full SHA for 1cdf5fa
files/keystone_data.sh
@@ -283,4 +283,16 @@ if [[ "$ENABLED_SERVICES" =~ "cinder" ]]; then
283
keystone user-role-add --tenant_id $SERVICE_TENANT \
284
--user_id $CINDER_USER \
285
--role_id $ADMIN_ROLE
286
+ if [[ "$KEYSTONE_CATALOG_BACKEND" = 'sql' ]]; then
287
+ CINDER_SERVICE=$(get_id keystone service-create \
288
+ --name=cinder \
289
+ --type=volume \
290
+ --description="Cinder Service")
291
+ keystone endpoint-create \
292
+ --region RegionOne \
293
+ --service_id $CINDER_SERVICE \
294
+ --publicurl "http://$SERVICE_HOST:8776/v1/\$(tenant_id)s" \
295
+ --adminurl "http://$SERVICE_HOST:8776/v1/\$(tenant_id)s" \
296
+ --internalurl "http://$SERVICE_HOST:8776/v1/\$(tenant_id)s"
297
+ fi
298
fi
0 commit comments