-
Bug
-
Resolution: Done-Errata
-
Minor
-
rhel-8.9.0
-
pcs-0.10.17-5.el8
-
None
-
Low
-
rhel-sst-high-availability
-
ssg_filesystems_storage_and_HA
-
13
-
19
-
1
-
QE ack
-
False
-
-
Yes
-
None
-
Pass
-
None
-
Release Note Not Required
-
-
-
Unspecified
-
None
+++ 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:
- is blocked by
-
RHEL-7725 `pcs property describe` does not raise an error for non-existent properties
- Closed
- external trackers
- links to
-
RHBA-2023:124578 pcs bug fix and enhancement update
- mentioned on