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 2003118 - Several resource agents report incorrect OCF version
Summary: Several resource agents report incorrect OCF version
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: resource-agents
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Oyvind Albrigtsen
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-10 12:17 UTC by Tomas Jelinek
Modified: 2022-05-17 12:19 UTC (History)
7 users (show)

Fixed In Version: resource-agents-4.9.0-2.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2003117
Environment:
Last Closed: 2022-05-17 12:18:28 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CLUSTERQE-5183 0 None None None 2021-10-26 14:04:21 UTC
Red Hat Issue Tracker RHELPLAN-96843 0 None None None 2021-09-10 12:19:03 UTC
Red Hat Product Errata RHBA-2022:2287 0 None None None 2022-05-17 12:18:37 UTC

Description Tomas Jelinek 2021-09-10 12:17:24 UTC
+++ This bug was initially created as a clone of Bug #2003117 +++

Description of problem:

The following resource agents report the following version of OCF standard:
ocf:heartbeat:aws-vpc-move-ip: 2.0
ocf:heartbeat:conntrackd: 1.2
ocf:heartbeat:dhcpd: 0.1
ocf:heartbeat:ethmonitor: 1.2
ocf:heartbeat:iSCSILogicalUnit: 0.9
ocf:heartbeat:iSCSITarget: 0.9
ocf:heartbeat:nagios: 0.75
ocf:heartbeat:oraasm: 0.75
ocf:heartbeat:postfix: 0.1
ocf:heartbeat:slapd: 0.1
ocf:heartbeat:vdo-vol: 0.75

As far as I know, the only existing OCF versions are 1.0 and 1.1.

Up until now, this didn't matter that much, as there was only one OCF version. However, we have two versions now and tools processing agents' metadata start relying on the version field to figure out each agent's metadata version.


Version-Release number of selected component (if applicable):
resource-agents-4.1.1-98.el8


How reproducible:
always, easily


Steps to Reproduce:
1. crm_resource --show-metadata ocf:heartbeat:aws-vpc-move-ip | xmllint --xpath /resource-agent/version -


Actual results:
<version>2.0</version>


Expected results:
<version>1.0</version> or <version>1.1</version>

Comment 1 Oyvind Albrigtsen 2021-10-07 09:20:39 UTC
https://github.com/ClusterLabs/resource-agents/pull/1700

Comment 7 errata-xmlrpc 2022-05-17 12:18:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: resource-agents), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2287


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