Remove duplicated name services
Due to the fact that keystone will not allow services with duplicated names, cinder and nova services names were changed Closes-Bug: #1259425 Change-Id: I988aef477b418a289426e02e5e108aa57dd1076b
This commit is contained in:
parent
0150d7eb2a
commit
4ad37630a2
@ -385,7 +385,7 @@ create_cinder_accounts() {
|
||||
--adminurl "$CINDER_SERVICE_PROTOCOL://$CINDER_SERVICE_HOST:$CINDER_SERVICE_PORT/v1/\$(tenant_id)s" \
|
||||
--internalurl "$CINDER_SERVICE_PROTOCOL://$CINDER_SERVICE_HOST:$CINDER_SERVICE_PORT/v1/\$(tenant_id)s"
|
||||
CINDER_V2_SERVICE=$(keystone service-create \
|
||||
--name=cinder \
|
||||
--name=cinderv2 \
|
||||
--type=volumev2 \
|
||||
--description="Cinder Volume Service V2" \
|
||||
| grep " id " | get_field 2)
|
||||
|
2
lib/nova
2
lib/nova
@ -338,7 +338,7 @@ create_nova_accounts() {
|
||||
--adminurl "$NOVA_SERVICE_PROTOCOL://$NOVA_SERVICE_HOST:$NOVA_SERVICE_PORT/v2/\$(tenant_id)s" \
|
||||
--internalurl "$NOVA_SERVICE_PROTOCOL://$NOVA_SERVICE_HOST:$NOVA_SERVICE_PORT/v2/\$(tenant_id)s"
|
||||
NOVA_V3_SERVICE=$(keystone service-create \
|
||||
--name=nova \
|
||||
--name=novav3 \
|
||||
--type=computev3 \
|
||||
--description="Nova Compute Service V3" \
|
||||
| grep " id " | get_field 2)
|
||||
|
Loading…
Reference in New Issue
Block a user