[Pacemaker] crm_attribute not returning node attribute
Andrew Beekhof
andrew at beekhof.net
Tue Apr 30 04:30:21 UTC 2013
On 20/04/2013, at 3:39 AM, Brian J. Murrell <brian at interlinx.bc.ca> wrote:
> Given:
>
> host1# crm node attribute host1 show foo
> scope=nodes name=foo value=bar
>
> Why doesn't this return anything:
>
> host1# crm_attribute --node host1 --name foo --query
This is looking up transient attributes.
You need to add "-l forever"
> host1# echo $?
> 0
>
> cibadmin -Q confirms the presence of the attribute:
>
> <node id="host1" uname="host1">
> <instance_attributes id="nodes-host1">
> <nvpair id="nodes-host1-foo" name="foo" value="bar"/>
> </instance_attributes>
> </node>
>
> This is on pacemaker 1.1.8 on EL6.4 and crmsh.
>
> Thoughts?
>
> b.
>
> _______________________________________________
> 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
More information about the Pacemaker
mailing list