-
Bug
-
Resolution: Done-Errata
-
Major
-
rhel-9.0.0
-
pcs-0.11.7-3.el9
-
None
-
Moderate
-
Customer Facing, Customer Reported
-
rhel-sst-high-availability
-
ssg_filesystems_storage_and_HA
-
17
-
23
-
3
-
False
-
-
Yes
-
None
-
Pass
-
None
-
Bug Fix
-
-
Done
-
None
What were you trying to do that didn't work?
'pcs resource config | grep something' wraps output to 80 columns, which makes it difficult to grep for specified values
Please provide the package NVR for which bug is seen:
pcs-0.11.7-2
How reproducible:
always, easily
Steps to reproduce
- pcs resource create test ocf:pacemaker:Dummy 'fake=this is a very long instance attribute value of the dummy resource demonstrating the issue'
- pcs resource config test | cat
Expected results
pcs output is not wrapped:
Resource: test (class=ocf provider=pacemaker type=Dummy)
Attributes: test-instance_attributes
fake="this is a very long instance attribute value of the dummy resource demonstrating the issue"
Operations:
...
Actual results
pcs output is wrapped:
Resource: test (class=ocf provider=pacemaker type=Dummy) Attributes: test-instance_attributes fake="this is a very long instance attribute value of the dummy resource demonstrating the issue" Operations: ...
Workaround
'pcs resource config test 2>/dev/null | cat' or 'pcs resource config test 2>&1 | cat'
- links to
-
RHBA-2024:133004 pcs bug fix and enhancement update
- mentioned on