[Pacemaker] Pacemaker 1.1: cloned stonith resources require --force to be added to levels

Giuseppe Ragusa giuseppe.ragusa at hotmail.com
Thu Jul 3 19:16:47 UTC 2014


Hi all,
while creating a cloned stonith resource for multi-level STONITH on a fully-up-to-date CentOS 6.5 (pacemaker-1.1.10-14.el6_5.3.x86_64):

pcs cluster cib stonith_cfg
pcs -f stonith_cfg stonith create pdu1 fence_apc action="off" \
    ipaddr="pdu1.verolengo.privatelan" login="cluster" passwd="test" \    pcmk_host_map="cluster1.verolengo.privatelan:3,cluster1.verolengo.privatelan:4,cluster2.verolengo.privatelan:6,cluster2.verolengo.privatelan:7" \
    pcmk_host_check="static-list" pcmk_host_list="cluster1.verolengo.privatelan,cluster2.verolengo.privatelan" op monitor interval="240s"
pcs -f stonith_cfg resource clone pdu1 pdu1Clone
pcs -f stonith_cfg stonith level add 2 cluster1.verolengo.privatelan pdu1Clone
pcs -f stonith_cfg stonith level add 2 cluster2.verolengo.privatelan pdu1Clone

the last 2 lines do not succeed unless I add the option "--force" and even so I still get errors when issuing verify:

[root at cluster1 ~]# pcs stonith level verify
Error: pdu1Clone is not a stonith id
[root at cluster1 ~]# echo $?
1

Is this a still unimplemented corner case or is my configuration wrong?

Many thanks in advance.

Regards,
Giuseppe

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140703/219a7c30/attachment-0003.html>


More information about the Pacemaker mailing list