Hi, On Mon, Jan 24, 2011 at 02:26:13PM +0100, Alain.Moulle wrote: > Hi, > > Little question about OCF scripts return codes : > > when monitor_scripts fails in VirtualDomain , it returns $OCF_ERR_GENERIC > which is displayed with crm_mon as "unknown error". > I wonder if we could set another code possible to display a more > relevant message ?
The resource agent should do the best it can, but there's a vast number of conditions which can only be represented as generic failures. The answer is then in the logs. One could possibly devise some tool to dig the relevant message out of the logs. Thanks, Dejan > Thanks > Alain > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
