incorrect nova api documentation for revert resize
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Matthew Edmonds |
Bug Description
The API documentation for revert resize here: http://
"You can only confirm the resized server where the status is VERIFY_RESIZE and the vm_status is RESIZED."
and possibly also:
"If the server status remains RESIZED, the request failed. Ensure you meet the preconditions and run the request again. If the request fails again, investigate the compute back end."
since I hope you can revert a resize that never actually made it to status RESIZED, in which case there should be more to it than that.
tags: | added: api-ref |
Changed in nova: | |
status: | New → Confirmed |
tags: | added: doc |
Changed in nova: | |
assignee: | Matthew Edmonds (edmondsw) → Matt Riedemann (mriedem) |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Matthew Edmonds (edmondsw) |
mriedem pointed out that RESIZED actually is the correct precondition: https:/ /github. com/openstack/ nova/blob/ master/ nova/compute/ api.py# L2449
so this should just be replacing 'confirm' with 'revert' in the other message.