[Pacemaker] Master Slave resource

Andrew Beekhof andrew at beekhof.net
Fri Dec 10 04:36:01 EST 2010


On Fri, Dec 10, 2010 at 10:18 AM, ruslan usifov <ruslan.usifov at gmail.com> wrote:
> I don't know how to see version of pacemaker, crm doesn't provide -v (or -V
> or --version) option, but I got source from here
> http://hg.clusterlabs.org/pacemaker/stable-1.0/archive/tip.tar.bz2, as
> result I download Pacemaker-1-0-b0266dd5ffa9.tar.bz2

Ah, b0266dd5ffa9 tells me exactly what you're running.

I'm very concerned that can_run_resources() is crashing, looking at
the code it should not be possible.
Do you see any logs containing the text "save_cib_contents"?  If so,
it should mention a filename, could you attach it?

>
>
> and here is my backtrace:
>
> gdb /usr/lib/heartbeat/pengine /tmp/pengine.940.core
> (gdb) bt
> #0  0xb76879b8 in can_run_resources () from /usr/lib/libpengine.so.3
> #1  0xb768dcd7 in node_list_attr_score () from /usr/lib/libpengine.so.3
> #2  0xb768de91 in ?? () from /usr/lib/libpengine.so.3
> #3  0xb768e193 in rsc_merge_weights () from /usr/lib/libpengine.so.3
> #4  0xb7681676 in native_merge_weights () from /usr/lib/libpengine.so.3
> #5  0xb7698654 in group_merge_weights () from /usr/lib/libpengine.so.3
> #6  0xb76a063a in ?? () from /usr/lib/libpengine.so.3
> #7  0xb76a17ad in master_color () from /usr/lib/libpengine.so.3
> #8  0xb7683f3e in stage5 () from /usr/lib/libpengine.so.3
> #9  0xb76813aa in do_calculations () from /usr/lib/libpengine.so.3
> #10 0xb7680991 in process_pe_message () from /usr/lib/libpengine.so.3
> #11 0x08048ed5 in ?? ()
> #12 0xb7611f4e in G_CH_dispatch_int () from /usr/lib/libplumb.so.2
> #13 0xb727f5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
> #14 0xb72832d8 in ?? () from /lib/libglib-2.0.so.0
> #15 0xb7283817 in g_main_loop_run () from /lib/libglib-2.0.so.0
> #16 0x080494f8 in ?? ()
> #17 0xb7337bd6 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
> #18 0x08048dc1 in ?? ()
>
> _______________________________________________
> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
>




More information about the Pacemaker mailing list