Fix EC2 volume attachment state at attaching stage.
While volume is still attaching/detaching, AWS reports 'attaching'/
'detaching' states in the volume attachment info and instance bdm.
But Nova EC2 reports None, 'attached', or 'detached' states.
This fix set 'attaching'/'detaching' states in output results when
it's possible and while corresponding process is still active.
Reviewed: https:/ /review. openstack. org/113790 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=c1f9ab8d3db c695f304c70c910 58f888d5c134f9
Committed: https:/
Submitter: Jenkins
Branch: master
commit c1f9ab8d3dbc695 f304c70c91058f8 88d5c134f9
Author: Feodor Tersin <email address hidden>
Date: Wed Aug 13 10:02:10 2014 +0400
Fix EC2 volume attachment state at attaching stage.
While volume is still attaching/ detaching, AWS reports 'attaching'/
'detaching' states in the volume attachment info and instance bdm.
But Nova EC2 reports None, 'attached', or 'detached' states.
This fix set 'attaching' /'detaching' states in output results when
it's possible and while corresponding process is still active.
Change-Id: I61ef5afb2c3dea 2a931dbf18a8a42 8460ce9cc2e
Closes-Bug: #1355285