Merge "Deprecate minion commands"

This commit is contained in:
Zuul 2021-01-30 16:45:09 +00:00 committed by Gerrit Code Review
commit 0c669f61ec
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,6 @@
---
deprecations:
- |
With the move to Nova-less provisioning and Neutron network management
being removed from being managed via Heat, the undercloud minion
functionality is now deprecated.

View File

@ -97,6 +97,9 @@ class InstallUndercloudMinion(command.Command):
return parser
def take_action(self, parsed_args):
self.log.warning("[DEPRECATED] This command has been deprecated. "
"The minion functionality is no longer as necessary "
"with the move to nova-less provisioning.")
# Fetch configuration used to add logging to a file
utils.load_config(self.osloconfig, constants.MINION_CONF_PATH)
utils.configure_logging(self.log, self.app_args.verbose_level,
@ -130,6 +133,9 @@ class UpgradeUndercloudMinion(InstallUndercloudMinion):
osloconfig = cfg.CONF
def take_action(self, parsed_args):
self.log.warning("[DEPRECATED] This command has been deprecated. "
"The minion functionality is no longer as necessary "
"with the move to nova-less provisioning.")
# Fetch configuration used to add logging to a file
utils.load_config(self.osloconfig, constants.MINION_CONF_PATH)
utils.configure_logging(self.log, self.app_args.verbose_level,