Remove deprecation warning for bulk introspection
The new node management commands (bug 1595205) were meant to deprecate some of the existing commands encroaching on the 'baremetal' namespace, however there weren't all marked as such along the way nor were the docs CI etc updated to match the new names and flow. Let's remove the lonely deprecation warning to avoid the bad user experience of following the current documentation yet getting warnings, and do the deprecation properly at the beginning of Ocata. This is not a backport because the warning is valid on master (Ocata) and should only be removed from Newton. Change-Id: I1cf4f4625d72330c87035f6ddcdef762d9930c34 Closes-Bug: #1626621
This commit is contained in:
parent
6365c76c27
commit
5f4866d6f5
|
@ -198,19 +198,13 @@ class ImportBaremetal(command.Command):
|
|||
|
||||
|
||||
class StartBaremetalIntrospectionBulk(command.Command):
|
||||
"""Start bulk introspection on all baremetal nodes (Deprecated).
|
||||
|
||||
Please use 'openstack overcloud node introspect' instead.
|
||||
"""
|
||||
"""Start bulk introspection on all baremetal nodes."""
|
||||
|
||||
log = logging.getLogger(__name__ + ".StartBaremetalIntrospectionBulk")
|
||||
|
||||
def take_action(self, parsed_args):
|
||||
|
||||
self.log.debug("take_action(%s)" % parsed_args)
|
||||
self.log.warning('This command is deprecated. Please use "openstack '
|
||||
'overcloud node introspect" to introspect manageable '
|
||||
'nodes instead.\n')
|
||||
|
||||
queue_name = str(uuid.uuid4())
|
||||
clients = self.app.client_manager
|
||||
|
|
Loading…
Reference in New Issue