Description of problem:
If cman_tool join runs corosync and that exit with failure, something like "Error, reason code is 12" is displayed. It should be nice to display something more meaningful like openais in RHEL5 does.
Version-Release number of selected component (if applicable):
Steps to Reproduce (really example, same is with no memory error, ...):
1. rm -rf /var/lib/corosync
2. cman_tool join
corosync died: Error, reason code is 16
corosync died: Error, Required directory not present /var/lib/corosync. Please create it.
There are other exit codes and none of them is handled correctly.
Main reason is because old aisexec returned negative return codes (or from other side, very big positive numbers ;) ). Current corosync return only (small) positive numbers.
Created attachment 433735 [details]
Patch handles corosync exit codes.
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.
** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **
Patch is currently included in STABLE3 git tree as 2197cb026309d18b864dd2eb10754b095090db40
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.