'Trigger crash dump mechanism on the given instance.
Stalling instances can be triggered to dump the crash data. How the
guest OS reacts in details, depends on the configuration of it.
:param instance: The instance where the crash dump should be triggered.
:return: None'

def trigger_crash_dump(self, instance):

    LOG.debug('Trigger    crash    dump    called    for    instance', instance=instance)
    node = self._validate_instance_and_node(instance)
    self.ironicclient.call('node.inject_nmi', node.uuid)
    LOG.info('Successfully    triggered    crash    dump    into    Ironic    node    %s', node.uuid, instance=instance)
