[Linux-HA] Crm_attribute bug?
TORRESANI, Roberto
roberto.torresani at unitn.it
Fri Sep 15 01:33:26 MDT 2006
I think I found out a minor bug in crm_attribute
Having a crm_config section like this:
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<attributes>
<nvpair id="cib_bootstrap-options:symmetric_cluster"
name="symmetric_cluster" value="false"/>
</attributes>
</cluster_property_set>
<crm_config>
A command like:
crm_attribute -t crm_config -s cib-bootstrap-options -n
symmetric_cluster -G
would fail.
If the id of the nvpair is "cib_bootstrap-options-symmetric_cluster"
(with the '-' instead of ':') it works correctly.
Moreover, if I try to set the value with the ':' id, the nvpair is
duplicated, ignoring the one with the ':', and a property with the '-'
is created.
Maybe I am missing something, but I believe that those type of command
would look at the name attrib of the nvpair, instead of at the id.
Regards,
Roberto
More information about the Linux-HA
mailing list