From: Flavio Percoco Date: Sat, 24 May 2014 08:12:36 +0000 (+0200) Subject: Use error instead of warning to log mount exc X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=a058e90c5ec33e35c3bc88fed644b598e490e9ad;p=openstack-build%2Fcinder-build.git Use error instead of warning to log mount exc Gluster's driver uses warning to log mount exceptions. This patch replaces that warning with an error message. Change-Id: I54a10ec8abf460ca9ff7bb009b8d702cfad0fed0 Closes-Bug: #1317573 --- diff --git a/cinder/volume/drivers/glusterfs.py b/cinder/volume/drivers/glusterfs.py index 9df0fee26..11d4dadfc 100644 --- a/cinder/volume/drivers/glusterfs.py +++ b/cinder/volume/drivers/glusterfs.py @@ -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)