From 497e0321f1ab4412a1940e2d885768fec5c23b46 Mon Sep 17 00:00:00 2001 From: jichenjc Date: Fri, 1 Dec 2017 18:55:06 +0800 Subject: [PATCH] deprecate fping_path config option /os-fping was deprecated at API version 2.36, ``fping_path`` was only used by this API so it should be able to be deprecated. Change-Id: I7d3faae0013315d595386ff262cadf8b18f70c68 --- nova/conf/api.py | 7 +++++++ .../notes/deprecate_fping_path-87d192cf0e6a5930.yaml | 6 ++++++ 2 files changed, 13 insertions(+) create mode 100644 releasenotes/notes/deprecate_fping_path-87d192cf0e6a5930.yaml diff --git a/nova/conf/api.py b/nova/conf/api.py index bb41c753d29a..cca0a0374f25 100644 --- a/nova/conf/api.py +++ b/nova/conf/api.py @@ -320,6 +320,13 @@ fping_path_opts = [ cfg.StrOpt("fping_path", default="/usr/sbin/fping", deprecated_group="DEFAULT", + deprecated_for_removal=True, + deprecated_since="18.0.0", + deprecated_reason=""" +This option only used in /os-fping API and the API itself was deprecated +at version 2.36 (Newton release), also, the API itself is based on nova-network +and nova-network is deprecated as well. +""", help="The full path to the fping binary.") ] diff --git a/releasenotes/notes/deprecate_fping_path-87d192cf0e6a5930.yaml b/releasenotes/notes/deprecate_fping_path-87d192cf0e6a5930.yaml new file mode 100644 index 000000000000..c3095ff78749 --- /dev/null +++ b/releasenotes/notes/deprecate_fping_path-87d192cf0e6a5930.yaml @@ -0,0 +1,6 @@ +--- +deprecations: + - | + The ``fping_path`` configuration option has been deprecated. + /os-fping is used by nova-network and nova-network itself is + deprecated and will be removed in the future.