# HG changeset patch # User Rok Strnisa # Date 1284125649 -3600 # Node ID 55420f5d62b7eb952178d37c0e13b455c8ecb621 # Parent 4879ee0759080d4286d13d57784a77f3c6de2339 imported patch CA-41317-Error-message-if-a-host-doesnt-power-on-is-poor diff --git a/ocaml/xapi/xapi_host.ml b/ocaml/xapi/xapi_host.ml --- a/ocaml/xapi/xapi_host.ml +++ b/ocaml/xapi/xapi_host.ml @@ -509,7 +509,7 @@ let power_on ~__context ~host = let result = Xapi_plugins.call_plugin (Context.get_session_id __context) Constants.power_on_plugin Constants.power_on_fn [ "remote_host_uuid", Db.Host.get_uuid ~__context ~self:host ] in - if result <> "True" then failwith (Printf.sprintf "Poweron plugin reports: %s" result) + if result <> "True" then failwith (Printf.sprintf "The host failed to power on." result) let dmesg ~__context ~host = Vmopshelpers.with_xc (fun xc -> Xc.readconsolering xc)