Bug 2110452

Summary: ocf:heartbeat:ethmonitor resource fails to start
Product: Red Hat Enterprise Linux 9 Reporter: Markéta Smazová <msmazova>
Component: resource-agentsAssignee: Oyvind Albrigtsen <oalbrigt>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: agk, cluster-maint, fdinitto, mjuricek
Target Milestone: rcKeywords: Triaged
Target Release: 9.1Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: resource-agents-4.10.0-23.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-15 09:44:01 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:
Deadline: 2022-08-29   

Description Markéta Smazová 2022-07-25 12:27:22 UTC
Description of problem:

ocf:heartbeat:ethmonitor resource fails to start

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

resource-agents-4.10.0-18.el9.x86_64
pacemaker-2.1.4-1.el9.x86_64

How reproducible:

always, easily

Steps to Reproduce:

# pcs resource create ethmon1 ocf:heartbeat:ethmonitor interface=ens5


Actual results:
[root@virt-157 ~]# pcs resource create ethmon1 ocf:heartbeat:ethmonitor interface=ens5
[root@virt-157 ~]# pcs status
Cluster name: STSRHTS21974
Cluster Summary:
  * Stack: corosync
  * Current DC: virt-156 (version 2.1.4-1.el9-dc6eb4362e) - partition with quorum
  * Last updated: Mon Jul 25 13:40:30 2022
  * Last change:  Mon Jul 25 13:33:29 2022 by root via cibadmin on virt-156
  * 2 nodes configured
  * 3 resource instances configured

Node List:
  * Online: [ virt-156 virt-157 ]

Full List of Resources:
  * fence-virt-156	(stonith:fence_xvm):	 Started virt-156
  * fence-virt-157	(stonith:fence_xvm):	 Started virt-157
  * ethmon1	(ocf:heartbeat:ethmonitor):	 Stopped

Failed Resource Actions:
  * ethmon1 start on virt-157 returned 'error' at Mon Jul 25 13:33:30 2022 after 1.063s
  * ethmon1 start on virt-156 returned 'error' at Mon Jul 25 13:33:29 2022 after 1.493s

Daemon Status:
  corosync: active/disabled
  pacemaker: active/disabled
  pcsd: active/enabled



Expected results:
-----------------

Resource is started.


Additional info:
----------------

It worked with RHEL9.

[root@virt-156 ~]# pcs resource debug-start ethmon1
crm_resource: Error performing operation: Error occurred
Operation force-start for ethmon1 (ocf:heartbeat:ethmonitor) returned 1 (error)
attrd_updater: Unknown option -q
Jul 25 13:40:42 WARNING: attrd_updater: Could not update ethmonitor-ens5 = 1: rc=64

Comment 1 Oyvind Albrigtsen 2022-07-26 07:15:18 UTC
https://github.com/ClusterLabs/resource-agents/pull/1795

Comment 6 errata-xmlrpc 2022-11-15 09:44:01 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 (resource-agents 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:7932