[Linux-cluster] [PATCH] Fix cman_get_node_id in qdisk.

Simone Gotti simone.gotti at email.it
Thu Jan 4 14:13:12 UTC 2007


Hi all,


testing the qdiskd provided by the new openais cman-2.0.35-2 (on RHEL5
Beta 2) I found that it would no start with the following error:

Could not determine local node ID; cannot start


Looking at the code of the other programs that connects to cman I
noticed that before the call libcman function:
cman_get_node(cman_handle_t handle, int nodeid, cman_node_t *node), 
they are inizialing with all zeros the third argument, so I did the same
with qdiskd and it worked.

Looking at the cvs repository I didn't find a fix for it.
A patch is attached. 

Thanks!

Bye!


-- 
Simone Gotti

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Refill srl il paradiso della tua stampante - cartucce e toner compatibili, inchiostri e accessori per la ricarica, carta speciale. Tutto a prezzi scontatissimi!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5187&d=4-1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cman-2.0.35-qdisk-cman_get_node-fix.patch
Type: text/x-patch
Size: 452 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20070104/3fab651a/attachment.bin>


More information about the Linux-cluster mailing list