Skip to content

Commit bfd2a54

Browse files
afazekasASBishop
authored andcommitted
Stop creating the cinderv1 endpoint
The cinder v1 api is disabled by default, the catalog entry is confusing. Change-Id: Ifea283d8aff9f7a70b68d601c5225c3d4fe250e6
1 parent f3302dc commit bfd2a54

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

lib/cinder

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -349,18 +349,12 @@ function create_cinder_accounts {
349349

350350
# block-storage is the official service type
351351
get_or_create_service "cinder" "block-storage" "Cinder Volume Service"
352-
get_or_create_service "cinder" "volume" "Cinder Volume Service"
353352
if [ "$CINDER_USE_MOD_WSGI" == "False" ]; then
354353
get_or_create_endpoint \
355354
"block-storage" \
356355
"$REGION_NAME" \
357356
"$CINDER_SERVICE_PROTOCOL://$CINDER_SERVICE_HOST:$CINDER_SERVICE_PORT/v3/\$(project_id)s"
358357

359-
get_or_create_endpoint \
360-
"volume" \
361-
"$REGION_NAME" \
362-
"$CINDER_SERVICE_PROTOCOL://$CINDER_SERVICE_HOST:$CINDER_SERVICE_PORT/v1/\$(project_id)s"
363-
364358
get_or_create_service "cinderv2" "volumev2" "Cinder Volume Service V2"
365359
get_or_create_endpoint \
366360
"volumev2" \
@@ -378,11 +372,6 @@ function create_cinder_accounts {
378372
"$REGION_NAME" \
379373
"$CINDER_SERVICE_PROTOCOL://$CINDER_SERVICE_HOST/volume/v3/\$(project_id)s"
380374

381-
get_or_create_endpoint \
382-
"volume" \
383-
"$REGION_NAME" \
384-
"$CINDER_SERVICE_PROTOCOL://$CINDER_SERVICE_HOST/volume/v1/\$(project_id)s"
385-
386375
get_or_create_service "cinderv2" "volumev2" "Cinder Volume Service V2"
387376
get_or_create_endpoint \
388377
"volumev2" \

0 commit comments

Comments
 (0)