Matt Riedemann 203572a8ae Fix docs for confirmResize action
The docs had three things wrong:

1. The server status would be VERIFY_RESIZE, not VERIFY_RESIZED.

2. The RESIZED value is on the OS-EXT-STS:vm_state field, not
   vm_status.

3. The migration record status must be "finished", which is what
   gets set on the migration record in the _finish_resize() method
   in ComputeManager and used in the comptue API.confirm_resize()
   method. "confirming" status is what the API sets the migration
   record to before casting to nova-compute to finish the
   confirmation.

Stepping back, this is too many conditionals for what is really
needed. So rather than fix all three items individually, this
change simply fixes the first one and removes the other two since
the 'status' is based on the 'vm_state' internally, and a non-admin
user cannot list migrations anyway, and the _finish_resize()
method sets the migration status *before* the vm_state.

Closes-Bug: #1764878

Change-Id: Ib751686880ee824cf0693a649f47c828f515b471
2018-04-18 13:09:27 +00:00
..
2018-01-18 10:39:24 +00:00
2016-11-11 14:01:51 -05:00
2017-03-31 06:19:01 +00:00
2017-09-07 15:42:31 +02:00
2017-04-27 22:28:01 -04:00
2017-05-04 16:13:45 +08:00
2017-03-29 01:37:56 +08:00
2017-11-28 11:07:36 +08:00
2017-09-07 15:42:31 +02:00
2017-07-13 11:40:43 +08:00
2017-09-07 15:42:31 +02:00