HomeClusterLabs Projects

Fix: libcrmcommon: filter attributes with '#' from XML fields

Description

Fix: libcrmcommon: filter attributes with '#' from XML fields

The PE passes node attributes to fence agents using hash2metafield(),
but this would generate invalid XML syntax with per-operation fail counts,
which contain '#'. Cluster-generated attributes aren't intended to be passed
anyway, so just filter such names out when adding to XML.

Details

Provenance
kgaillotAuthored on Apr 7 2017, 4:40 PM
Parents
rP49de190ba19e: Doc: Pacemaker Explained: clarify stonith-max-attempts
Branches
Unknown
Tags
Unknown

Event Timeline