RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1995419 - fence_watchdog has invalid metadata
Summary: fence_watchdog has invalid metadata
Keywords:
Status: CLOSED DUPLICATE of bug 1443666
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pacemaker
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: beta
: ---
Assignee: Klaus Wenninger
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-19 04:42 UTC by Madison Kelly
Modified: 2021-08-20 14:47 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-20 14:47:45 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-93994 0 None None None 2021-08-19 04:43:08 UTC

Description Madison Kelly 2021-08-19 04:42:39 UTC
Description of problem:

'fence_watchdog -o metadata' returns malformed XML, specifically;

====
<?xml version="1.0" ?>
<resource-agent name="fence_watchdog" shortdesc="Dummy watchdog fence agent">
<longdesc>fence_watchdog just provides
meta-data - actual fencing is done by the pacemaker internal watchdog agent.</longdesc>
<parameters>
    <parameter name="actionrequired="1">
      <getopt mixed="-o, --action=[action]" />
      <content type="string" default="metadata" />
      <shortdesc lang="en">Fencing Action</shortdesc>
    </parameter>
    <parameter name="nodenamerequired="0">
      <getopt mixed="-N, --nodename" />
      <content type="string"  />
      <shortdesc lang="en">Ignored</shortdesc>
    </parameter>
    <parameter name="plugrequired="1">
      <getopt mixed="-n, --plug=[id]" />
      <content type="string"  />
      <shortdesc lang="en">Ignored</shortdesc>
    </parameter>
    <parameter name="versionrequired="0">
      <getopt mixed="-V, --version" />
      <content type="boolean"  />
      <shortdesc lang="en">Display version information and exit</shortdesc>
    </parameter>
    <parameter name="helprequired="0">
      <getopt mixed="-h, --help" />
      <content type="boolean"  />
      <shortdesc lang="en">Display help and exit</shortdesc>
    </parameter>
  </parameters>
 <actions>
    <action name="on" />
    <action name="off" />
    <action name="reboot" />
    <action name="monitor" />
    <action name="list" />
    <action name="metadata" />
  </actions>
</resource-agent>
====

The '<parameter name="x="y"> appears in all instances, likely a parse error.

Version-Release number of selected component (if applicable):

pacemaker-2.1.0-5.el8.x86_64


How reproducible:

100%


Steps to Reproduce:
1. Call 'fence_watchdog -o metadata'
2.
3.

Actual results:

Malformed XML.


Expected results:

Well-formed XML.


Additional info:

Comment 1 Klaus Wenninger 2021-08-19 07:38:51 UTC
https://github.com/ClusterLabs/pacemaker/pull/2482

Comment 2 Ken Gaillot 2021-08-20 14:47:45 UTC
Since this feature hasn't been tested or released in RHEL yet, I'm going to close this as a duplicate of the feature bz for bookkeeping purposes. I'll add a note there to verify the meta-data.

The fix will land in both RHEL 8.5 and CentOS Stream 8 as of build pacemaker-2.1.0-8.el8

*** This bug has been marked as a duplicate of bug 1443666 ***


Note You need to log in before you can comment on or make changes to this bug.