Stop creating the cinderv1 endpoint
The cinder v1 api is disabled by default, the catalog entry is confusing. Change-Id: Ifea283d8aff9f7a70b68d601c5225c3d4fe250e6
This commit is contained in:
parent
f3302dcee3
commit
bfd2a54c13
11
lib/cinder
11
lib/cinder
@ -349,18 +349,12 @@ function create_cinder_accounts {
|
|||||||
|
|
||||||
# block-storage is the official service type
|
# block-storage is the official service type
|
||||||
get_or_create_service "cinder" "block-storage" "Cinder Volume Service"
|
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
|
if [ "$CINDER_USE_MOD_WSGI" == "False" ]; then
|
||||||
get_or_create_endpoint \
|
get_or_create_endpoint \
|
||||||
"block-storage" \
|
"block-storage" \
|
||||||
"$REGION_NAME" \
|
"$REGION_NAME" \
|
||||||
"$CINDER_SERVICE_PROTOCOL://$CINDER_SERVICE_HOST:$CINDER_SERVICE_PORT/v3/\$(project_id)s"
|
"$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_service "cinderv2" "volumev2" "Cinder Volume Service V2"
|
||||||
get_or_create_endpoint \
|
get_or_create_endpoint \
|
||||||
"volumev2" \
|
"volumev2" \
|
||||||
@ -378,11 +372,6 @@ function create_cinder_accounts {
|
|||||||
"$REGION_NAME" \
|
"$REGION_NAME" \
|
||||||
"$CINDER_SERVICE_PROTOCOL://$CINDER_SERVICE_HOST/volume/v3/\$(project_id)s"
|
"$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_service "cinderv2" "volumev2" "Cinder Volume Service V2"
|
||||||
get_or_create_endpoint \
|
get_or_create_endpoint \
|
||||||
"volumev2" \
|
"volumev2" \
|
||||||
|
Loading…
Reference in New Issue
Block a user