Bug 1937027
| Summary: | Support version 1.1 of the OCF Resource Agent API standard | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Ken Gaillot <kgaillot> |
| Component: | resource-agents-sap-hana | Assignee: | Janine Fuchs <jfuchs> |
| Status: | CLOSED DUPLICATE | QA Contact: | Amir Memon <amemon> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.5 | CC: | cfeist, fdanapfe, mmoster, oalbrigt |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | 8.5 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-07-25 07:39:30 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Ken Gaillot
2021-03-09 17:26:43 UTC
Follow Bug 1937025 for how the resource-agents package will approach this. Once that is finalized, the same approach can be used here. This package should depend on the appropriate version of resource-agents to ensure the shell includes support OCF 1.1. It looks like I'm running into this problem on RHEL 8.6.0.
[root@isvqe-01 Certification]# pcs resource create SAPHanaTopology_RH2_02 SAPHanaTopology SID=BEN InstanceNumber=00 op start \
> timeout=600 op stop timeout=300 op monitor interval=10 timeout=600 clone clone-max=2 clone-node-max=1 interleave=true
Assumed agent name 'ocf:heartbeat:SAPHanaTopology' (deduced from 'SAPHanaTopology')
Error: Unable to process agent 'ocf:heartbeat:SAPHanaTopology' as it implements unsupported OCF version '0.155.0', supported versions are: '1.0', '1.1', use --force to override
Error: Errors have occurred, therefore pcs is unable to continue
[root@isvqe-01 Certification]# rpm -qa | grep hana
resource-agents-sap-hana-0.154.0-5.el8.noarch
(In reply to Daniel Yeisley from comment #3) > It looks like I'm running into this problem on RHEL 8.6.0. > > [root@isvqe-01 Certification]# pcs resource create SAPHanaTopology_RH2_02 > SAPHanaTopology SID=BEN InstanceNumber=00 op start \ > > timeout=600 op stop timeout=300 op monitor interval=10 timeout=600 clone clone-max=2 clone-node-max=1 interleave=true > > Assumed agent name 'ocf:heartbeat:SAPHanaTopology' (deduced from > 'SAPHanaTopology') > Error: Unable to process agent 'ocf:heartbeat:SAPHanaTopology' as it > implements unsupported OCF version '0.155.0', supported versions are: '1.0', > '1.1', use --force to override > Error: Errors have occurred, therefore pcs is unable to continue > > [root@isvqe-01 Certification]# rpm -qa | grep hana > resource-agents-sap-hana-0.154.0-5.el8.noarch That sounds like the resource agent mistakenly has its version in the <version> tag rather than the <resource-agent ... version="..."> attribute (which is an easy mistake -- I would love to change <version> to <ocf-version> but that would be a backward compatibility headache). As an aside, the OCF 1.1 standard has been formally adopted, and there is an upstream wiki page on updating resource agents: https://wiki.clusterlabs.org/wiki/Update_Resource_Agent_for_OCF_1.1 (In reply to Daniel Yeisley from comment #3) > It looks like I'm running into this problem on RHEL 8.6.0. > > [root@isvqe-01 Certification]# pcs resource create SAPHanaTopology_RH2_02 > SAPHanaTopology SID=BEN InstanceNumber=00 op start \ > > timeout=600 op stop timeout=300 op monitor interval=10 timeout=600 clone clone-max=2 clone-node-max=1 interleave=true > > Assumed agent name 'ocf:heartbeat:SAPHanaTopology' (deduced from > 'SAPHanaTopology') > Error: Unable to process agent 'ocf:heartbeat:SAPHanaTopology' as it > implements unsupported OCF version '0.155.0', supported versions are: '1.0', > '1.1', use --force to override > Error: Errors have occurred, therefore pcs is unable to continue > > [root@isvqe-01 Certification]# rpm -qa | grep hana > resource-agents-sap-hana-0.154.0-5.el8.noarch This issue was already discovered on another Bugzilla, and Oyvind created a patch for it: https://bugzilla.redhat.com/show_bug.cgi?id=2027423#c10 Looks like we need to get this patch backported in the resource-agents-sap-hana packages we ship for RHEL8. (In reply to Frank Danapfel from comment #5) > (In reply to Daniel Yeisley from comment #3) > > It looks like I'm running into this problem on RHEL 8.6.0. > > > > [root@isvqe-01 Certification]# pcs resource create SAPHanaTopology_RH2_02 > > SAPHanaTopology SID=BEN InstanceNumber=00 op start \ > > > timeout=600 op stop timeout=300 op monitor interval=10 timeout=600 clone clone-max=2 clone-node-max=1 interleave=true > > > > Assumed agent name 'ocf:heartbeat:SAPHanaTopology' (deduced from > > 'SAPHanaTopology') > > Error: Unable to process agent 'ocf:heartbeat:SAPHanaTopology' as it > > implements unsupported OCF version '0.155.0', supported versions are: '1.0', > > '1.1', use --force to override > > Error: Errors have occurred, therefore pcs is unable to continue > > > > [root@isvqe-01 Certification]# rpm -qa | grep hana > > resource-agents-sap-hana-0.154.0-5.el8.noarch > > This issue was already discovered on another Bugzilla, and Oyvind created a > patch for it: > https://bugzilla.redhat.com/show_bug.cgi?id=2027423#c10 > > Looks like we need to get this patch backported in the > resource-agents-sap-hana packages we ship for RHEL8. I didn't have a problem with RHEL 8.5.0, only on RHEL 8.6.0. I can open a bz. (In reply to Daniel Yeisley from comment #6) ... > > Looks like we need to get this patch backported in the > > resource-agents-sap-hana packages we ship for RHEL8. > > I didn't have a problem with RHEL 8.5.0, only on RHEL 8.6.0. I can open a bz. I'll clone the RHEL9 bz's, to get this fixed. bz's where this is getting fixed for 8.6 -hana/-scaleout packages (agents in the main resource-agents package is already working correctly): https://bugzilla.redhat.com/show_bug.cgi?id=2050205 https://bugzilla.redhat.com/show_bug.cgi?id=2050196 *** This bug has been marked as a duplicate of bug 2050205 *** |