[Pacemaker] Weird behaviour of crm_resource -N

Andrew Beekhof andrew at beekhof.net
Thu Aug 22 23:01:54 EDT 2013


On 23/08/2013, at 12:20 AM, Andreas Mock <Andreas.Mock at web.de> wrote:

> Hi all,
> 
> I just wanted to cleanup a failed stonith device with
> crm_resource -C -r r_stonith -N node
> but I made an error taking the wrong node name 'node'.
> 'node' is not existent in the cluster, but on the commandline
> I get a
> ----------------8<-------------
> Cleaning up r_stonith on node
> Waiting for 1 replies from the CRMd<cursor>
> ----------------8<-------------
> until it times out after 60 seconds with
> ----------------8<-------------
> Cleaning up r_stonith on node
> Waiting for 1 replies from the CRMdNo messages received in 60 seconds..
> aborting.
> ----------------8<-------------
> 
> Is there a reason why there is no check against the
> cluster membership in advance so that crm_resource
> could just say: No such node 'node' in cluster?

I guess not enough people have made that mistake.

> 
> (crm_rsource from latest git (1.1.10+))
> 
> Best regards
> Andreas Mock
> 
> 
> 
> _______________________________________________
> 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: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130823/6a6d9962/attachment-0003.sig>


More information about the Pacemaker mailing list