From cec9e7f1f13f62ff813df32d70d6455917398868 Mon Sep 17 00:00:00 2001 From: Iago Estrela Date: Wed, 12 Jan 2022 16:06:14 -0300 Subject: [PATCH] Remove deprecated opts from VNC conf This change aims to remove the deprecated vncserver_listen and vnserver_proxyclient_address opts from vnc conf. Story: 2009783 Relates-To: https://review.opendev.org/c/starlingx/openstack-armada-app/+/824467 Signed-off-by: Iago Estrela Change-Id: I9a6f26d16c74b0d5f38e16ba1e483eef0b578c21 --- nova/conf/vnc.py | 9 --------- .../remove-deprecated-vnc-opts-c2bbcbf0fb777593.yaml | 10 ++++++++++ 2 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 releasenotes/notes/remove-deprecated-vnc-opts-c2bbcbf0fb777593.yaml diff --git a/nova/conf/vnc.py b/nova/conf/vnc.py index 7a6c579dd175..d9f5e0a7a685 100644 --- a/nova/conf/vnc.py +++ b/nova/conf/vnc.py @@ -39,10 +39,6 @@ Guests will get created with graphical devices to support this. Clients cfg.HostAddressOpt( 'server_listen', default='127.0.0.1', - deprecated_opts=[ - cfg.DeprecatedOpt('vncserver_listen', group='DEFAULT'), - cfg.DeprecatedOpt('vncserver_listen', group='vnc'), - ], help=""" The IP address or hostname on which an instance should listen to for incoming VNC connection requests on this node. @@ -51,11 +47,6 @@ incoming VNC connection requests on this node. cfg.HostAddressOpt( 'server_proxyclient_address', default='127.0.0.1', - deprecated_opts=[ - cfg.DeprecatedOpt('vncserver_proxyclient_address', - group='DEFAULT'), - cfg.DeprecatedOpt('vncserver_proxyclient_address', group='vnc'), - ], help=""" Private, internal IP address or hostname of VNC console proxy. diff --git a/releasenotes/notes/remove-deprecated-vnc-opts-c2bbcbf0fb777593.yaml b/releasenotes/notes/remove-deprecated-vnc-opts-c2bbcbf0fb777593.yaml new file mode 100644 index 000000000000..36d2660bae74 --- /dev/null +++ b/releasenotes/notes/remove-deprecated-vnc-opts-c2bbcbf0fb777593.yaml @@ -0,0 +1,10 @@ +--- +upgrade: + - | + vnc-related config options were deprecated in Pike release and now has been + removed: + + - ``vncserver_listen`` opt removed, now we use only server_listen to bind + vnc address opt. + - ``vncserver_proxyclient_address`` opt removed, now we use only + server_proxyclient_address opt.