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
(cherry picked from commit 71584d6852)
This commit is contained in:
Jon Bernard 2018-05-09 14:43:56 -04:00 committed by Walter A. Boring IV (hemna)
parent 80cec51548
commit 80e29d3ad5
1 changed files with 0 additions and 1 deletions

View File

@ -149,7 +149,6 @@ class RBDVolumeProxy(object):
read_only=read_only) read_only=read_only)
self.volume = tpool.Proxy(self.volume) self.volume = tpool.Proxy(self.volume)
except driver.rbd.Error: except driver.rbd.Error:
LOG.exception("error opening rbd image %s", name)
if self._close_conn: if self._close_conn:
driver._disconnect_from_rados(rados_client, rados_ioctx) driver._disconnect_from_rados(rados_client, rados_ioctx)
raise raise