Merge "Deprecate enable_novajoin"

This commit is contained in:
Zuul 2021-07-03 15:15:55 +00:00 committed by Gerrit Code Review
commit 0e1b67162c
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
The ``enable_novajoin`` parameter in undercloud/standalone deployment has
been deprecated.

View File

@ -83,6 +83,9 @@ class StandaloneConfig(BaseConfig):
help=_('Whether to enable the nova service.')), help=_('Whether to enable the nova service.')),
cfg.BoolOpt('enable_novajoin', cfg.BoolOpt('enable_novajoin',
default=novajoin, default=novajoin,
deprecated_for_removal=True,
deprecated_reason=('Support for the novajoin metadata '
'service has been deprecated.'),
help=_('Whether to install the novajoin metadata ' help=_('Whether to install the novajoin metadata '
'service') 'service')
), ),