Change in vdsm[master]: clienteIF: replace MOM self.log.error to warn

dougsland at redhat.com dougsland at redhat.com
Fri Nov 9 01:37:04 UTC 2012


Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: clienteIF: replace MOM self.log.error to warn
......................................................................

clienteIF: replace MOM self.log.error to warn

If mom package is not installed, at this point vdsm should
throw warning message instead of error.

Change-Id: I860c5d0833ae0e7d9feb326d340a34dd68104d98
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M vdsm/clientIF.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/32/9132/1

diff --git a/vdsm/clientIF.py b/vdsm/clientIF.py
index 6c5a670..ed2a3c1 100644
--- a/vdsm/clientIF.py
+++ b/vdsm/clientIF.py
@@ -178,7 +178,7 @@
             momconf = config.get("mom", "conf")
             self.mom = MomThread(momconf)
         except:
-            self.log.error("MOM initialization failed and fall "
+            self.log.warn("MOM initialization failed and fall "
                            "back to KsmMonitor", exc_info=True)
             self.ksmMonitor = ksm.KsmMonitorThread(self)
 


--
To view, visit http://gerrit.ovirt.org/9132
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I860c5d0833ae0e7d9feb326d340a34dd68104d98
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>


More information about the vdsm-patches mailing list