[openstack-dev] [ironic] SOFT_REBOOT powers off/on the server

Lenny Berkhovsky lennyb at mellanox.com
Mon Jun 25 10:31:29 UTC 2018


Hi,
Is there a reason for powering off and on[1] instead of resetting server during SOFT_REBOOT?
I have a patchset[2] that resets the server instead of power cycling it.

[1] https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/ipmitool.py#L820
  elif power_state == states.SOFT_REBOOT:
            _soft_power_off(task, driver_info, timeout=timeout)
            driver_utils.ensure_next_boot_device(task, driver_info)
            _power_on(task, driver_info, timeout=timeout)

[2] https://review.openstack.org/#/c/577748/

Lenny Verkhovsky
( aka lennyb )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180625/ea29d2e0/attachment.html>


More information about the OpenStack-dev mailing list