[Linux-HA] (Possible) bug somewhere in Linux-HA
misch at multinet.de
Thu Apr 5 01:45:00 MDT 2007
Am Donnerstag, 5. April 2007 06:22 schrieb Alan Robertson:
> Michael Schwartzkopff wrote:
> > Hi,
> > I am writing an extension to IPaddr2 and this script is getting
> > sometimes a wrong OCF_RESKEY_clusterip_hash.
> > How to repeat:
> > 1) Define a clone IPaddr2 ocf ressource.
> > 2) Two clones, set clusterip_hash to "sourceip-sourceport"
> > 3) Start the resource, both nodes get one clone of the ressource,
> > because the IPaddr2 script is called correctly.
> > 4) Stop the ressource. First node stops correctly, the second does NOT.
> > It is called with OCF_RESKEY_clusterip_hash
> > only set to "sourceip" not to "sourceip-sourceport". Of course the
> > deletion of the according iptables entry failes and the ressource is not
> > deleted correctly from the node.
> > Any idea where to search for the calling script and the error in this
> > script?
> It's not likely to be called by a script.
> It's called by the LRM, which is in turn given its directions from the
> TE, which gets them from the PE.
> So, the moral of the story is:
> turn on debug 1 or debug 2 in your ha.cf file
> and follow the logs through to see if you can figure this out.
> It's entirely possible that you haven't given the right attributes to
> your clone resource agent. (globally uniqueness and interleave come to
> mind as possible culprits).
> Could you kindly include your CIB from cibadmin -Q as an ASCII attachment?
> Andrew is likely going to have to be the one to tell you if you didn't
> something wrong, or for that matter, if you've run across a bug.
failure is not reproducable today. Everything works fine. IF it occures again,
I will do a debug as described above.
Thank for the help anyway.
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75
mail: misch at multinet.de
Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens
PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
More information about the Linux-HA