[Linux-cluster] [PATCH] Fix cman_get_node_id in qdisk.
Patrick Caulfield
pcaulfie at redhat.com
Thu Jan 4 14:23:56 UTC 2007
Simone Gotti wrote:
> 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.
>
Yes, that patch look correct to me.
Thanks
--
patrick
More information about the Linux-cluster
mailing list