-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-9.2.0
-
pcs-0.11.7-4.el9
-
None
-
Moderate
-
rhel-sst-high-availability
-
ssg_filesystems_storage_and_HA
-
17
-
23
-
8
-
False
-
-
Yes
-
None
-
Pass
-
None
-
Bug Fix
-
-
-
Unspecified
-
None
Description of problem:
pcs does not validate resource-discovery in location constraints
Version-Release number of selected component (if applicable):
pcs-0.11.4-6
How reproducible:
always, easily
Steps to Reproduce:
pcs constraint location add loc1 d3 rh91-node1 100 resource-discovery=aaaa
Actual results:
pcs fails with:
Error: Unable to update cib
Call cib_replace failed: Update does not conform to the configured schema
and dumps cib to terminal
Expected results:
Pcs accepts valid values of resource-discovery. Pcs exits with an explanatory error message when resource-discovery is not valid, prints a list of valid values and does not dump cib to a terminal.