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
diff --git a/lib/cinder b/lib/cinder
index cbe732e..a0b33c8 100644
--- a/lib/cinder
+++ b/lib/cinder
@@ -385,7 +385,7 @@
--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)