Remove ENABLE_FLAVOR_EDIT config option

ENABLE_FLAVOR_EDIT is deprecated since Pike release and is not used
anywhere.

Change-Id: I06d5252c8f7bd955025587393f5d8ff00fe01c3b
This commit is contained in:
Ivan Kolodyazhny 2019-05-02 22:26:11 -06:00
parent 4ab7f806b8
commit 0e518521c8
3 changed files with 5 additions and 24 deletions

View File

@ -2065,29 +2065,6 @@ This setting specifies the type of in-browser console used to access the VMs.
Valid values are ``"AUTO"``, ``"VNC"``, ``"SPICE"``, ``"RDP"``,
``"SERIAL"``, ``"MKS"``, and ``None``.
ENABLE_FLAVOR_EDIT
~~~~~~~~~~~~~~~~~~
.. versionadded:: 12.0.0(Pike)
.. deprecated:: 12.0.0(Pike)
Default: ``False``
This setting enables the ability to edit flavors.
.. warning::
Historically, Horizon has provided the ability to edit Flavors by deleting
and creating a new one with the same information. This is not supported in
the Nova API and causes unexpected issues and breakages. To avoid breaking
standard deprecation procedure, this code is still in Horizon, but disabled
by default. It will be removed during the 14.0.0 ('R') release cycle.
See `this email thread
<http://lists.openstack.org/pipermail/openstack-dev/2017-August/120540.html>`_
for further information.
INSTANCE_LOG_LENGTH
~~~~~~~~~~~~~~~~~~~

View File

@ -166,7 +166,7 @@ def check_invalid_settings(dummy=None):
@register_check(_("Deprecated Settings"))
def check_deprecated_settings(dummy=None):
DEPRECATED_SETTINGS = {'ENABLE_FLAVOR_EDIT'}
DEPRECATED_SETTINGS = set()
deprecated = []
for setting in dir(settings):
if not setting.isupper() or setting.startswith("_"):

View File

@ -0,0 +1,4 @@
---
upgrade:
- |
Deprecated config option ENABLE_FLAVOR_EDIT is removed.