On 20/04/2013, at 3:39 AM, Brian J. Murrell <br...@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@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


_______________________________________________
Pacemaker mailing list: Pacemaker@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

Reply via email to