From bfd2a54c13b8f3235991e534d5aa822be2aeaf19 Mon Sep 17 00:00:00 2001 From: Attila Fazekas Date: Fri, 8 Feb 2019 14:49:16 -0500 Subject: [PATCH] Stop creating the cinderv1 endpoint The cinder v1 api is disabled by default, the catalog entry is confusing. Change-Id: Ifea283d8aff9f7a70b68d601c5225c3d4fe250e6 --- lib/cinder | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/cinder b/lib/cinder index 76bf928413..d69b21efd0 100644 --- a/lib/cinder +++ b/lib/cinder @@ -349,18 +349,12 @@ function create_cinder_accounts { # block-storage is the official service type get_or_create_service "cinder" "block-storage" "Cinder Volume Service" - get_or_create_service "cinder" "volume" "Cinder Volume Service" if [ "$CINDER_USE_MOD_WSGI" == "False" ]; then get_or_create_endpoint \ "block-storage" \ "$REGION_NAME" \ "$CINDER_SERVICE_PROTOCOL://$CINDER_SERVICE_HOST:$CINDER_SERVICE_PORT/v3/\$(project_id)s" - get_or_create_endpoint \ - "volume" \ - "$REGION_NAME" \ - "$CINDER_SERVICE_PROTOCOL://$CINDER_SERVICE_HOST:$CINDER_SERVICE_PORT/v1/\$(project_id)s" - get_or_create_service "cinderv2" "volumev2" "Cinder Volume Service V2" get_or_create_endpoint \ "volumev2" \ @@ -378,11 +372,6 @@ function create_cinder_accounts { "$REGION_NAME" \ "$CINDER_SERVICE_PROTOCOL://$CINDER_SERVICE_HOST/volume/v3/\$(project_id)s" - get_or_create_endpoint \ - "volume" \ - "$REGION_NAME" \ - "$CINDER_SERVICE_PROTOCOL://$CINDER_SERVICE_HOST/volume/v1/\$(project_id)s" - get_or_create_service "cinderv2" "volumev2" "Cinder Volume Service V2" get_or_create_endpoint \ "volumev2" \