Skip to content

Commit d7c3c0a

Browse files
committed
lib/cinder: Remove 'volume3' endpoint
This was needed when 'block-storage' pointed to the v2 API. This is no longer the case (and hasn't been for some time). This is unnecessary duplication now. Change-Id: I00cfb56d3e54d0162b1609f4bf58814e9000c103 Signed-off-by: Stephen Finucane <stephenfin@redhat.com> Depends-on: https://review.opendev.org/c/openstack/tempest/+/930296
1 parent 0ff6272 commit d7c3c0a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

lib/cinder

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -483,23 +483,11 @@ function create_cinder_accounts {
483483
"block-storage" \
484484
"$REGION_NAME" \
485485
"$CINDER_SERVICE_PROTOCOL://$CINDER_SERVICE_HOST:$CINDER_SERVICE_PORT/v3/\$(project_id)s"
486-
487-
get_or_create_service "cinderv3" "volumev3" "Cinder Volume Service V3"
488-
get_or_create_endpoint \
489-
"volumev3" \
490-
"$REGION_NAME" \
491-
"$CINDER_SERVICE_PROTOCOL://$CINDER_SERVICE_HOST:$CINDER_SERVICE_PORT/v3/\$(project_id)s"
492486
else
493487
get_or_create_endpoint \
494488
"block-storage" \
495489
"$REGION_NAME" \
496490
"$CINDER_SERVICE_PROTOCOL://$CINDER_SERVICE_HOST/volume/v3/\$(project_id)s"
497-
498-
get_or_create_service "cinderv3" "volumev3" "Cinder Volume Service V3"
499-
get_or_create_endpoint \
500-
"volumev3" \
501-
"$REGION_NAME" \
502-
"$CINDER_SERVICE_PROTOCOL://$CINDER_SERVICE_HOST/volume/v3/\$(project_id)s"
503491
fi
504492

505493
configure_cinder_internal_tenant

0 commit comments

Comments
 (0)