reboot from non-running in kvm doesn't work

Bug #951235 reported by Vish Ishaya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Vish Ishaya

Bug Description

From an ml post:
<snip>
Now how to start the vms. In Daiblo, I always just using "nova reboot", it works.But in essex version, it seems cannot use "nova reboot" in an inactive domain. I see there is "nova host-action" command, but it not always make vm start.
</snip>

the reboot will fail if the domain state is in shutdown or shutoff. It needs to be smarter and attempt to start the domain in all cases.

Changed in nova:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Vish Ishaya (vishvananda)
milestone: none → essex-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/5177

Changed in nova:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit dc68e51c51b9d423601f6c1bfd627716df1e66bd
Author: Vishvananda Ishaya <email address hidden>
Date: Fri Mar 9 15:45:49 2012 -0800

    Allow soft_reboot to work from more states:

     * update sync_power_states to update other states
     * only attempt to shutdown the domain if it is running
     * attempt to start the domain from shutoff and crashed
     * fixes bug 951235

    Change-Id: Icaa071ac59700385d9985315b99c0468415e444a

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-rc1 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.