RBD: remove redundant exception log to reduce noise
If RBDVolumeProxy fails to open the underlying image it reraises the exception, so there is no need to log it unconditionally. The caller can gracefully handle this case without alarming the admin. Change-Id: If5a9d014dbdd63a6e4659d700671c6ac6496b96a
This commit is contained in:
parent
f6cad81789
commit
71584d6852
|
@ -147,7 +147,6 @@ class RBDVolumeProxy(object):
|
|||
read_only=read_only)
|
||||
self.volume = tpool.Proxy(self.volume)
|
||||
except driver.rbd.Error:
|
||||
LOG.exception("error opening rbd image %s", name)
|
||||
if self._close_conn:
|
||||
driver._disconnect_from_rados(rados_client, rados_ioctx)
|
||||
raise
|
||||
|
|
Loading…
Reference in New Issue