[Pacemaker] pacemaker service start failed.

Yuusuke Iida iidayuus at intellilink.co.jp
Mon Oct 22 07:29:05 EDT 2012


Hi, Vossel

(2012/10/20 0:42), David Vossel wrote:
>
>
> ----- Original Message -----
>> From: "Yuusuke Iida" <iidayuus at intellilink.co.jp>
>> To: "pacemaker at oss" <pacemaker at oss.clusterlabs.org>
>> Cc: shimazakik at intellilink.co.jp
>> Sent: Friday, October 19, 2012 1:43:25 AM
>> Subject: [Pacemaker] pacemaker service start failed.
>>
>> Hi, Andrew
>>
>> I made a version of Pacemaker latest.
>> Then pacemaker came to fail in start.
>>
>> I think that this came to be caused by the following changes.
>> https://github.com/ClusterLabs/pacemaker/commit/4f88cb1049e898726472a91fff834dcccbd6f665
>>
>> I confirm movement in the following versions now.
>>
>> OS: RHEL6.3
>> # pacemakerd -F
>> Pacemaker 1.1.8 (Build: bd68c20)
>>   Supporting:  agent-manpages ncurses libqb-logging libqb-ipc
>>   lha-fencing
>>   heartbeat corosync-native
>> # corosync -v
>> Corosync Cluster Engine, version '2.1.0.1-20c58'
>>
>> I collected crm_report of this time.
>>
>> Did how to use pacemaker change?
>> Does my setting have a problem?
>
> Looking at your corosync.conf, what happens if you un-comment the udpu transport and node list? I'm curious to know if this is a problem limited to the use of corosync with multicast for some reason.
I un-comment and started pacemaker, but have failed like the last time.

nodeid seems to be always handled with 0 as far as I watch
"lib/cluster/corosync.c".

Like the patch which I attached, should not I use pcmk_nodeid here?

Supplement: Because I build corosync cluster using multicast, I do not
want to set nodelist.

I send a modified patch about new crm_report and nodeid.

Best Regards,
Yuusuke
>
> -- Vossel
>
>> Best Regards,
>> Yuusuke
>> --
>> ----------------------------------------
>> METRO SYSTEMS CO., LTD
>>
>> Yuusuke Iida
>> Mail: iidayuus at intellilink.co.jp
>> ----------------------------------------
>>
>> _______________________________________________
>> 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
>>
>
> _______________________________________________
> 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
>

-- 
----------------------------------------
METRO SYSTEMS CO., LTD

Yuusuke Iida
Mail: iidayuus at intellilink.co.jp
----------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20121022_start_fail.tar.bz2
Type: application/octet-stream
Size: 33891 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20121022/9b1f9b43/attachment-0003.obj>
-------------- next part --------------
diff --git a/lib/cluster/corosync.c b/lib/cluster/corosync.c
index a838638..ebe91fd 100644
--- a/lib/cluster/corosync.c
+++ b/lib/cluster/corosync.c
@@ -96,6 +96,9 @@ char *corosync_node_name(uint64_t /*cmap_handle_t*/ cmap_handle, uint32_t nodeid
         if (rc == CS_OK) {
             retries = 0;
             cs_repeat(retries, 5, rc = cpg_local_get(handle, &pcmk_nodeid));
+            if(pcmk_nodeid) {
+                nodeid = pcmk_nodeid;
+            }
         }
 
         if (rc != CS_OK) {


More information about the Pacemaker mailing list