[Linux-HA] BasicSanityCheck - heartbeat-2.1.1/heartbeat-2.1.2
- fails IPaddr2 tests
Michael Kapp
michael.kapp at avira.com
Tue Jul 31 03:08:35 MDT 2007
Michael Kapp wrote:
> Hi all,
>
> all the other tests were successful.
>
> stdout:
> =======
>
> Using interface: eth1
> Starting base64 and md5 algorithm tests
> base64 and md5 algorithm tests succeeded.
> Starting Resource Agent tests
> Testing RA: Dummy
> Testing RA: IPaddr
> Testing RA: IPaddr2
> ERROR: IPaddr2 RA failed
> Starting IPC tests
> Starting heartbeat
> * Starting heartbeat ... [OK]
> 2007/07/30_16:56:19 INFO: Resource is stopped
> Reloading heartbeat
> Reloading heartbeat
> Stopping heartbeat
> * Stopping heartbeat ... [OK]
> Checking STONITH basic sanity.
> Performing apphbd success case tests
> Performing apphbd failure case tests
> Starting LRM tests
> Starting heartbeat
> * Starting heartbeat ... [OK]
> 2007/07/30_16:57:27 INFO: Resource is stopped
> starting STONITH Daemon tests
> STONITH Daemon tests passed.
> Stopping heartbeat
> * Stopping heartbeat ... [OK]
> Starting CRM tests
> CRM tests failed (rc=1).
> ERROR: IPaddr2 RA failed
> OOPS! Looks like we had some errors come up.
> 2 errors. Log file is stored in /tmp/linux-ha.testlog
>
> logfile:
> ========
>
> ...
> Beginning tests for /usr/lib/ocf/resource.d//heartbeat/IPaddr2...
> * rc=5: Validation failed. Did you supply enough options with -o ?
> Aborting tests
> ERROR: IPaddr2 RA failed
> Starting IPC tests
> ...
>
> If i'm using IPaddr2 as RA in cib.xml i have no problems.
>
> Any idea's?
> Thanks!
>
> Cheers,
> Michael
>
Same with heartbeat-2.1.2 but gave me one error less:
(IPaddr2 used as RA in cib.xml seems to be working.)
BasicSanityCheck
================
stdout:
=======
...
ERROR: IPaddr2 RA failed
OOPS! Looks like we had some errors come up.
1 errors. Log file is stored in /tmp/linux-ha.testlog
...
set -x
======
...
Testing RA: IPaddr2
+ /usr/sbin/ocf-tester -o ip=127.0.0.20 -o netmask=32 -n DemoIPaddr2
/usr/lib/ocf/resource.d//heartbeat/IPaddr2
+ rc=1
+ '[' 1 -ne 0 ']'
+ echo 'ERROR: IPaddr2 RA failed'
...
logfile
=======
...
Testing RA: IPaddr2
Beginning tests for /usr/lib/ocf/resource.d//heartbeat/IPaddr2...
* rc=5: Validation failed. Did you supply enough options with -o ?
Aborting tests
ERROR: IPaddr2 RA failed
...
strace
======
...
Testing RA: IPaddr2
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
close(3) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigaction(SIGINT, {0x8079fc0, [], 0}, {0x8089a20, [], 0}, 8) = 0
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 794
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 795
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigaction(SIGINT, {0x8089a20, [], 0}, {0x8079fc0, [], 0}, 8) = 0
close(3) = -1 EBADF (Bad file descriptor)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbfa97f5c, WNOHANG) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [])
write(2, "+ /usr/sbin/ocf-tester -o ip=127"..., 112+
/usr/sbin/ocf-tester -o ip=127.0.0.20 -o netmask=32 -n DemoIPaddr2
/usr/lib/ocf/resource.d//heartbeat/IPaddr2
) = 112
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7dca988) = 796
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x8079fc0, [], 0}, {0x8089a20, [], 0}, 8) = 0
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 796
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbfa97fac, WNOHANG) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [])
rt_sigaction(SIGINT, {0x8089a20, [], 0}, {0x8079fc0, [], 0}, 8) = 0
write(2, "+ rc=1\n", 7+ rc=1
) = 7
write(2, "+ \'[\' 1 -ne 0 \']\'\n", 18+ '[' 1 -ne 0 ']'
) = 18
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
pipe([3, 4]) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7dca988) = 823
+ echo 'ERROR: IPaddr2 RA failed'
...
Cheers,
Michael
--
Yours sincerely
Michael Kapp, SysAdmin - Avira GmbH
Avira GmbH
Lindauer Str. 21, D-88069 Tettnang, Germany
CEO: Tjark Auerbach; AG Ulm HRB 630992
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.community.tummy.com/pipermail/linux-ha/attachments/20070731/88d96454/signature.pgp
More information about the Linux-HA
mailing list