Browse code

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

Juan Manuel Olle authored on 2014/01/07 03:07:09
Showing 2 changed files
... ...
@@ -385,7 +385,7 @@ create_cinder_accounts() {
385 385
                 --adminurl "$CINDER_SERVICE_PROTOCOL://$CINDER_SERVICE_HOST:$CINDER_SERVICE_PORT/v1/\$(tenant_id)s" \
386 386
                 --internalurl "$CINDER_SERVICE_PROTOCOL://$CINDER_SERVICE_HOST:$CINDER_SERVICE_PORT/v1/\$(tenant_id)s"
387 387
             CINDER_V2_SERVICE=$(keystone service-create \
388
-                --name=cinder \
388
+                --name=cinderv2 \
389 389
                 --type=volumev2 \
390 390
                 --description="Cinder Volume Service V2" \
391 391
                 | grep " id " | get_field 2)
... ...
@@ -338,7 +338,7 @@ create_nova_accounts() {
338 338
                 --adminurl "$NOVA_SERVICE_PROTOCOL://$NOVA_SERVICE_HOST:$NOVA_SERVICE_PORT/v2/\$(tenant_id)s" \
339 339
                 --internalurl "$NOVA_SERVICE_PROTOCOL://$NOVA_SERVICE_HOST:$NOVA_SERVICE_PORT/v2/\$(tenant_id)s"
340 340
             NOVA_V3_SERVICE=$(keystone service-create \
341
-                --name=nova \
341
+                --name=novav3 \
342 342
                 --type=computev3 \
343 343
                 --description="Nova Compute Service V3" \
344 344
                 | grep " id " | get_field 2)