[Pacemaker] [BUG] IPaddr2 - default clusterhash value
Andrew Beekhof
andrew at beekhof.net
Mon Jan 4 09:46:01 UTC 2010
Hi Thomas,
Looks like this is fixed for the next version:
tserong () Low: IPaddr2: Invalid default value for
OCF_RESKEY_clusterip_hash (bnc#553753) CS: 5d341d5dc96a On: 2009-11-09
On Mon, Jan 4, 2010 at 7:38 AM, Thomas Guthmann <tguthmann at iseek.com.au> wrote:
> Hey,
>
> When you use IPaddr2 in a clone, it will use a clusterip mechanism. The
> default value for the hash is sourceip-sourceport. But this won't work and
> will trigger errors because the line 281 is :
>
> IP_CIP_HASH="${OCF_RESKEY_clusterip_hash:-'sourceip-sourceport'}"
>
> and I think that should be the same without the quotes :
>
> IP_CIP_HASH="${OCF_RESKEY_clusterip_hash:-sourceip-sourceport}"
>
> Another workaround is to force the parameter in the CIB :
> primitive tom-lo-vip ocf:heartbeat:IPaddr2 \
> params nic="lo" ip="x.x.x.x" iflabel="yy"
> clusterip_hash="sourceip-sourceport"
>
> PS: I'm using the CIB workaround and not the change in the RA so I cannot
> guarantee my assumption.
>
> Cheers,
> Thomas
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
More information about the Pacemaker
mailing list