tempest/releasenotes/notes/Fix-KeyError-bug-in-v3-volumes_client-ff5d9b894f2257c8.yaml
Martin Kopec 14e2a4e421 Fix KeyError exc in volumes_client
is_resource_deleted method of v3 volumes_client was wrongly accessing
id value of a volume causing KeyError - in case the being deleted
volume was in error_deleting state.

Closes-Bug: #1887980
Change-Id: I6cea9917c248ceaa8b7cd60d0a20a2bf7540d9b9
2020-07-24 16:25:30 +00:00

11 lines
392 B
YAML

---
fixes:
- |
is_resource_deleted method of v3 volumes_client might have returned
a KeyError exception due to an incorrect accessing of a volume id
in the case the volume was in error_deleting state.
incorrect code - volume['id']
correct code - volume['volume']['id']
More details about the issue can be found at
https://bugs.launchpad.net/tempest/+bug/1887980