Bug 2094855
| Summary: | Resource agent ocf:pacemaker:HealthSMART is not compliant with OCF 1.1 standard because of a typo in metadata | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Nina Hostakova <nhostako> |
| Component: | pacemaker | Assignee: | Ken Gaillot <kgaillot> |
| Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 8.7 | CC: | cluster-maint, jrehova, msmazova |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 8.7 | Flags: | pm-rhel:
mirror+
|
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | pacemaker-2.1.4-1.el8 | Doc Type: | No Doc Update |
| Doc Text: |
This issue was not in a released build.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-08 09:42: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: | 2.1.4 |
| Embargoed: | |||
|
Description
Nina Hostakova
2022-06-08 13:00:25 UTC
Fixed in upstream 2.1.4 release by commit ee6e9dd0 * 2-node cluster Status of cluster: > [root@virt-537 ~]# pcs status > Cluster name: STSRHTS21465 > Cluster Summary: > * Stack: corosync > * Current DC: virt-538 (version 2.1.4-3.el8-dc6eb4362e) - partition with quorum > * Last updated: Thu Jul 14 12:12:05 2022 > * Last change: Thu Jul 14 12:12:00 2022 by root via cibadmin on virt-537 > * 2 nodes configured > * 2 resource instances configured > > Node List: > * Online: [ virt-537 virt-538 ] > > Full List of Resources: > * fence-virt-537 (stonith:fence_xvm): Started virt-537 > * fence-virt-538 (stonith:fence_xvm): Started virt-538 > > Daemon Status: > corosync: active/disabled > pacemaker: active/disabled > pcsd: active/enabled Version of pacemaker: > [root@virt-537 ~]# rpm -q pacemaker > pacemaker-2.1.4-3.el8.x86_64 Create ocf:pacemaker:HealthSMART agent: > [root@virt-537 ~]# pcs resource create resource_smart ocf:pacemaker:HealthSMART > [root@virt-537 ~]# pcs status > Cluster name: STSRHTS21465 > Cluster Summary: > * Stack: corosync > * Current DC: virt-538 (version 2.1.4-3.el8-dc6eb4362e) - partition with quorum > * Last updated: Thu Jul 14 12:17:28 2022 > * Last change: Thu Jul 14 12:17:22 2022 by root via cibadmin on virt-537 > * 2 nodes configured > * 3 resource instances configured > > Node List: > * Online: [ virt-537 virt-538 ] > > Full List of Resources: > * fence-virt-537 (stonith:fence_xvm): Started virt-537 > * fence-virt-538 (stonith:fence_xvm): Started virt-538 > * resource_smart (ocf::pacemaker:HealthSMART): Stopped (not installed) > > Daemon Status: > corosync: active/disabled > pacemaker: active/disabled > pcsd: active/enabled Information about ocf:pacemaker:HealthSMART agent: > [root@virt-537 ~]# pcs resource describe ocf:pacemaker:HealthSMART > ocf:pacemaker:HealthSMART - SMART health status > > System health agent that checks the S.M.A.R.T. status of the given drives and updates the #health-smart attribute. > > Resource options: > state (unique group: state): Location to store the resource state in. > drives: The drive(s) to check as a SPACE separated list. Enter the full path to the device, e.g. "/dev/sda". > devices: The device type(s) to assume for the drive(s) being tested as a SPACE separated list. > temp_lower_limit: Lower limit of the temperature in deg C of the drive(s). Below this limit the status will be red. > temp_upper_limit: Upper limit of the temperature if deg C of the drives(s). If the drive reports a temperature higher than this value the status of #health-smart will be red. > temp_warning: Number of deg C below/above the upper/lower temp limits at which point the status of #health-smart will change to yellow. > smartctl: The path to the smartctl program, used for querying device health. > dampen: The time to wait (dampening) for further changes to occur > > Default operations: > start: > interval=0s > timeout=10s > stop: > interval=0s > timeout=10s > monitor: > interval=10s > start-delay=0s > timeout=10s > reload-agent: > interval=0s > timeout=20s Result: ocf:pacemaker:HealthSMART resource has been created. 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 (pacemaker bug fix and enhancement update), 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:7573 |