aboutsummaryrefslogtreecommitdiff
path: root/docker/common/cinder-app/cinder-base
diff options
context:
space:
mode:
authorRyan Hallisey <rhallise@redhat.com>2015-06-26 09:38:05 -0400
committerRyan Hallisey <rhallise@redhat.com>2015-06-26 17:17:34 -0400
commit3935cbafa31c1eb6da396c678876b4b3a3141e2a (patch)
tree79f045e0141cd57a09fdb13d26ccc262d30d39be /docker/common/cinder-app/cinder-base
parent370343e329aee9e68fb6e2c0c872d60a72ac3832 (diff)
downloadkolla-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-base')
-rw-r--r--docker/common/cinder-app/cinder-base/config-cinder.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/common/cinder-app/cinder-base/config-cinder.sh b/docker/common/cinder-app/cinder-base/config-cinder.sh
index 37a5f2a4b..62deafb9e 100644
--- a/docker/common/cinder-app/cinder-base/config-cinder.sh
+++ b/docker/common/cinder-app/cinder-base/config-cinder.sh
@@ -11,7 +11,7 @@ check_required_vars CINDER_DB_PASSWORD CINDER_KEYSTONE_PASSWORD \
RABBIT_USERID RABBIT_PASSWORD GLANCE_API_SERVICE_HOST \
GLANCE_API_SERVICE_PORT ADMIN_TENANT_NAME \
CINDER_DB_NAME CINDER_DB_USER CINDER_KEYSTONE_USER \
- PUBLIC_IP KEYSTONE_AUTH_PROTOCOL
+ PUBLIC_IP KEYSTONE_AUTH_PROTOCOL CINDER_API_VERSION
dump_vars
@@ -20,6 +20,7 @@ export OS_AUTH_URL="${KEYSTONE_AUTH_PROTOCOL}://${KEYSTONE_PUBLIC_SERVICE_HOST}:
export OS_USERNAME="${CINDER_KEYSTONE_USER}"
export OS_PASSWORD="${CINDER_KEYSTONE_PASSWORD}"
export OS_TENANT_NAME="${ADMIN_TENANT_NAME}"
+export OS_VOLUME_API_VERSION=$CINDER_API_VERSION
EOF
cfg=/etc/cinder/cinder.conf