diff --git a/ironic/conf/inspector.py b/ironic/conf/inspector.py index 684151bce6..d449f1f2e9 100644 --- a/ironic/conf/inspector.py +++ b/ironic/conf/inspector.py @@ -19,9 +19,9 @@ from ironic.conf import auth opts = [ cfg.BoolOpt('enabled', default=False, - help=_('whether to enable inspection using ironic-inspector. ' - 'This option does not affect new-style dynamic ' - 'drivers.')), + help=_('This option has no affect since the classic drivers ' + 'removal.'), + deprecated_for_removal=True), cfg.StrOpt('service_url', deprecated_for_removal=True, deprecated_reason=_("Use [inspector]/endpoint_override option " diff --git a/releasenotes/notes/deprecate-inspector-enabled-901fd9c9426046c7.yaml b/releasenotes/notes/deprecate-inspector-enabled-901fd9c9426046c7.yaml new file mode 100644 index 0000000000..9e4366f3d7 --- /dev/null +++ b/releasenotes/notes/deprecate-inspector-enabled-901fd9c9426046c7.yaml @@ -0,0 +1,7 @@ +--- +deprecations: + - | + The ``[inspector]enabled`` configuration option is deprecated. It only + affected classic drivers, and with their removal it no longer has any + effect. Use the ``enabled_inspect_interfaces`` option to enable/disable + support for ironic-inspector.