From 3495330a94e4728ba44077f0585b34b8c74112b0 Mon Sep 17 00:00:00 2001 From: Markus Zoeller Date: Thu, 7 Jul 2016 11:07:37 +0200 Subject: [PATCH] Verify "needs:check_deprecation_status" for serial_console.py This change verifies that the config options for serial console are checked for their deprecation status according to: https://wiki.openstack.org/wiki/ConfigOptionsConsistency The previously deprecated option "listen" gets removed. bp centralize-config-options-newton Change-Id: I000d676ee95d34d43530c2ce2e4d1b3c01dab063 --- nova/conf/serial_console.py | 11 ----------- .../remove-config-serial-listen-2660be1c0863ea5a.yaml | 6 ++++++ 2 files changed, 6 insertions(+), 11 deletions(-) create mode 100644 releasenotes/notes/remove-config-serial-listen-2660be1c0863ea5a.yaml diff --git a/nova/conf/serial_console.py b/nova/conf/serial_console.py index 3b84ffd92542..eac01ae56192 100644 --- a/nova/conf/serial_console.py +++ b/nova/conf/serial_console.py @@ -1,5 +1,4 @@ # needs:fix_opt_description -# needs:check_deprecation_status # needs:check_opt_group_and_type # needs:fix_opt_description_indentation # needs:fix_opt_registration_consistency @@ -105,15 +104,6 @@ Interdependencies to other options: and ``key`` in the ``[DEFAULT]`` section have to be set for that. """) -# This config option was never used -listen_opt = cfg.StrOpt('listen', - default='127.0.0.1', - deprecated_for_removal=True, - help=""" -DEPRECATED: this option has no effect anymore. Please use -"proxyclient_address" instead. This option is deprecated and will be removed -in future releases.""") - proxyclient_address_opt = cfg.StrOpt('proxyclient_address', default='127.0.0.1', help=""" @@ -187,7 +177,6 @@ Interdependencies to other options: ALL_OPTS = [enabled_opt, port_range_opt, base_url_opt, - listen_opt, proxyclient_address_opt, serialproxy_host_opt, serialproxy_port_opt] diff --git a/releasenotes/notes/remove-config-serial-listen-2660be1c0863ea5a.yaml b/releasenotes/notes/remove-config-serial-listen-2660be1c0863ea5a.yaml new file mode 100644 index 000000000000..3fe5567cc693 --- /dev/null +++ b/releasenotes/notes/remove-config-serial-listen-2660be1c0863ea5a.yaml @@ -0,0 +1,6 @@ +--- +upgrade: + - | + The previously deprecated config option ``listen```of the group + ``serial_console`` has been removed, as it was never used in the code. +