Remove volume_feature_enabled.volume_services

653f5cb70c deprecated this config
option in the Ocata cycle and can now be removed.

Change-Id: I744fea85881ec621e12744b6dc5a81f18c4b11d5
This commit is contained in:
Sean McGinnis 2017-02-25 19:48:37 -06:00
parent 18026ce378
commit 6d84d3172a
3 changed files with 7 additions and 11 deletions

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
The deprecated ``volume_services`` option in the ``volume_feature_enabled``
section has now been removed.

View File

@ -21,9 +21,7 @@ CONF = config.CONF
def _get_host(host):
if CONF.volume_feature_enabled.volume_services:
host = host.split('@')[0]
return host
return host.split('@')[0]
class VolumesServicesV2TestJSON(base.BaseVolumeAdminTest):

View File

@ -801,14 +801,7 @@ VolumeFeaturesGroup = [
help="Is the v2 volume API enabled"),
cfg.BoolOpt('api_v3',
default=False,
help="Is the v3 volume API enabled"),
# TODO(ynesenenko): Remove volume_services once liberty-eol happens.
cfg.BoolOpt('volume_services',
default=True,
help='Extract correct host info from host@backend',
deprecated_for_removal=True,
deprecated_reason='This config switch was added for Liberty '
'which is not supported anymore.')
help="Is the v3 volume API enabled")
]