nova sync_power_states broken when db is stopped, but VM is running
Bug #1226965 reported by
hill
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Russell Bryant |
Bug Description
the Nova has the logic to synchronize the state of virtual machine with the record in database, when the state is stopped but
the virtual machine is in running state, it will try to stop the virtual machine with compute api call. But the compute api
call has the check that only allow to execute the call when VM in ACTIVE,RESCUED, ERROR state. So the sync logic is broken here.
option 1:
allow to run stop API when VM in stopped state
option 2:
add another method in API such as force_stop , and sync_power_states will use this api to stop the VM.
option 3:
sync_
tags: | added: compute |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → havana-rc1 |
Changed in nova: | |
assignee: | nobody → Russell Bryant (russellb) |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-rc1 → 2013.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/47487
Review: https:/