Maor Lipchuk has uploaded a new change for review.

Change subject: vdsm: Log unhandled exception for clientIF
......................................................................

vdsm: Log unhandled exception for clientIF

Adding a traceback log for unhandled exceptions,
when openning a new thread, so it will not die silently.

Change-Id: I595902fd9d7b62879a4466d4f8deae55a0ed7580
Signed-off-by: Maor Lipchuk <[email protected]>
---
M vdsm/clientIF.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/12/22812/1

diff --git a/vdsm/clientIF.py b/vdsm/clientIF.py
index 7e6fcf8..584d77d 100644
--- a/vdsm/clientIF.py
+++ b/vdsm/clientIF.py
@@ -376,6 +376,7 @@
                        (vmParams['vmId'], container_len))
         return {'status': doneCode, 'vmList': vm.status()}
 
+    @utils.traceback(on=self.log.name)
     def _recoverThread(self):
         # Trying to run recover process until it works. During that time vdsm
         # stays in recovery mode (_recover=True), means all api requests


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I595902fd9d7b62879a4466d4f8deae55a0ed7580
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to