commit 5eb85674668e46fd657f150c77239b6a980eb2f5
Author: Akihiro Motoki <email address hidden>
Date: Sun May 21 03:36:23 2017 +0000
volume functest: ensure snapshots deleted when volume delete
Deleting snapshot may take time. The current volume API does not allow
to delete volumes with snapshots, so if deleting snapshot may take time,
a delete request for a parent volume will fail.
This sometimes causes functional test failures in slow environments.
wait_for_status() checks whether volume status is in error statuses
but previously the expected error status was wrong. Cinder API uses
lower case as volume status, so it did not work expectedly.
Reviewed: https:/ /review. openstack. org/501191 /git.openstack. org/cgit/ openstack/ python- openstackclient /commit/ ?id=5eb85674668 e46fd657f150c77 239b6a980eb2f5
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit 5eb85674668e46f d657f150c77239b 6a980eb2f5
Author: Akihiro Motoki <email address hidden>
Date: Sun May 21 03:36:23 2017 +0000
volume functest: ensure snapshots deleted when volume delete
Deleting snapshot may take time. The current volume API does not allow
to delete volumes with snapshots, so if deleting snapshot may take time,
a delete request for a parent volume will fail.
This sometimes causes functional test failures in slow environments.
wait_ for_status( ) checks whether volume status is in error statuses
but previously the expected error status was wrong. Cinder API uses
lower case as volume status, so it did not work expectedly.
Conflicts: client/ tests/functiona l/compute/ v2/common. py client/ tests/functiona l/compute/ v2/test_ server. py client/ tests/functiona l/volume/ v1/test_ volume. py client/ tests/functiona l/volume/ v2/test_ volume. py client/ tests/functiona l/volume/ v3/common. py
openstack
openstack
openstack
openstack
openstack
Change-Id: I095894ba39f23b f81d71351818d24 dbb5ca459fb a01e6d886ed07ac ceb8d9ff61)
(cherry picked from commit eeb614c47759fa9
Closes-Bug: #1714977