]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Use error instead of warning to log mount exc
authorFlavio Percoco <flaper87@gmail.com>
Sat, 24 May 2014 08:12:36 +0000 (10:12 +0200)
committerFlavio Percoco <flaper87@gmail.com>
Sat, 24 May 2014 08:12:36 +0000 (10:12 +0200)
Gluster's driver uses warning to log mount exceptions. This patch
replaces that warning with an error message.

Change-Id: I54a10ec8abf460ca9ff7bb009b8d702cfad0fed0
Closes-Bug: #1317573

cinder/volume/drivers/glusterfs.py

index 9df0fee262fc204cbb012492c1eda56d6ebdabed..11d4dadfce28f7ed92e171ed2f669bd44a3f5f2f 100644 (file)
@@ -1040,7 +1040,7 @@ class GlusterfsDriver(nfs.RemoteFsDriver):
                 self._ensure_share_mounted(share)
                 self._mounted_shares.append(share)
             except Exception as exc:
-                LOG.warning(_('Exception during mounting %s') % (exc,))
+                LOG.error(_('Exception during mounting %s') % (exc,))
 
         LOG.debug(_('Available shares: %s') % self._mounted_shares)