[Pacemaker] Resource Netctl - systemd unit - cycled restarting

Andrew Beekhof andrew at beekhof.net
Fri Oct 3 01:09:53 CEST 2014


On 2 Oct 2014, at 6:23 pm, Dmitry Pozdeiev <pda at cybernet.su> wrote:

> Andrew Beekhof <andrew at ...> writes:
> 
>> On 30 Sep 2014, at 5:32 am, Dmitry Pozdeiev <pda at ...> wrote:
>> 
>>> Forgot provide system info.
>>> 
>>> Gentoo Linux 3.14.14 x86_64
>>> systemd 215-r3
>>> netctl 1.9
>>> corosync 2.3.3
>>> pacemaker 1.1.10
>> 
>> ^^ systemd support has been a bit of a recurring thorn of late.
>> 
>> You probably need to upgrade pacemaker all the way up to the current git
> master (I was literally fixing
>> systemd related code an hour ago).
> 
> Can't compile, error at 'help2man mcp/pacemakerd', because:
> 
> $ mcp/pacemakerd --help
> mcp/.libs/pacemakerd: symbol lookup error:
> lib/cluster/.libs/libcrmcluster.so.4: undefined symbol: crm_strcase_hash
> 
> Can you help me how to fix it?


Unclear.
The function certainly exists:

./lib/common/utils.c-2462-guint
./lib/common/utils.c:2463:crm_strcase_hash(gconstpointer v)
./lib/common/utils.c-2464-{
./lib/common/utils.c-2465-    const signed char *p;
./lib/common/utils.c-2466-    guint32 h = 0;

Sounds like a compiler over-optimization.
Perhaps swap the order of the libraries in Makefile.am:

pacemakerd_LDADD        = $(top_builddir)/lib/cluster/libcrmcluster.la $(top_builddir)/lib/common/libcrmcommon.la



> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20141003/8174f074/attachment-0001.sig>


More information about the Pacemaker mailing list