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:
parent
f463fa1e47
commit
261f4685b8
@ -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.
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user