API error message reports incorrect state for unavailable soft reboot
Bug #1365683 reported by
Mathew Odden
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Mathew Odden |
Bug Description
Sending a soft reboot request to the Nova API while an instance is in the stopped state results in the following response:
Status
409 Conflict
{
conflictingRequest: {
message: "Cannot 'reboot' while instance is in vm_state stopped"
code: 409
}
-
}
Since we support a hard reboot on certain states it would be better to indicate the type of reboot in the error message that isn't supported. e.g. return message: "Cannot 'soft reboot' while instance is in vm_state stopped"
Changed in nova: | |
milestone: | none → juno-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-rc1 → 2014.2 |
To post a comment you must log in.
Looks like its a small string modification here http:// git.openstack. org/cgit/ openstack/ nova/tree/ nova/compute/ api.py# n2078