Deprecate the Cinder API v2 support

Change-Id: Ice67d29f31aa5bd5c84fad4e828435d8552a9629
This commit is contained in:
Ildiko Vancsa 2017-03-10 11:59:03 +01:00
parent 8d9bf947a4
commit 89f984d028
2 changed files with 9 additions and 0 deletions

View File

@ -88,6 +88,10 @@ def cinderclient(context):
if version == '1':
raise exception.UnsupportedCinderAPIVersion(version=version)
if version == '2':
LOG.warning("The support for the Cinder API v2 is deprecated, please "
"upgrade to Cinder API v3.")
if version == '3':
# TODO(ildikov): Add microversion support for picking up the new
# attach/detach API that was added in 3.27.

View File

@ -0,0 +1,5 @@
deprecations:
- |
Nova support for using the Block Storage (Cinder) v2 API is now deprecated
and will be removed in the 17.0.0 Queens release. The v3 API is now the
default and is backward compatible with the v2 API.