compute: Deprecate [compute-feature-enabled]/block_migrate_cinder_iscsi

This option duplicates the more generic
[compute-feature-enabled]/block_migration_for_live_migration now that
MIN_LIBVIRT_VERSION is >= 1.2.17 on all branches from stable/rocky. We
can deprecate this now ahead of removal once stable/pike and
stable/queens are no longer supported.

Change-Id: I8d8ae5ebf8e1d383f184527815f0a0c0ba9a343d
This commit is contained in:
Lee Yarwood 2020-01-27 19:18:24 +00:00
parent acfb494c85
commit 48fe99faf2
2 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1,8 @@
---
deprecations:
- |
The ``[compute-feature-enabled]/block_migrate_cinder_iscsi`` is deprecated
ahead of removal in a future release. Once removed the
``[compute-feature-enabled]/block_migration_for_live_migration``
configurable will then be used to determine when to run block migration
based tests during live migration.

View File

@ -475,7 +475,14 @@ ComputeFeaturesGroup = [
default=False,
help="Does the test environment support block migration with "
"Cinder iSCSI volumes. Note: libvirt >= 1.2.17 is required "
"to support this if using the libvirt compute driver."),
"to support this if using the libvirt compute driver.",
deprecated_for_removal=True,
deprecated_reason='This option duplicates the more generic '
'[compute-feature-enabled]/block_migration '
'_for_live_migration now that '
'MIN_LIBVIRT_VERSION is >= 1.2.17 on all '
'branches from stable/rocky and will be '
'removed in a future release.'),
cfg.BoolOpt('vnc_console',
default=False,
help='Enable VNC console. This configuration value should '