Here are the errors we see without this fix. Delete snapshot didn't wait for snapshot to be deleted successfully. Delete volume failed because there was still dependent snapshot.
04:32:55 Captured traceback-2:
04:32:55 ~~~~~~~~~~~~~~~~~~~~~
04:32:55 Traceback (most recent call last):
04:32:55 File "tempest/scenario/manager.py", line 250, in delete_timeout
04:32:55 not_found_exception=not_found_exception)
04:32:55 File "tempest/scenario/manager.py", line 298, in _status_timeout
04:32:55 CONF.compute.build_interval):
04:32:55 File "tempest/test.py", line 627, in call_until_true
04:32:55 time.sleep(sleep_for)
04:32:55 File "/usr/local/lib/python2.7/dist-packages/fixtures/_fixtures/timeout.py", line 52, in signal_handler
04:32:55 raise TimeoutException()
04:32:55 TimeoutException
04:32:55
04:32:55
04:32:55 Captured traceback-3:
04:32:55 ~~~~~~~~~~~~~~~~~~~~~
04:32:55 Traceback (most recent call last):
04:32:55 File "tempest/scenario/manager.py", line 191, in _wait_for_cleanups
04:32:55 self.delete_timeout(**wait)
04:32:55 File "tempest/scenario/manager.py", line 250, in delete_timeout
04:32:55 not_found_exception=not_found_exception)
04:32:55 File "tempest/scenario/manager.py", line 301, in _status_timeout
04:32:55 raise exceptions.TimeoutException(message)
04:32:55 TimeoutException: Request timed out
04:32:55 Details: Timed out waiting for thing e37de26e-f415-4e00-bdb4-d1e06b576dad to become NotFound
04:32:55
04:32:55
04:32:55 Captured traceback-1:
04:32:55 ~~~~~~~~~~~~~~~~~~~~~
04:32:55 Traceback (most recent call last):
04:32:55 File "/opt/stack/new/python-cinderclient/cinderclient/v1/volumes.py", line 228, in delete
04:32:55 self._delete("/volumes/%s" % base.getid(volume))
04:32:55 File "/opt/stack/new/python-cinderclient/cinderclient/base.py", line 162, in _delete
04:32:55 resp, body = self.api.client.delete(url)
04:32:55 File "/opt/stack/new/python-cinderclient/cinderclient/client.py", line 333, in delete
04:32:55 return self._cs_request(url, 'DELETE', **kwargs)
04:32:55 File "/opt/stack/new/python-cinderclient/cinderclient/client.py", line 290, in _cs_request
04:32:55 **kwargs)
04:32:55 File "/opt/stack/new/python-cinderclient/cinderclient/client.py", line 273, in request
04:32:55 raise exceptions.from_response(resp, body)
04:32:55 BadRequest: Invalid volume: Volume still has 1 dependent snapshots (HTTP 400) (Request-ID: req-9e47bce4-daf4-4ecd-84c0-3e90d6a75675)
04:32:55
Here are the errors we see without this fix. Delete snapshot didn't wait for snapshot to be deleted successfully. Delete volume failed because there was still dependent snapshot.
04:32:55 Captured traceback-2: ~~~~~~~ ~~~~~~~ scenario/ manager. py", line 250, in delete_timeout exception= not_found_ exception) scenario/ manager. py", line 298, in _status_timeout build_interval) : sleep_for) lib/python2. 7/dist- packages/ fixtures/ _fixtures/ timeout. py", line 52, in signal_handler ~~~~~~~ ~~~~~~~ scenario/ manager. py", line 191, in _wait_for_cleanups timeout( **wait) scenario/ manager. py", line 250, in delete_timeout exception= not_found_ exception) scenario/ manager. py", line 301, in _status_timeout TimeoutExceptio n(message) f415-4e00- bdb4-d1e06b576d ad to become NotFound ~~~~~~~ ~~~~~~~ new/python- cinderclient/ cinderclient/ v1/volumes. py", line 228, in delete "/volumes/ %s" % base.getid(volume)) new/python- cinderclient/ cinderclient/ base.py" , line 162, in _delete client. delete( url) new/python- cinderclient/ cinderclient/ client. py", line 333, in delete request( url, 'DELETE', **kwargs) new/python- cinderclient/ cinderclient/ client. py", line 290, in _cs_request new/python- cinderclient/ cinderclient/ client. py", line 273, in request from_response( resp, body) daf4-4ecd- 84c0-3e90d6a756 75)
04:32:55 ~~~~~~~
04:32:55 Traceback (most recent call last):
04:32:55 File "tempest/
04:32:55 not_found_
04:32:55 File "tempest/
04:32:55 CONF.compute.
04:32:55 File "tempest/test.py", line 627, in call_until_true
04:32:55 time.sleep(
04:32:55 File "/usr/local/
04:32:55 raise TimeoutException()
04:32:55 TimeoutException
04:32:55
04:32:55
04:32:55 Captured traceback-3:
04:32:55 ~~~~~~~
04:32:55 Traceback (most recent call last):
04:32:55 File "tempest/
04:32:55 self.delete_
04:32:55 File "tempest/
04:32:55 not_found_
04:32:55 File "tempest/
04:32:55 raise exceptions.
04:32:55 TimeoutException: Request timed out
04:32:55 Details: Timed out waiting for thing e37de26e-
04:32:55
04:32:55
04:32:55 Captured traceback-1:
04:32:55 ~~~~~~~
04:32:55 Traceback (most recent call last):
04:32:55 File "/opt/stack/
04:32:55 self._delete(
04:32:55 File "/opt/stack/
04:32:55 resp, body = self.api.
04:32:55 File "/opt/stack/
04:32:55 return self._cs_
04:32:55 File "/opt/stack/
04:32:55 **kwargs)
04:32:55 File "/opt/stack/
04:32:55 raise exceptions.
04:32:55 BadRequest: Invalid volume: Volume still has 1 dependent snapshots (HTTP 400) (Request-ID: req-9e47bce4-
04:32:55