From 85ec51aba7998ee46d9339eb8340d2a75cc0f0bf Mon Sep 17 00:00:00 2001 From: ZHU ZHU Date: Thu, 13 Nov 2014 10:01:28 -0600 Subject: [PATCH] Default to cinder v2 api Recently nova merged commit https://review.openstack.org/#/c/124468/ have switch to use cinder v2. Common cookbook need to be updated for this change. Change-Id: If2e5b8bee43ecfa44b77301be78e1854ddeb0876 --- CHANGELOG.md | 1 + attributes/default.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0dbe4891..ec996d8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ This file is used to list changes made in each version of cookbook-openstack-com * Bump Chef gem to 11.16 * Fix openstack_command with correct arguments order * Fix openstack_command with single argument type +* Make default using cinder v2 api ## 10.1.0 * Adding identity admin bind host endpoint to allow flexibility and consistency diff --git a/attributes/default.rb b/attributes/default.rb index 014f4f9a..d51c0113 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -341,7 +341,7 @@ default['openstack']['endpoints']['block-storage-api-bind']['bind_interface'] = default['openstack']['endpoints']['block-storage-api']['host'] = node['openstack']['endpoints']['host'] default['openstack']['endpoints']['block-storage-api']['scheme'] = 'http' default['openstack']['endpoints']['block-storage-api']['port'] = '8776' -default['openstack']['endpoints']['block-storage-api']['path'] = '/v1/%(tenant_id)s' +default['openstack']['endpoints']['block-storage-api']['path'] = '/v2/%(tenant_id)s' default['openstack']['endpoints']['block-storage-api']['bind_interface'] = nil # ******************** OpenStack Object Storage Endpoint *****************************