]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix issue with Pure drivers delete_snapshot exception handling
authorPatrick East <patrick.east@purestorage.com>
Fri, 4 Mar 2016 05:47:22 +0000 (21:47 -0800)
committerPatrick East <patrick.east@purestorage.com>
Fri, 4 Mar 2016 05:47:22 +0000 (21:47 -0800)
commit609cae10659869da5e645b6df0a6b0f911bf81ac
treed35a76c7db4ddacbd323f209ec1fa2d95bc1e1b0
parent11edef81a5fab5ccebd2b24d985eddaa04dad3e0
Fix issue with Pure drivers delete_snapshot exception handling

We were checking for only a single possible error that can occur when
the snapshot was missing. We now check for both which helps prevent
any snapshots or volumes deleted out from underneath Cinder to get
things stuck in an error state.

This also adjusts the warning message to be a little more descriptive.

Change-Id: I26f393a3e5232fc508b9f34921e9f53f8b5a77ef
Closes-Bug: #1553029
cinder/volume/drivers/pure.py