From 582321c54d7cd24fa61623f29a87f74df57f9bb9 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Wed, 7 Dec 2016 14:23:59 +0000 Subject: [PATCH] conf: Deprecate 'console_driver' This no longer does anything due to our use of fixtures in the test. Change-Id: Id662bf0bedbd43459cf2561b3d12b65de08db4c0 --- nova/conf/console.py | 11 +++++++++-- ...deprecate-console_driver-opt-26475263aad3b655.yaml | 9 +++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 releasenotes/notes/deprecate-console_driver-opt-26475263aad3b655.yaml diff --git a/nova/conf/console.py b/nova/conf/console.py index 443b4719f935..a6d324112b9e 100644 --- a/nova/conf/console.py +++ b/nova/conf/console.py @@ -26,11 +26,18 @@ which allows to select the console proxy service to connect to. """) default_opts = [ - # TODO(raj_singh): Deprecate this option cfg.StrOpt('console_driver', default='nova.console.xvp.XVPConsoleProxy', + deprecated_for_removal=True, + deprecated_since='15.0.0', + deprecated_reason=""" +This option no longer does anything. Previously this option had only two valid, +in-tree values: nova.console.xvp.XVPConsoleProxy and +nova.console.fake.FakeConsoleProxy. The latter of these was only used in tests +and has since been replaced. +""", help=""" -Nova-console proxy is used to set up multi-tenant VM console access. +nova-console-proxy is used to set up multi-tenant VM console access. This option allows pluggable driver program for the console session and represents driver to use for the console proxy. diff --git a/releasenotes/notes/deprecate-console_driver-opt-26475263aad3b655.yaml b/releasenotes/notes/deprecate-console_driver-opt-26475263aad3b655.yaml new file mode 100644 index 000000000000..e135519becda --- /dev/null +++ b/releasenotes/notes/deprecate-console_driver-opt-26475263aad3b655.yaml @@ -0,0 +1,9 @@ +--- +deprecations: + - | + The ``console_driver`` config opt in the ``DEFAULT`` group has been + deprecated and will be removed in a future release. This option no longer + does anything. Previously this option had only two valid, in-tree values: + ``nova.console.xvp.XVPConsoleProxy`` and + ``nova.console.fake.FakeConsoleProxy``. The latter of these was only used + in tests and has since been replaced.