def _cleaning_reboot(self, task):
        try:
            manager_utils.node_power_action(task, states.REBOOT)
        except Exception as e:
            msg = (_('Reboot requested by clean step %(step)s failed for '
                     'node %(node)s: %(err)s') %
                   {'step': task.node.clean_step,
                    'node': task.node.uuid,
                    'err': e})
            LOG.error(msg)
            # do not set cleaning_reboot if we didn't reboot
            manager_utils.cleaning_error_handler(task, msg)
            return

        # Signify that we've rebooted
        driver_internal_info = task.node.driver_internal_info
        driver_internal_info['cleaning_reboot'] = True
        task.node.driver_internal_info = driver_internal_info
        task.node.save()
Test that Variables have correct group pointer
dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/agent_base_vendor.py/BaseAgentVendor._cleaning_reboot--crossover with--dataset/ETHPy150Open Unidata/siphon/siphon/cdmr/tests/test_dataset.py/TestDataset.test_var_group