Deprecate spice_console and rdp_console config items

spice_console and rdp_console are no longer used after
9f5adf8053, this is to deprecate
them for removal.

Change-Id: I8a882878493e3fe39bbfe0628991ee551c15d1b0
This commit is contained in:
zhufl 2019-11-01 14:01:01 +08:00
parent 52d7083f76
commit d5bda71259
2 changed files with 16 additions and 2 deletions

View File

@ -0,0 +1,6 @@
---
deprecations:
- |
The config options ``CONF.compute.spice_console`` and ``CONF.compute.rdp_console``
are deprecated because test cases using them are removed.
We can add them back when adding the test cases again.

View File

@ -492,11 +492,19 @@ ComputeFeaturesGroup = [
cfg.BoolOpt('spice_console',
default=False,
help='Enable Spice console. This configuration value should '
'be same as nova.conf: spice.enabled'),
'be same as nova.conf: spice.enabled',
deprecated_for_removal=True,
deprecated_reason="This config option is not being used "
"in Tempest, we can add it back when "
"adding the test cases."),
cfg.BoolOpt('rdp_console',
default=False,
help='Enable RDP console. This configuration value should '
'be same as nova.conf: rdp.enabled'),
'be same as nova.conf: rdp.enabled',
deprecated_for_removal=True,
deprecated_reason="This config option is not being used "
"in Tempest, we can add it back when "
"adding the test cases."),
cfg.BoolOpt('serial_console',
default=False,
help='Enable serial console. This configuration value '