-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-10.0
-
None
-
fence-agents-4.16.0-18.el10
-
None
-
Low
-
1
-
rhel-ha
-
15
-
26
-
3
-
False
-
False
-
-
No
-
HA-infra Sprint #3: Nov24 2025
-
Requested
-
None
-
Unspecified Release Note Type - Unknown
-
Unspecified
-
Unspecified
-
Unspecified
-
None
What were you trying to do that didn't work?
Validate configuration of fence agent fence_xvm|fence_virt using stonith_admin. The validation errors from the fence agent are outputted to stdout instead of stderr, which is inconsistent with all other fencing agents.
What is the impact of this issue to you?
The validation with this agent is inconsistent with all of the other agents.
Please provide the package NVR for which the bug is seen:
fence-virt-4.16.0-5.el10.x86_64
pacemaker-3.0.0-5.el10.x86_64
How reproducible is this bug?:
Always
Steps to reproduce
Run:
# stonith_admin --validate --agent fence_xvm
Expected results
The validation messages to be on stderr
Actual results
The validation messages are on stdout. This is also visible in the XML output, with the <output source="stdout">:
# stonith_admin --validate --output-as xml --agent fence_xvm <pacemaker-result api-version="2.41" request="stonith_admin --validate --output-as xml --agent fence_xvm"> <validate agent="fence_xvm" valid="false"> <command code="61"> <output source="stdout">No domain specified! </output> </command> </validate> <status code="1" message="Error occurred"/> </pacemaker-result>