Change in vdsm[master]: guestagent: Add missing log on disconnect
nsoffer at redhat.com
nsoffer at redhat.com
Sat Nov 28 18:39:56 UTC 2015
Nir Soffer has uploaded a new change for review.
Change subject: guestagent: Add missing log on disconnect
......................................................................
guestagent: Add missing log on disconnect
Add debug log when detecting a disconnect after empty read. This should
make the connection state of the agent more clear in the logs.
Change-Id: I608aa0e47acb120c2a5a150ad77e813f6f546397
Signed-off-by: Nir Soffer <nsoffer at redhat.com>
---
M vdsm/virt/guestagent.py
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/43/49343/1
diff --git a/vdsm/virt/guestagent.py b/vdsm/virt/guestagent.py
index cd9a434..b999c95 100644
--- a/vdsm/virt/guestagent.py
+++ b/vdsm/virt/guestagent.py
@@ -469,6 +469,7 @@
# therefore we're going to set ourself to stopped state
if not data:
self._stopped = True
+ self.log.debug("Disconnected from %s", self._socketName)
result = False
else:
self._handleData(data)
--
To view, visit https://gerrit.ovirt.org/49343
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I608aa0e47acb120c2a5a150ad77e813f6f546397
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>
More information about the vdsm-patches
mailing list