[Pacemaker] crm_attribute not returning node attribute

Brian J. Murrell brian at interlinx.bc.ca
Fri Apr 19 17:39:19 UTC 2013


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
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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130419/fcd35738/attachment-0003.sig>


More information about the Pacemaker mailing list