From a058e90c5ec33e35c3bc88fed644b598e490e9ad Mon Sep 17 00:00:00 2001 From: Flavio Percoco Date: Sat, 24 May 2014 10:12:36 +0200 Subject: [PATCH] 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 --- cinder/volume/drivers/glusterfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.45.2