Handle initialize_connection() exception in volume manager
Due to the fact that several drivers require backend communication to fetch
connection information for a volume, it's possile that these driver throw
exceptions while doing that. Currently exceptions can bubble 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/59334 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=17e556acf5c 33583dcb6ed34bf d5a5fd9c148c9e
Committed: https:/
Submitter: Jenkins
Branch: master
commit 17e556acf5c3358 3dcb6ed34bfd5a5 fd9c148c9e
Author: Zhiteng Huang <email address hidden>
Date: Mon Dec 2 17:05:08 2013 +0800
Handle initialize_ connection( ) exception in volume manager
Due to the fact that several drivers require backend communication to fetch IException to caller.
connection information for a volume, it's possile that these driver throw
exceptions while doing that. Currently exceptions can bubble up to volume
API not being handled. This patch logs exception in volume manager and
then raises VolumeBackendAP
Change-Id: Ib3cc152e04ba02 9dd835a64b0cfb0 a77b8a6828e
Closes-bug: 1256804