OpenStack Compute (Nova)

XenServer clean_reboot task doesn't time out

Reported by Chris Behrens on 2011-10-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Low
Josh Kearney

Bug Description

When doing a clean_reboot, it's possible that a guest kernel is completely hung in a way that causes the XenAPI clean_reboot task to not ever finish. We need to find a way to time those out if they don't complete within 'x' period of time... When that happens, we need to cancel the task, and then issue a hard reboot instead.

Note: It might also be desirable that if you get a 'hard reboot' request via the API... and there's a 'clean_reboot' task that is currently outstanding... that we go ahead and cancel the clean_reboot task and then issue the hard reboot task.

Josh Kearney (jk0) on 2011-10-13
Changed in nova:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Josh Kearney (jk0)

Reviewed: https://review.openstack.org/872
Committed: http://github.com/openstack/nova/commit/e50e9b44ab2b8b1184f93d24734af4b5862777bf
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit e50e9b44ab2b8b1184f93d24734af4b5862777bf
Author: Josh Kearney <email address hidden>
Date: Thu Oct 13 13:14:57 2011 -0500

    Adds the ability to automatically issue a hard reboot to instances that have been stuck in a 'rebooting' state for longer than a specified window.

    Fixes bug 873099.

    Change-Id: Ife2c64326fdb3ec849242583d1bd1d96f9f4be0f

Changed in nova:
status: In Progress → Fix Committed
Josh Kearney (jk0) on 2011-10-14
Changed in nova:
status: Fix Committed → In Progress

Reviewed: https://review.openstack.org/894
Committed: http://github.com/openstack/nova/commit/1ebd98e3d20a35fc543800677cfe5e006a2f8cab
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit 1ebd98e3d20a35fc543800677cfe5e006a2f8cab
Author: Josh Kearney <email address hidden>
Date: Fri Oct 14 16:15:25 2011 -0500

    Cancel any clean_reboot tasks before issuing the hard_reboot.

    Fixes bug 873099.

    Change-Id: Id296cf60c832b31dd5320e119c797975d7a86299

Josh Kearney (jk0) on 2011-10-14
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2011-11-09
Changed in nova:
milestone: none → essex-1
Thierry Carrez (ttx) on 2011-11-17
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-1 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers