On Wed, Apr 04, 2007 at 09:10:02PM +0200, Philipp Kolmann wrote:
> Package: heartbeat
> Version: 1.2.5-3
> Severity: important
> 
> Hi,
> 
> today I upgraded my cluster to etch and wanted to test the failover settings
> but this completely failed. After some debugging I found out, that the
> IPv6addr script fails.
> 
> Looking deeper into this issue, it seems that the function is_addr6_available
> checks the reply for a ICMPV6_ECHO_REQUEST but fails here:
> 
>         if (0 != memcmp(&local, &addr.sin6_addr,sizeof(local))) {
> 
> It seems that in etch addr.sin6_addr isn't '::1'.
> 
> I tried it with a sarge test system and there it works. (addr.sin6_addr ==
> '::1').
> 
> I am not sure if this is a heartbeat or kernel problem, but a fix would be
> very welcome.
> 
> Tell me, if you need any info to help fix this issue.

Hi Philipp,

thanks for pointing this out. I did a quick check of
is_addr6_available() in the linux-ha 2.0 tree and it seems that this
local check has been removed all together - though I am not sure why. I
wonder if this would also be a good apprach to take to side-step the
problem that you have found in 1.2.5.

The (untested) patch belows shows what I am thinking about.
Is it possible for you to see if this solves the problem that you are
seeing?

I have CCed the linux-ha-dev list, so the linux-ha developers can
pass their eyes over this. Its a subscriber only list.

For the linux-ha people, this (Debian) bug can be seen at 
http://bugs.debian.org/417835, and posting to
[EMAIL PROTECTED] will log against it.

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to