From bb536ee40d95bb49cce2d82c28ce5f9a79a550a5 Mon Sep 17 00:00:00 2001 From: Akihito INOH Date: Thu, 25 May 2017 08:27:51 +0900 Subject: [PATCH] Change cinder api_version to '3' in default Block Storage API v2 is deprecated now. Instead of it, we should use v3 in default (api_version). This patch replace cinder default api_version from '2' to '3' in conf/cinder_client.py Change-Id: I53ffa74cdac7ac31c74937bf18da8ed2fec92223 Closes-Bug: #1691104 --- watcher/conf/cinder_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watcher/conf/cinder_client.py b/watcher/conf/cinder_client.py index 835d350e8..ddd86b4f0 100644 --- a/watcher/conf/cinder_client.py +++ b/watcher/conf/cinder_client.py @@ -23,7 +23,7 @@ cinder_client = cfg.OptGroup(name='cinder_client', CINDER_CLIENT_OPTS = [ cfg.StrOpt('api_version', - default='2', + default='3', help='Version of Cinder API to use in cinderclient.'), cfg.StrOpt('endpoint_type', default='internalURL',