[Pacemaker] exit code crm_attibute

Andrew Beekhof andrew at beekhof.net
Mon Sep 23 04:20:37 UTC 2013


On 20/09/2013, at 5:53 PM, Andrey Groshev <greenx at yandex.ru> wrote:

> Hi again!
> 
> Today again met a strange behavior.
> I asked for a non-existent attribute of an existing node.
> 
> # crm_attribute --type nodes --node-uname exist.node.domain.com --attr-name notexistattibute --query  ; echo $?
> Could not map name=dev-cluster2-node2.unix.tensor.ru to a UUID
> 0
> 
> That is, to STDERR - swore, but the exit code - 0.

That probably shouldn't happen.  Version?

> 
> _______________________________________________
> 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/20130923/3cc8d3aa/attachment-0004.sig>


More information about the Pacemaker mailing list