Browse Source

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
Kristi Nikolla 11 months ago
parent
commit
0f7c097d7e
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      devstack/mixmatch.sh

+ 5
- 5
devstack/mixmatch.sh View File

@@ -85,7 +85,7 @@ function register_mixmatch {
85 85
     if [ "$REGISTER_MIXMATCH" == "true" ]; then
86 86
         # Update the endpoints
87 87
         openstack endpoint delete `get_endpoint_ids image`
88
-        openstack endpoint delete `get_endpoint_ids volume`
88
+        openstack endpoint delete `get_endpoint_ids block-storage`
89 89
         openstack endpoint delete `get_endpoint_ids volumev2`
90 90
         openstack endpoint delete `get_endpoint_ids volumev3`
91 91
         openstack endpoint delete `get_endpoint_ids network`
@@ -98,11 +98,11 @@ function register_mixmatch {
98 98
             "$MIXMATCH_URL/image"
99 99
 
100 100
         get_or_create_endpoint \
101
-            "volume" \
101
+            "block-storage" \
102 102
             "$REGION_NAME" \
103
-            "$MIXMATCH_URL/volume/v1/\$(project_id)s" \
104
-            "$MIXMATCH_URL/volume/v1/\$(project_id)s" \
105
-            "$MIXMATCH_URL/volume/v1/\$(project_id)s"
103
+            "$MIXMATCH_URL/volume/v3/\$(project_id)s" \
104
+            "$MIXMATCH_URL/volume/v3/\$(project_id)s" \
105
+            "$MIXMATCH_URL/volume/v3/\$(project_id)s"
106 106
 
107 107
         get_or_create_endpoint \
108 108
             "volumev2" \

Loading…
Cancel
Save