Disable API v1 by default
The v1 API has been deprecated by default since Juno. While we've determined we can't get rid of it in the foreseeable future, we shouldn't enable it by default. This may encourage any remaining users to migrate. This will also get rid of some warning messages in the logs on startup warning of the deprecated API. Change-Id: Ieea9a6c764eb1b55ad399a96e218d773ad4c59a5 Partial-bug: #1413102
This commit is contained in:
parent
dc74d836cb
commit
7fcca079ff
@ -84,7 +84,7 @@ global_opts = [
|
||||
'value (None) is supplied here, the glanceclient default '
|
||||
'value is used.'),
|
||||
cfg.BoolOpt('enable_v1_api',
|
||||
default=True,
|
||||
default=False,
|
||||
deprecated_for_removal=True,
|
||||
help="DEPRECATED: Deploy v1 of the Cinder API."),
|
||||
cfg.BoolOpt('enable_v2_api',
|
||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user