]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Continue volume delete on encryption key delete errors
authorDuncan Thomas <duncan.thomas@gmail.com>
Wed, 2 Mar 2016 10:08:52 +0000 (12:08 +0200)
committerDuncan Thomas <duncan.thomas@gmail.com>
Mon, 7 Mar 2016 15:22:02 +0000 (23:22 +0800)
commite4bf3e0cc00db52e7bc19be7707d2677a72cd62f
tree9e92f623f9e9a4c0339f2df5caf56371cc0a4f96
parent9e84c095aeae4a1eb1f5b990d77d5c7a5a16f1f2
Continue volume delete on encryption key delete errors

If there is a problem removing the encryption key from the key manager
(e.g. because the key has been manually deleted already) then the
volume delete should not fail - this leaves undeletable volumes.

Just log a warning and continue instead.

Closes-bug: 1552169
Change-Id: Id3571cbfa7c66787573cf750735be33a440d15dc
cinder/tests/unit/test_volume.py
cinder/volume/api.py