[Tempest] Handle errored shares correctly using recreation logic
If we allow share recreation and get some share errored
making it part of CG, then we fail to create CG snapshot from CG
that owns this share. Because cleanup step was not reached yet.
Therefore, consider this case and delete errored shares immediately.
Change-Id: Ib05598de8fbd1c9a735ca91159f3f5cfb86d8889
Closes-Bug: #1577887
(cherry picked from commit bb01fe9314f990accfbb1ea11c2a63b4fab1c27f)
Reviewed: https:/ /review. openstack. org/343822 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=4e2cbdbad06 f7cef8ac477885a d3f5c09891f74b
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 4e2cbdbad06f7ce f8ac477885ad3f5 c09891f74b
Author: Valeriy Ponomaryov <email address hidden>
Date: Wed Jun 8 15:17:16 2016 +0300
[Tempest] Handle errored shares correctly using recreation logic
If we allow share recreation and get some share errored
making it part of CG, then we fail to create CG snapshot from CG
that owns this share. Because cleanup step was not reached yet.
Therefore, consider this case and delete errored shares immediately.
Change-Id: Ib05598de8fbd1c 9a735ca91159f3f 5cfb86d8889 ccfbb1ea11c2a63 b4fab1c27f)
Closes-Bug: #1577887
(cherry picked from commit bb01fe9314f990a