From 0f7c097d7e8f679ce8d1b64ecc6fc472264419fd Mon Sep 17 00:00:00 2001 From: Kristi Nikolla Date: Thu, 24 May 2018 10:01:39 -0700 Subject: [PATCH] Remove volume v1 from devstack plugin and add block-storage With volume v1 being removed from cinder, we need to stop registering the endpoint. Also it looks like devstack registers a block-storage endpoint which points to volume v3. Change-Id: I565e9d9c61436bc0ce4651f7c7029e3e0dbdf3ac --- devstack/mixmatch.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/devstack/mixmatch.sh b/devstack/mixmatch.sh index d859645..15959ac 100644 --- a/devstack/mixmatch.sh +++ b/devstack/mixmatch.sh @@ -85,7 +85,7 @@ function register_mixmatch { if [ "$REGISTER_MIXMATCH" == "true" ]; then # Update the endpoints openstack endpoint delete `get_endpoint_ids image` - openstack endpoint delete `get_endpoint_ids volume` + openstack endpoint delete `get_endpoint_ids block-storage` openstack endpoint delete `get_endpoint_ids volumev2` openstack endpoint delete `get_endpoint_ids volumev3` openstack endpoint delete `get_endpoint_ids network` @@ -98,11 +98,11 @@ function register_mixmatch { "$MIXMATCH_URL/image" get_or_create_endpoint \ - "volume" \ + "block-storage" \ "$REGION_NAME" \ - "$MIXMATCH_URL/volume/v1/\$(project_id)s" \ - "$MIXMATCH_URL/volume/v1/\$(project_id)s" \ - "$MIXMATCH_URL/volume/v1/\$(project_id)s" + "$MIXMATCH_URL/volume/v3/\$(project_id)s" \ + "$MIXMATCH_URL/volume/v3/\$(project_id)s" \ + "$MIXMATCH_URL/volume/v3/\$(project_id)s" get_or_create_endpoint \ "volumev2" \