Change in vdsm[master]: Log if timed out during fileSD.scanDomains().

ewarszaw at redhat.com ewarszaw at redhat.com
Thu Oct 11 12:46:14 UTC 2012


Eduardo has uploaded a new change for review.

Change subject: Log if timed out during fileSD.scanDomains().
......................................................................

Log if timed out during fileSD.scanDomains().

Change-Id: I3af60f17b060d58c87260c744aecad21375cc25d
Signed-off-by: Eduardo <ewarszaw at redhat.com>
---
M vdsm/storage/fileSD.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/98/8498/1

diff --git a/vdsm/storage/fileSD.py b/vdsm/storage/fileSD.py
index 054fadb..99c2a12 100644
--- a/vdsm/storage/fileSD.py
+++ b/vdsm/storage/fileSD.py
@@ -481,7 +481,8 @@
                     return (sdUUID, os.path.dirname(metaFile))
 
         except Timeout:
-            pass
+            log.warn("Metadata collection for domain path %s timedout",
+                     possibleDomain, exc_info=True)
         except Exception:
             log.warn("Could not collect metadata file for domain path %s",
                      possibleDomain, exc_info=True)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3af60f17b060d58c87260c744aecad21375cc25d
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Eduardo <ewarszaw at redhat.com>


More information about the vdsm-patches mailing list