This fixes the bug where creation of consistency snapshot would pass
even if the volume is in error state. Also adding unit test to
ensure that the creation of consistency snapshot fails when
volume is in error status.
Made minor changes to unit test for cherry-pick to mitaka.
Closes-Bug: #1592451
Change-Id: I482a7e01f32d72196568348225eb3c77a432a539
Signed-off-by: Nitin Madhok <nmadhok@g.clemson.edu>
(cherry-picked from commit fb3a51a2b411f05f16a563eadd03eadcf6f17a80)
Reviewed: https:/ /review. openstack. org/366786 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=de954d04c2a ccb6b2f8aa9e9a5 9f5c64fe0109bc
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit de954d04c2accb6 b2f8aa9e9a59f5c 64fe0109bc g.clemson. edu>
Author: Nitin Madhok <nmadhok@
Date: Mon Jul 11 16:26:41 2016 -0400
Fixes consistency snapshot creation
This fixes the bug where creation of consistency snapshot would pass
even if the volume is in error state. Also adding unit test to
ensure that the creation of consistency snapshot fails when
volume is in error status.
Made minor changes to unit test for cherry-pick to mitaka.
Closes-Bug: #1592451
Change-Id: I482a7e01f32d72 196568348225eb3 c77a432a539 g.clemson. edu> f16a563eadd03ea dcf6f17a80)
Signed-off-by: Nitin Madhok <nmadhok@
(cherry-picked from commit fb3a51a2b411f05