diff options
| author | Ryan Hallisey <rhallise@redhat.com> | 2015-06-26 09:38:05 -0400 |
|---|---|---|
| committer | Ryan Hallisey <rhallise@redhat.com> | 2015-06-26 17:17:34 -0400 |
| commit | 3935cbafa31c1eb6da396c678876b4b3a3141e2a (patch) | |
| tree | 79f045e0141cd57a09fdb13d26ccc262d30d39be /docker/common/cinder-app/cinder-api | |
| parent | 370343e329aee9e68fb6e2c0c872d60a72ac3832 (diff) | |
| download | kolla-3935cbafa31c1eb6da396c678876b4b3a3141e2a.tar.gz kolla-3935cbafa31c1eb6da396c678876b4b3a3141e2a.zip | |
Liberty requires Cinder to use the v2 API
The Liberty release of Cinder will remove the v1 api so we
need to disable it in the cinder_api container and use v2.
Change-Id: I5dab7214d4d39afdf92555e3ffbd7f4a6194cd45
Closes-bug: #1469177
Diffstat (limited to 'docker/common/cinder-app/cinder-api')
| -rwxr-xr-x | docker/common/cinder-app/cinder-api/start.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docker/common/cinder-app/cinder-api/start.sh b/docker/common/cinder-app/cinder-api/start.sh index 860308e62..cbf0159e5 100755 --- a/docker/common/cinder-app/cinder-api/start.sh +++ b/docker/common/cinder-app/cinder-api/start.sh @@ -30,9 +30,9 @@ crux user-create --update \ crux endpoint-create --remove-all \ -n cinder \ -t volume \ - -P "http://${CINDER_API_SERVICE_HOST}:${CINDER_API_SERVICE_PORT}/v1/\$(tenant_id)s" \ - -A "http://${CINDER_API_SERVICE_HOST}:${CINDER_API_SERVICE_PORT}/v1/\$(tenant_id)s" \ - -I "http://${CINDER_API_SERVICE_HOST}:${CINDER_API_SERVICE_PORT}/v1/\$(tenant_id)s" + -P "http://${CINDER_API_SERVICE_HOST}:${CINDER_API_SERVICE_PORT}/v2/\$(tenant_id)s" \ + -A "http://${CINDER_API_SERVICE_HOST}:${CINDER_API_SERVICE_PORT}/v2/\$(tenant_id)s" \ + -I "http://${CINDER_API_SERVICE_HOST}:${CINDER_API_SERVICE_PORT}/v2/\$(tenant_id)s" crux endpoint-create --remove-all \ -n cinderv2 \ @@ -61,7 +61,7 @@ crudini --set $cfg \ crudini --set $cfg \ DEFAULT \ enable_v1_api \ - "true" + "false" crudini --set $cfg \ DEFAULT \ |
