A soft reboot should allow the server to shut down gracefully. A reset wouldn't do that, at least as I understand it. A reset would be more appropriate for a hard reboot, although I see Dmitry had a couple of other concerns with implementing it as a reset on the review. -Ben On 06/25/2018 05:31 AM, Lenny Berkhovsky wrote: > 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 ) > > > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >