[Pacemaker] how to realize group with colocation?

Dennis J. dennisml at conversis.de
Wed May 19 07:45:19 EDT 2010


On 05/19/2010 08:59 AM, Andrew Beekhof wrote:
> Which part of
> 
> "web_start_0 failed with rc=6: Preventing web from re-starting
> anywhere in the cluster"
> 
> Is not clear to you?
> 
> Have a look what rc=6 means:
>     http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-ocf-return-codes.html
> 

If the error code is specifically defined then why not output the actual
message as well like this:

"web_start_0 failed with rc=6 (The resource's configuration is invalid. Eg.
A required parameters are missing.): Preventing web from re-starting
anywhere in the cluster"

That would save admins around the world some time and make it more
straightforward to determine what the actual problem is. MySQL does the
same and requires you to "decipher" errors using the perror binary even
though there is always only one message associated with one error code.
Making these lookups manual is unnecessary IMHO.

Regards,
  Dennis




More information about the Pacemaker mailing list