Greg Padgett has uploaded a new change for review.

Change subject: agent: Log error when restarting
......................................................................

agent: Log error when restarting

Log an error message when restarting the agent (fix backport error)

Change-Id: I1348653701767fd7720545a695990a6ae286eed9
Bug-Url: https://bugzilla.redhat.com/1124624
Signed-off-by: Greg Padgett <[email protected]>
---
M ovirt_hosted_engine_ha/agent/agent.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-hosted-engine-ha 
refs/changes/14/30814/1

diff --git a/ovirt_hosted_engine_ha/agent/agent.py 
b/ovirt_hosted_engine_ha/agent/agent.py
index 965fd89..cb4185e 100644
--- a/ovirt_hosted_engine_ha/agent/agent.py
+++ b/ovirt_hosted_engine_ha/agent/agent.py
@@ -168,7 +168,8 @@
                 self._log.error("Can't initialize brokerlink '{0}'"
                                 " - reinitializing".format(str(e)))
             except Exception as e:
-                self._log.error("")
+                self._log.error("Error: '{0}' - trying to restart agent"
+                                .format(str(e)))
 
             time.sleep(constants.AGENT_START_RETRY_WAIT)
             self._log.warn("Restarting agent, attempt '{0}'".format(attempt))


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1348653701767fd7720545a695990a6ae286eed9
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: ovirt-hosted-engine-ha-1.2
Gerrit-Owner: Greg Padgett <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to