[Pacemaker] pacemaker and gnbd

Vadym Chepkov vchepkov at gmail.com
Mon May 3 12:35:17 EDT 2010


On May 3, 2010, at 10:27 AM, Andrew Beekhof wrote:

> It is the case, the conflict is slightly different than you think.
> Corosync doesn't conflict with all versions of openais, just the one
> cman wants to use.
> 
> You need to rebuild cman to use the newer version of openais.

Hmm, this is what I asked at the very beginning:

On Sat, May 1, 2010 at 3:30 PM, Vadym Chepkov <vchepkov at gmail.com> wrote:
> Hi,
> 
> I found out I can't use gnbd if I use pacemaker rpm from clusterlabs repository, because gnbd depends on cman which requires openais which conflicts with corosync pacemaker depends on .
> Is it just a matter of recompiling cman rpm using corosync libraries instead of openais? Or something else needs to be done?


Unfortunately, cman doesn't get compiled "right away":

DEBUG: make[1]: Entering directory `/builddir/build/BUILD/cman-2.0.115/cman/daemon'
DEBUG: gcc -Wall  -fPIC -I//builddir/build/BUILD/cman-2.0.115/ccs/lib -I//usr/include -I../config -DCMAN_RELEASE_NAME=\"2.0.115\" -DOPENAIS_EXTERNAL_SERVICE -O2 -c -o daemon.o daemon.c
DEBUG: daemon.c:32:35: error: openais/totem/aispoll.h: No such file or directory
DEBUG: daemon.c:33:35: error: openais/totem/totemip.h: No such file or directory
DEBUG: In file included from daemon.c:37:
DEBUG: cnxman-private.h:17:33: error: openais/totem/totem.h: No such file or directory
DEBUG: In file included from daemon.c:42:
DEBUG: ais.h:25: error: array type has incomplete element type
DEBUG: ais.h:26: error: array type has incomplete element type
DEBUG: daemon.c:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ais_poll_handle'
DEBUG: daemon.c:62: error: expected ')' before 'handle'
DEBUG: daemon.c:63: error: expected ')' before 'handle'
DEBUG: daemon.c: In function 'send_reply_message':
DEBUG: daemon.c:89: warning: implicit declaration of function 'remove_client'
DEBUG: daemon.c:89: error: 'ais_poll_handle' undeclared (first use in this function)
DEBUG: daemon.c:89: error: (Each undeclared identifier is reported only once
DEBUG: daemon.c:89: error: for each function it appears in.)
DEBUG: daemon.c:108: warning: implicit declaration of function 'poll_dispatch_modify'
DEBUG: daemon.c:108: error: 'process_client' undeclared (first use in this function)
DEBUG: daemon.c: At top level:
DEBUG: daemon.c:113: error: expected ')' before 'handle'
DEBUG: daemon.c: In function 'send_queued_reply':
DEBUG: daemon.c:168: error: 'ais_poll_handle' undeclared (first use in this function)
DEBUG: daemon.c:168: error: 'process_client' undeclared (first use in this function)
DEBUG: daemon.c: At top level:
DEBUG: daemon.c:173: error: expected ')' before 'handle'
DEBUG: daemon.c:323: error: expected ')' before 'handle'
DEBUG: daemon.c:354: error: expected declaration specifiers or '...' before 'poll_handle'
DEBUG: daemon.c: In function 'open_local_sock':
DEBUG: daemon.c:402: warning: implicit declaration of function 'poll_dispatch_add'
DEBUG: daemon.c:402: error: 'handle' undeclared (first use in this function)
DEBUG: daemon.c:402: error: 'process_rendezvous' undeclared (first use in this function)
DEBUG: daemon.c: At top level:
DEBUG: daemon.c:500: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'aisexec_poll_handle'
DEBUG: daemon.c: In function 'cman_init':
DEBUG: daemon.c:506: error: 'ais_poll_handle' undeclared (first use in this function)
DEBUG: daemon.c:506: error: 'aisexec_poll_handle' undeclared (first use in this function)
DEBUG: daemon.c:512: error: too many arguments to function 'open_local_sock'
DEBUG: daemon.c:516: error: too many arguments to function 'open_local_sock'
DEBUG: make[1]: Leaving directory `/builddir/build/BUILD/cman-2.0.115/cman/daemon'
DEBUG: RPM build errors:
DEBUG: make[1]: *** [daemon.o] Error 1






More information about the Pacemaker mailing list