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
This commit is contained in:
parent
7817b0c8a6
commit
0f7c097d7e
@ -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" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user