reboot from non-running in kvm doesn't work

Bug #951235 reported by Vish Ishaya on 2012-03-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Vish Ishaya

Bug Description

From an ml post:
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.

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

Fix proposed to branch: master

Changed in nova:
status: Triaged → In Progress

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) on 2012-03-20
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-rc1 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers