Jiří Moskovčák has uploaded a new change for review.

Change subject: be more verbose when starting the HE VM fails
......................................................................

be more verbose when starting the HE VM fails

Change-Id: Ieb4842048aa690925284d62685156f56485dd41e
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1150087
Signed-off-by: Jiri Moskovcak <[email protected]>
---
M ovirt_hosted_engine_ha/agent/hosted_engine.py
1 file changed, 9 insertions(+), 3 deletions(-)


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

diff --git a/ovirt_hosted_engine_ha/agent/hosted_engine.py 
b/ovirt_hosted_engine_ha/agent/hosted_engine.py
index e6217f3..ccf749f 100644
--- a/ovirt_hosted_engine_ha/agent/hosted_engine.py
+++ b/ovirt_hosted_engine_ha/agent/hosted_engine.py
@@ -892,13 +892,19 @@
                                       " already running according to VDSM")
                     return
 
-                self._log.error("Failed: %s", output[1])
                 raise Exception(output[1])
 
-            self._log.error("Engine VM started on localhost")
+            self._log.info("Engine VM started on localhost")
             return True
         except Exception as e:
-            self._log.error("Failed to start engine VM: %s", str(e))
+            self._log.info("Failed to start engine VM: '%s'. Please check the"
+                           " vdsm logs. The possible reason: the engine has"
+                           " been already started on a different host so this"
+                           " one has failed to acquire the lock and it will"
+                           " sync in a while."
+                           " For more information please visit: "
+                           "http://www.ovirt.org/Features/";
+                           "Self_Hosted_Engine#EngineUnexpectedlyDown", str(e))
             return False
 
     def _clean_vdsm_state(self):


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ieb4842048aa690925284d62685156f56485dd41e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: master
Gerrit-Owner: Jiří Moskovčák <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to