Warnings are displayed even for valid meta attributes.
- Dominant language
- Python
- Stars
- 265
- Forks
- 122
- Avg merge
- 13h 23m
- Merged PRs (30d)
- 14
Description
In the version of pcs (0.12.2) included in RHEL 10.2, a warning is now displayed when invalid meta attributes are used in `https://redhat.atlassian.net/browse/RHEL-7673`.
Although a fix has been implemented, a warning is still being displayed even for valid meta attributes, as shown below. Is this expected behavior?
I am able to update the meta attributes of XML files by executing the command.
```
# cat Pacemaker_2_RHEL10.2.xml | grep migration-threshold
# pcs -f Pacemaker_2_RHEL10.2.xml resource defaults update migration-threshold=2
Warning: Defaults do not apply to resources which override them with their own defined values
Warning: Meta attributes of bundle / clone / group / resource are not validated
# cat Pacemaker_2_RHEL10.2.xml | grep migration-threshold
```
```
# cat Pacemaker_2_RHEL10.2.xml | grep allow-unhealthy-nodes
# pcs -f Pacemaker_2_RHEL10.2.xml resource meta storage-mon-clone allow-unhealthy-nodes=false
Warning: Meta attributes of bundle / clone are not validated
# cat Pacemaker_2_RHEL10.2.xml | grep allow-unhealthy-nodes
```
Contributor guide
Assessment
This issue has not been assessed yet.