From 5078e8b87de957f2aa0dcc6973a29fa0284f8d80 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Fri, 16 Sep 2016 11:13:11 -0400 Subject: [PATCH] Deprecate nova api extensions config option Now that the nova extensions mechanism is deprecated and api extensions aren't really a thing anymore we should deprecate the corresponding mechanism in tempest. Moving forward there really isn't anything to set here because microversions are the api selection mechanism and the "extension list" is fixed. We can remove this option when no supported nova release contains extensions anymore. Change-Id: I1286294b1b61aebf53437b37f6c141bc4c587b1f --- .../deprecate-nova-api-extensions-df16b02485dae203.yaml | 7 +++++++ tempest/config.py | 8 +++++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/deprecate-nova-api-extensions-df16b02485dae203.yaml diff --git a/releasenotes/notes/deprecate-nova-api-extensions-df16b02485dae203.yaml b/releasenotes/notes/deprecate-nova-api-extensions-df16b02485dae203.yaml new file mode 100644 index 0000000000..c2d9a9bc95 --- /dev/null +++ b/releasenotes/notes/deprecate-nova-api-extensions-df16b02485dae203.yaml @@ -0,0 +1,7 @@ +--- +deprecations: + - The *api_extensions* config option in the *compute-feature-enabled* group is + now deprecated. This option will be removed from tempest when all the + OpenStack releases supported by tempest no longer support the API extensions + mechanism. This was removed from Nova during the Newton cycle, so this will + be removed at the Mitaka EOL. diff --git a/tempest/config.py b/tempest/config.py index f6c89ae9da..4d8b46251c 100644 --- a/tempest/config.py +++ b/tempest/config.py @@ -318,7 +318,13 @@ ComputeFeaturesGroup = [ help='A list of enabled compute extensions with a special ' 'entry all which indicates every extension is enabled. ' 'Each extension should be specified with alias name. ' - 'Empty list indicates all extensions are disabled'), + 'Empty list indicates all extensions are disabled', + deprecated_for_removal=True, + deprecated_reason='The Nova extensions API and mechanism ' + 'is deprecated. This option will be ' + 'removed when all releases supported ' + 'by tempest no longer contain the Nova ' + 'extensions API and mechanism.'), cfg.BoolOpt('change_password', default=False, help="Does the test environment support changing the admin "