Handle terminate_connection() exception in volume manager
Due to the fact that we sometimes need to manually terminate a volume's
connection through volume api, it's possile that these backend drivers
throw exceptions while doing that. Currently exceptions are bubbled up to
volume API not being handled. This patch logs exception in volume manager
and then raises VolumeBackendAPIException to caller.
Reviewed: https:/ /review. openstack. org/63862 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=1e73e64e740 7294dc68af9c093 23e2b396335c4a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1e73e64e7407294 dc68af9c09323e2 b396335c4a
Author: ling-yun <email address hidden>
Date: Tue Dec 24 11:45:16 2013 +0800
Handle terminate_ connection( ) exception in volume manager
Due to the fact that we sometimes need to manually terminate a volume's IException to caller.
connection through volume api, it's possile that these backend drivers
throw exceptions while doing that. Currently exceptions are bubbled up to
volume API not being handled. This patch logs exception in volume manager
and then raises VolumeBackendAP
Change-Id: If809f97998f525 16af09ec21b3052 b67d3a62f36
Closes-bug: #1263820