Deprecate the `deactivate_image` configuration switch

It was added to support the older-than-kilo releases which we
don't support anymore.

Change-Id: I584cd40a9b5f297537333336b1b9a46ccf1ddc67
This commit is contained in:
Jordan Pittier
2017-03-15 14:00:23 +01:00
parent af6f482b61
commit ee88041bf4
2 changed files with 12 additions and 3 deletions

View File

@@ -0,0 +1,6 @@
---
deprecations:
- |
The ``deactivate_image`` configuration switch from the ``config`` module
is deprecated. It was added to support the older-than-kilo releases
which we don't support anymore.

View File

@@ -223,8 +223,8 @@ IdentityFeatureGroup = [
default=True,
help='Does the environment support reseller?',
deprecated_for_removal=True,
deprecated_reason="All supported version of OpenStack now "
"supports the 'reseller' feature"),
deprecated_reason="All supported versions of OpenStack now "
"support the 'reseller' feature"),
# TODO(rodrigods): This is a feature flag for bug 1590578 which is fixed
# in Newton and Ocata. This option can be removed after Mitaka is end of
# life.
@@ -531,7 +531,10 @@ ImageFeaturesGroup = [
cfg.BoolOpt('deactivate_image',
default=False,
help="Is the deactivate-image feature enabled."
" The feature has been integrated since Kilo."),
" The feature has been integrated since Kilo.",
deprecated_for_removal=True,
deprecated_reason="All supported versions of OpenStack now "
"support the 'deactivate_image' feature"),
]
network_group = cfg.OptGroup(name='network',