+++ This bug was initially created as a clone of Bug #2222744 +++ Description of problem: When a cluster property that does not exist is supplied to the `pcs property describe` command, nothing is printed out and the return value is 0 (success). There should be some kind of an error in this case. Version-Release number of selected component (if applicable): pcs-0.11.6-2.el9 How reproducible: always, easily Steps to Reproduce: 1. Run `pcs property describe nonexistent` Actual results: # pcs property describe nonexistent # echo $? 0 Expected results: An error is printed and pcs exits with a non-zero return code. Additional info:
Upstream commit: https://github.com/ClusterLabs/pcs/commit/e455b9bebd089cf284df7fb43dc2a971807bcb1f Updated commands: * pcs property describe * pcs property defaults Test: # pcs property describe nonexistent Error: No description for property: 'nonexistent' # echo $? 1 # pcs property defaults nonexistent1 nonexistent2 Error: No default value for properties: 'nonexistent1', 'nonexistent2' # echo $? 1