Skip to content

Commit 5f9473e

Browse files
committed
Add nova-volume endpoint to service catalog
Change-Id: Id04568d7f8eecc8c8e7c1a92990d37a46923caf7
1 parent 571a00b commit 5f9473e

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

files/default_catalog.templates

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,18 @@ catalog.RegionOne.identity.internalURL = http://%SERVICE_HOST%:$(public_port)s/v
66
catalog.RegionOne.identity.name = 'Identity Service'
77

88

9-
catalog.RegionOne.compute.publicURL = http://%SERVICE_HOST%:8774/v1.1/$(tenant_id)s
10-
catalog.RegionOne.compute.adminURL = http://%SERVICE_HOST%:8774/v1.1/$(tenant_id)s
11-
catalog.RegionOne.compute.internalURL = http://%SERVICE_HOST%:8774/v1.1/$(tenant_id)s
9+
catalog.RegionOne.compute.publicURL = http://%SERVICE_HOST%:8774/v2/$(tenant_id)s
10+
catalog.RegionOne.compute.adminURL = http://%SERVICE_HOST%:8774/v2/$(tenant_id)s
11+
catalog.RegionOne.compute.internalURL = http://%SERVICE_HOST%:8774/v2/$(tenant_id)s
1212
catalog.RegionOne.compute.name = 'Compute Service'
1313

1414

15+
catalog.RegionOne.volume.publicURL = http://%SERVICE_HOST%:8776/v1/$(tenant_id)s
16+
catalog.RegionOne.volume.adminURL = http://%SERVICE_HOST%:8776/v1/$(tenant_id)s
17+
catalog.RegionOne.volume.internalURL = http://%SERVICE_HOST%:8776/v1/$(tenant_id)s
18+
catalog.RegionOne.volume.name = 'Volume Service'
19+
20+
1521
catalog.RegionOne.ec2.publicURL = http://%SERVICE_HOST%:8773/services/Cloud
1622
catalog.RegionOne.ec2.adminURL = http://%SERVICE_HOST%:8773/services/Admin
1723
catalog.RegionOne.ec2.internalURL = http://%SERVICE_HOST%:8773/services/Cloud

files/keystone_data.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,14 @@ keystone service-create \
8888
--name=keystone \
8989
--type=identity \
9090
--description="Keystone Identity Service"
91+
92+
if [[ "$ENABLED_SERVICES" =~ "n-vol" ]]; then
93+
keystone service-create \
94+
--name="nova-volume" \
95+
--type=volume \
96+
--description="Nova Volume Service"
97+
fi
98+
9199
if [[ "$ENABLED_SERVICES" =~ "swift" ]]; then
92100
keystone service-create \
93101
--name=swift \

0 commit comments

Comments
 (0)