Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-79044

Missing agent validation result in CLI warning message in `stonith create`

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-10.2
    • rhel-10.0
    • pcs
    • pcs-0.12.1-3.el10
    • No
    • Moderate
    • rhel-ha
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Release Note Not Required
    • None

      Steps to reproduce

      $ pcs stonith create F1 fence_xvm
      Warning: Validating resource options using the resource agent itself is enabled by default and produces warnings. In a future version, this might be changed to errors. Specify --agent-validation to switch to the future behavior.                                                                                                                                        
      Warning: Validation result from agent:

      However, the message exists in validation result:

      $ pcs stonith create F2 fence_xvm --debug 2>&1 | grep "<pacemaker-result" -A 8
      <pacemaker-result api-version="2.38" request="/usr/sbin/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>

              cluster-qe Cluster QE
              idevat@redhat.com Ivan Devát
              Tomas Jelinek
              Peter Romancik Peter Romancik
              Cluster QE Cluster QE
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: