Merge "Deprecate [inspector]enabled option"

This commit is contained in:
Zuul 2018-06-28 17:25:26 +00:00 committed by Gerrit Code Review
commit fb1876b8b1
2 changed files with 10 additions and 3 deletions

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

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