[Pacemaker] [Ocfs2-users] Error building ocfs2-tools

Nick Khamis symack at gmail.com
Thu Nov 3 20:41:52 UTC 2011


Hello Andrew,

I first applied the patch, and then decided to get the last committed
version from git "git clone
https://github.com/ClusterLabs/pacemaker.git". Recompiled and
installed pacemaker, as well as cman and ocfs2-tools, and still
recieving the following error:


 ocfs2_controld.pcmk -D
ocfs2_controld[6883]: 2011/11/03_16:34:19 info: config_find_next:
Processing additional service options...
ocfs2_controld[6883]: 2011/11/03_16:34:19 info: get_config_opt: Found
'corosync_quorum' for option: name
ocfs2_controld[6883]: 2011/11/03_16:34:19 info: config_find_next:
Processing additional service options...
ocfs2_controld[6883]: 2011/11/03_16:34:19 info: get_config_opt: Found
'corosync_cman' for option: name
ocfs2_controld[6883]: 2011/11/03_16:34:19 info: config_find_next:
Processing additional service options...
ocfs2_controld[6883]: 2011/11/03_16:34:19 info: get_config_opt: Found
'openais_clm' for option: name
ocfs2_controld[6883]: 2011/11/03_16:34:19 info: config_find_next:
Processing additional service options...
ocfs2_controld[6883]: 2011/11/03_16:34:19 info: get_config_opt: Found
'openais_evt' for option: name
ocfs2_controld[6883]: 2011/11/03_16:34:19 info: config_find_next:
Processing additional service options...
ocfs2_controld[6883]: 2011/11/03_16:34:19 info: get_config_opt: Found
'openais_ckpt' for option: name
ocfs2_controld[6883]: 2011/11/03_16:34:19 info: config_find_next:
Processing additional service options...
ocfs2_controld[6883]: 2011/11/03_16:34:19 info: get_config_opt: Found
'openais_msg' for option: name
ocfs2_controld[6883]: 2011/11/03_16:34:19 info: config_find_next:
Processing additional service options...
ocfs2_controld[6883]: 2011/11/03_16:34:19 info: get_config_opt: Found
'openais_lck' for option: name
ocfs2_controld[6883]: 2011/11/03_16:34:19 info: config_find_next:
Processing additional service options...
ocfs2_controld[6883]: 2011/11/03_16:34:19 info: get_config_opt: Found
'openais_tmr' for option: name
ocfs2_controld[6883]: 2011/11/03_16:34:19 info: config_find_next: No
additional configuration supplied for: service
ocfs2_controld[6883]: 2011/11/03_16:34:19 info: config_find_next:
Processing additional quorum options...
ocfs2_controld[6883]: 2011/11/03_16:34:19 info: get_config_opt: Found
'quorum_cman' for option: provider
ocfs2_controld[6883]: 2011/11/03_16:34:20 info: get_cluster_type:
Detected an active 'cman' cluster
ocfs2_controld[6883]: 2011/11/03_16:34:20 info: get_local_node_name:
Using CMAN node name: astdrbd1
ocfs2_controld[6883]: 2011/11/03_16:34:20 info:
init_ais_connection_once: Connection to 'cman': established
ocfs2_controld[6883]: 2011/11/03_16:34:20 info: crm_new_peer: Node
astdrbd1 now has id: 1
ocfs2_controld[6883]: 2011/11/03_16:34:20 info: crm_new_peer: Node 1
is now known as astdrbd1
ocfs2_controld[6883]: 2011/11/03_16:34:20 ERROR: crm_abort:
send_ais_text: Triggered assert at corosync.c:352 : dest !=
crm_msg_ais
Sending message 0 via cpg: FAILED (rc=22): Message error: Success (0)
ocfs2_controld[6883]: 2011/11/03_16:34:20 ERROR: send_ais_text:
Sending message 0 via cpg: FAILED (rc=22): Message error: Success (0)
ocfs2_controld[6883]: 2011/11/03_16:34:20 ERROR: crm_abort:
send_ais_text: Triggered assert at corosync.c:352 : dest !=
crm_msg_ais
Sending message 1 via cpg: FAILED (rc=22): Message error: Success (0)
ocfs2_controld[6883]: 2011/11/03_16:34:20 ERROR: send_ais_text:
Sending message 1 via cpg: FAILED (rc=22): Message error: Success (0)
1320352460 setup_stack at 170: Cluster connection established.  Local node id: 1
1320352460 setup_stack at 174: Added Pacemaker as client 1 with fd -1

My crm config looks like:

node astdrbd1 \
       attributes standby="off"
node astdrbd2 \
       attributes standby="off"
primitive astIP ocf:heartbeat:IPaddr2 \
	op monitor interval="60" timeout="20" \
        params ip="192.168.2.6" cidr_netmask="24" \
        nic="eth2" broadcast="192.168.2.255" \
	lvs_support="true"
primitive astDRBD ocf:linbit:drbd \
	params drbd_resource="r0.res" \
	op monitor role=Master interval="20" timeout="20"\
	op monitor role=Slave interval="30" timeout="20"
ms msASTDRBD astDRBD \
	meta resource-stickines="100" notify="true" \
	master-max="2" interleave="true"
primitive astDLM ocf:pacemaker:controld  op monitor interval="120s"
clone astDLMClone astDLM \
        meta globally-unique="false" interleave="true"
primitive astO2CB ocf:pacemaker:o2cb op monitor interval="120s"
clone astO2CBClone astO2CB \
        meta globally-unique="false" interleave="true"
primitive astFilesystem ocf:heartbeat:Filesystem \
	params device="/dev/drbd0" directory="/service" fstype="ocfs2" \
	op monitor interval="120s"
clone astFilesystemClone astFilesystem meta interleave="true" ordered="true"
order dlmAfterDRBD \
	inf: msASTDRBD:promote astDLMClone
order o2cbAfterDLM \
	inf:  astDLMClone astO2CBClone
order astFilesystemAfterO2cb \
	inf: astO2CBClone astFilesystemClone
colocation dlmOnDRBD \
	inf: astDLMClone msASTDRBD:Master
colocation o2cbOnDLM \
	inf: astO2CBClone astDLMClone
colocation astFilesystemOnO2CB \
	inf: astFilesystemClone astO2CBClone
property $id="cib-bootstrap-options" \
        no-quorum-policy="ignore" \
        stonith-enabled="false" \
        expected-quorum-votes="2" \
        dc-version="1.1.6-2d8fad5" \
        cluster-recheck-interval="0" \
        cluster-infrastructure="openais"
	rsc_defaults $id="rsc-options"

I just thought about recompileing corosync and openais, not sure if
that would make a difference.


Thanks in Advance,

Nick.




More information about the Pacemaker mailing list