Merge "Disable API v1 by default"

This commit is contained in:
Jenkins 2016-10-03 15:14:33 +00:00 committed by Gerrit Code Review
commit 2e54156328
2 changed files with 7 additions and 1 deletions

View File

@ -84,7 +84,7 @@ global_opts = [
'value (None) is supplied here, the glanceclient default ' 'value (None) is supplied here, the glanceclient default '
'value is used.'), 'value is used.'),
cfg.BoolOpt('enable_v1_api', cfg.BoolOpt('enable_v1_api',
default=True, default=False,
deprecated_for_removal=True, deprecated_for_removal=True,
help="DEPRECATED: Deploy v1 of the Cinder API."), help="DEPRECATED: Deploy v1 of the Cinder API."),
cfg.BoolOpt('enable_v2_api', cfg.BoolOpt('enable_v2_api',

View File

@ -0,0 +1,6 @@
---
upgrade:
- The v1 API was deprecated in the Juno release and is
now defaulted to disabled. In order to still use the
v1 API, you must now set ``enable_v1_api`` to ``True``
in your cinder.conf file.