Browse Source

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)
changes/38/680838/1
Jon Bernard 1 year ago
parent
commit
80e29d3ad5
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      cinder/volume/drivers/rbd.py

+ 0
- 1
cinder/volume/drivers/rbd.py View File

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

Loading…
Cancel
Save