Preserve swift tenant_id variable when writing into keystone catalog.
Change-Id: Ib01e520f554dbf3f3a07e120e28c95a005172dfc
This commit is contained in:
parent
bb64f2d644
commit
155266b947
1
AUTHORS
1
AUTHORS
@ -8,6 +8,7 @@ Dean Troyer <dtroyer@gmail.com>
|
|||||||
Devin Carlen <devin.carlen@gmail.com>
|
Devin Carlen <devin.carlen@gmail.com>
|
||||||
Eddie Hebert <edhebert@gmail.com>
|
Eddie Hebert <edhebert@gmail.com>
|
||||||
Eoghan Glynn <eglynn@redhat.com>
|
Eoghan Glynn <eglynn@redhat.com>
|
||||||
|
Gabriel Hurley <gabriel@strikeawe.com>
|
||||||
Jake Dahn <admin@jakedahn.com>
|
Jake Dahn <admin@jakedahn.com>
|
||||||
James E. Blair <james.blair@rackspace.com>
|
James E. Blair <james.blair@rackspace.com>
|
||||||
Jason Cannavale <jason.cannavale@rackspace.com>
|
Jason Cannavale <jason.cannavale@rackspace.com>
|
||||||
|
4
stack.sh
4
stack.sh
@ -1328,9 +1328,9 @@ if is_service_enabled key; then
|
|||||||
|
|
||||||
# Add swift endpoints to service catalog if swift is enabled
|
# Add swift endpoints to service catalog if swift is enabled
|
||||||
if is_service_enabled swift; then
|
if is_service_enabled swift; then
|
||||||
echo "catalog.RegionOne.object_store.publicURL = http://%SERVICE_HOST%:8080/v1/AUTH_$(tenant_id)s" >> $KEYSTONE_CATALOG
|
echo "catalog.RegionOne.object_store.publicURL = http://%SERVICE_HOST%:8080/v1/AUTH_\$(tenant_id)s" >> $KEYSTONE_CATALOG
|
||||||
echo "catalog.RegionOne.object_store.adminURL = http://%SERVICE_HOST%:8080/" >> $KEYSTONE_CATALOG
|
echo "catalog.RegionOne.object_store.adminURL = http://%SERVICE_HOST%:8080/" >> $KEYSTONE_CATALOG
|
||||||
echo "catalog.RegionOne.object_store.internalURL = http://%SERVICE_HOST%:8080/v1/AUTH_$(tenant_id)s" >> $KEYSTONE_CATALOG
|
echo "catalog.RegionOne.object_store.internalURL = http://%SERVICE_HOST%:8080/v1/AUTH_\$(tenant_id)s" >> $KEYSTONE_CATALOG
|
||||||
echo "catalog.RegionOne.object_store.name = 'Swift Service'" >> $KEYSTONE_CATALOG
|
echo "catalog.RegionOne.object_store.name = 'Swift Service'" >> $KEYSTONE_CATALOG
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user