Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
While creating SAPInstance (rpm: resource-agents-sap) resource on RHEL 8.6 for SAP with HA, Update Services (PAYG) on Azure, I encountered a warning that shows below message.
Warning: Agent 'ocf:heartbeat:SAPInstance' implements unsupported OCF version '2.14', supported versions are: '1.0', '1.1'; assumed version '1.0'
In /var/log/messages, it shows below message. I'm able to create SAP Instance resources, but the warning message description seems alarming to user.
Jun 28 22:19:20 rhel86app1 pacemaker-controld[633105]: warning: ocf:heartbeat:SAPInstance supports OCF version 2.14 (this Pacemaker version supports 1.1 and might not work properly with agent)
Version-Release number of selected component (if applicable):
RHEL Version: RHEL 8.6 for SAP with HA, Update Service Image on Azure
[root@rhel86app1 ~]# rpm -qa | grep -e pcs -e resource-agents-sap
pcs-0.10.12-6.el8_6.1.x86_64
resource-agents-sap-4.1.1-31.el8.noarch
How reproducible:
Follow the document https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/high-availability-guide-rhel-nfs-azure-files to setup pacemaker on RHEL.
Steps to Reproduce:
On creating SAPInstance resource using below command
sudo pcs resource create rsc_sap_NW1_ASCS00 SAPInstance \
InstanceName=NW1_ASCS00_ascs86 START_PROFILE="/sapmnt/NW1/profile/NW1_ASCS00_ascs86" \
AUTOMATIC_RECOVER=false \
meta resource-stickiness=5000 migration-threshold=1 failure-timeout=60 \
op monitor interval=20 on-fail=restart timeout=60 \
op start interval=0 timeout=600 op stop interval=0 timeout=600 \
--group g-NW1_ASCS
Assumed agent name 'ocf:heartbeat:SAPInstance' (deduced from 'SAPInstance')
Warning: Agent 'ocf:heartbeat:SAPInstance' implements unsupported OCF version '2.14', supported versions are: '1.0', '1.1'; assumed version '1.0'
Similarly same waning when create SAPInstance resource for rsc_SAP_NW1_ERS00
Actual results:
Expected results:
It should not show this warning.
Additional info:
On debugging the SAPInstance resource in RHEL 8.6, the OCF version is 1.1 and the SAPInstance version is 2.14 in /usr/lib/ocf/resource.d/hearbeat/SAPInstance.
[root@rhel86app1 heartbeat]# pcs resource debug-monitor --full rsc_sap_NW1_ASCS00 | grep -e OCF_RA_VERSION -e OCF_RESKEY_crm_feature_set
OCF_RA_VERSION_MAJOR=1
OCF_RA_VERSION_MINOR=1
OCF_RESKEY_crm_feature_set=3.13.0
[root@rhel86app1 heartbeat]# more /usr/lib/ocf/resource.d/heartbeat/SAPInstance
<!DOCTYPE resource-agent SYSTEM "ra-api-1.dtd">
<resource-agent name="SAPInstance">
<version>2.14</version>
I could see in SAPInstance github repository https://github.com/ClusterLabs/resource-agents/blob/main/heartbeat/SAPInstance, the SAPInstance resource hearbeat OCF version is maintained differently.
<?xml version="1.0"?>
<!DOCTYPE resource-agent SYSTEM "ra-api-1.dtd">
<resource-agent name="SAPInstance" version="2.14">
<version>1.0</version>
On RHEL 8.4, I don't encounter any issue while creating SAPInstance resource. The OCF version is 1.0 and the SAPInstance version is 2.14 in /usr/lib/ocf/resource.d/hearbeat/SAPInstance (same as RHEL 8.6 SAPInstance resource hearbeat).
[root@app841 heartbeat]# pcs resource debug-monitor --full rsc_sap_QAS_ASCS00 | grep -e OCF_RA_VERSION -e OCF_RESKEY_crm_feature_set
OCF_RA_VERSION_MAJOR=1
OCF_RA_VERSION_MINOR=0
OCF_RESKEY_crm_feature_set=3.7.1
[root@app841 heartbeat]# more /usr/lib/ocf/resource.d/heartbeat/SAPInstance
<!DOCTYPE resource-agent SYSTEM "ra-api-1.dtd">
<resource-agent name="SAPInstance">
<version>2.14</version>
In RHEL 8.4, I have below pcs and resource-agents-sap version.
[root@app841 heartbeat]# rpm -qa | grep -e pcs -e resource-agents-sap
pcs-0.10.8-1.el8.x86_64
resource-agents-sap-4.1.1-30.el8.noarch