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

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-10.0
    • pcs
    • None
    • No
    • Moderate
    • rhel-sst-high-availability
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • 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>

              tojeline@redhat.com Tomas Jelinek
              idevat@redhat.com Ivan Devát
              Tomas Jelinek Tomas Jelinek
              Cluster QE Cluster QE
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: