Deprecate [inspector]enabled option

It was only used with classic drivers, with their removal we no longer
need it.

Change-Id: I6670ad515d269d1256f8ddc6fddb451e790557e7
This commit is contained in:
Dmitry Tantsur 2018-06-26 14:51:01 +02:00
parent 2e568bdd56
commit 53048b992b
2 changed files with 10 additions and 3 deletions

View File

@ -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 "

View File

@ -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.