Deprecate minion commands

With the move to the nova-less and neutron bits being moved out of the
heat process, the minion doesn't make as much sense to continue to
support.  Let's deprecated it for removal in future versions.

Change-Id: I318aa2497775c8c5f049384ede75915dc5d49ba8
This commit is contained in:
Alex Schultz 2021-01-22 11:03:55 -07:00
parent f463fa1e47
commit 261f4685b8
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,