From 48fe99faf2ee92ca1c1e6eeac5519075095f33bc Mon Sep 17 00:00:00 2001 From: Lee Yarwood Date: Mon, 27 Jan 2020 19:18:24 +0000 Subject: [PATCH] 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 --- ...bled-block-migrate-cinder-iscsi-fcda802d774dfeec.yaml | 8 ++++++++ tempest/config.py | 9 ++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/deprecate-compute-feature-enabled-block-migrate-cinder-iscsi-fcda802d774dfeec.yaml diff --git a/releasenotes/notes/deprecate-compute-feature-enabled-block-migrate-cinder-iscsi-fcda802d774dfeec.yaml b/releasenotes/notes/deprecate-compute-feature-enabled-block-migrate-cinder-iscsi-fcda802d774dfeec.yaml new file mode 100644 index 0000000000..6bbb381ac6 --- /dev/null +++ b/releasenotes/notes/deprecate-compute-feature-enabled-block-migrate-cinder-iscsi-fcda802d774dfeec.yaml @@ -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. diff --git a/tempest/config.py b/tempest/config.py index 32cebc58f3..cb6cb52126 100644 --- a/tempest/config.py +++ b/tempest/config.py @@ -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 '