From fc8e558cb66a85b4d2cc83b451c6e5a0c06ac85d Mon Sep 17 00:00:00 2001 From: Rok Strnisa Date: Tue, 12 Oct 2010 10:51:55 +0100 Subject: [PATCH] CA-41317: Error message if a host doesn't power on is poor --- FIXED. Changed the error message to something more reasonable, although keeping it of "internal" type. Signed-off-by: Rok Strnisa --- ocaml/xapi/xapi_host.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocaml/xapi/xapi_host.ml b/ocaml/xapi/xapi_host.ml index 35e02ed0..91eaa937 100644 --- 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.") let dmesg ~__context ~host = Vmopshelpers.with_xc (fun xc -> Xc.readconsolering xc) -- 2.39.5