+++ This bug was initially created as a clone of Bug #2049720 +++ Description of problem: Resource ocf:pacemaker:attribute does not comply with the OCF 1.1 standard Version-Release number of selected component (if applicable): pacemaker-cli-2.1.2-4.el8.x86_64 How reproducible: always, easily Steps to Reproduce: 1. # curl -s https://raw.githubusercontent.com/ClusterLabs/OCF-spec/main/ra/1.1/ra-api.rng -o ocf1.1.rng 2. # crm_resource --show-metadata=ocf:pacemaker:attribute | xmllint --noout --relaxng ocf1.1.rng - -:5: element longdesc: Relax-NG validity error : Did not expect element longdesc there -:5: element longdesc: Relax-NG validity error : Element resource-agent has extra content: longdesc - fails to validate Actual results: Resource metadata fails to validate with the rng scheme of the ocf 1.1 standard. Expected results: Resource metadata validate with the rng scheme of the ocf 1.1 standard.
Fixed upstream as of commit c078566a
after fix ---------- [root@virt-535 ~]# rpm -q pacemaker pacemaker-cli pacemaker-2.1.3-2.el8.x86_64 pacemaker-cli-2.1.3-2.el8.x86_64 [root@virt-535 ~]# curl -s https://raw.githubusercontent.com/ClusterLabs/OCF-spec/main/ra/1.1/ra-api.rng -o ocf1.1.rng [root@virt-535 ~]# crm_resource --show-metadata=ocf:pacemaker:attribute | xmllint --noout --relaxng ocf1.1.rng - - validates verified as SanityOnly in pacemaker-2.1.3-2.el8
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (pacemaker bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:7573