[Openais] [Corosync+CLM] Problem using SA_TRACK_CHANGES

Steven Dake sdake at redhat.com
Tue Jul 7 02:37:50 PDT 2009


I'll take a look in the morning

regards
-steve

On Tue, 2009-07-07 at 09:24 +0200, Jérôme Flesch wrote:
> I have a strange problem with CLM: I can't get any change notification 
> (ie callback call) at all from SA_TRACK_CHANGES. However, 
> SA_TRACK_CURRENT works fine.
> 
> I first saw this problem with our own program, but I tested with 
> openais/test/testclm, and the problem also appears here. This problem 
> doesn't seem to be recent (I only discovered it recently because of a 
> change in our protocol).
> 
> I first assumed it was due to a FreeBSD-ism, but I also got this problem 
> when testing with clusters of FreeBSD/Debian and Debian/Debian.
> 
> 
> I compiled each node with ./configure --disable-nss --enable-debug.
> To test, I did the following:
> - Start an OpenAIS on computer A
> - Run openais/test/testclm on computer A
> (testclm A: notification SA_TRACK_CURRENT for A)
> - Start an OpenAIS on computer B
> (testclm A: no notification)
> - Run openais/test/testclm on computer B
> (testclm B: notification SA_TRACK_CURRENT for A & B)
> 
> 
> On the other hand, the output of Corosync/OpenAIS tells me that 
> everything work as expected:
> Jul 07 09:19:26 corosync [CLM   ] nodeget: trying to find node ffffffff
> Jul 07 09:19:28 corosync [CLM   ] CLM CONFIGURATION CHANGE
> Jul 07 09:19:28 corosync [CLM   ] New Configuration:
> Jul 07 09:19:28 corosync [CLM   ] 	r(0) ip(10.2.28.1)
> Jul 07 09:19:28 corosync [CLM   ] Members Left:
> Jul 07 09:19:28 corosync [CLM   ] 	r(0) ip(10.2.28.2)
> Jul 07 09:19:28 corosync [CLM   ] Members Joined:
> Jul 07 09:19:28 corosync [CLM   ] CLM CONFIGURATION CHANGE
> Jul 07 09:19:28 corosync [CLM   ] New Configuration:
> Jul 07 09:19:28 corosync [CLM   ] 	r(0) ip(10.2.28.1)
> Jul 07 09:19:28 corosync [CLM   ] Members Left:
> Jul 07 09:19:28 corosync [CLM   ] Members Joined:
> Jul 07 09:19:28 corosync [TOTEM ] A processor joined or left the 
> membership and a new membership was formed.
> Jul 07 09:19:28 corosync [MAIN  ] Completed service synchronization, 
> ready to provide service.
> 
> 
> Did I miss something or did something the wrong way ?
> 
> 
> PS: I'm working on the trunk version of Corosync/OpenAIS, not the RC.
> _______________________________________________
> Openais mailing list
> Openais at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/openais



More information about the Openais mailing list