Re: [Pacemaker] exit code crm_attibute

2013-11-21 Thread Andrew Beekhof
On 22 Nov 2013, at 12:33 am, Andrey Groshev wrote: > Hi, Andrew! > > I'm trying to find the source of my problems. > This touble exist only on "--query" > I learned crm_attribute.c > IMHO, when call > rc = read_attr_delegate(the_cib, type, dest_node, set_type, set_name, > attr_id, attr_n

Re: [Pacemaker] exit code crm_attibute

2013-11-21 Thread Andrey Groshev
Hi, Andrew! I'm trying to find the source of my problems. This touble exist only on "--query" I learned crm_attribute.c IMHO, when call rc = read_attr_delegate(the_cib, type, dest_node, set_type, set_name, attr_id, attr_name, &read_value, TRUE, NULL); I thick that dest_node == NULL Since

Re: [Pacemaker] exit code crm_attibute

2013-11-19 Thread Andrey Groshev
Hellow Andrew! I'm sorry, forgot about this thread, and now again came across the same problem. # crm_attribute --type nodes --node-uname fackename.node.org --attr-name notexistattibute --query > /dev/null; echo $? Could not map name=fackename.node.org to a UUID 0 Version PCMK 1.1.11 23.09.2013

Re: [Pacemaker] exit code crm_attibute

2013-09-22 Thread Andrew Beekhof
On 20/09/2013, at 5:53 PM, Andrey Groshev 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 ma

[Pacemaker] exit code crm_attibute

2013-09-20 Thread Andrey Groshev
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 ST