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 1920947 - [RFE] fence_redfish: Add diag action
Summary: [RFE] fence_redfish: Add diag action
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: fence-agents
Version: 8.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: 8.5
Assignee: Oyvind Albrigtsen
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-27 09:43 UTC by Reid Wahl
Modified: 2021-11-09 19:23 UTC (History)
3 users (show)

Fixed In Version: fence-agents-4.2.1-71.el8
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 17:35:30 UTC
Type: Feature Request
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ClusterLabs fence-agents pull 380 0 None closed fence_redfish: Add diag action 2021-02-18 01:54:51 UTC
Red Hat Knowledge Base (Solution) 1480813 0 None None None 2021-01-27 16:30:20 UTC
Red Hat Product Errata RHBA-2021:4148 0 None None None 2021-11-09 17:35:52 UTC

Description Reid Wahl 2021-01-27 09:43:23 UTC
Description of problem:

Add a diag action similar to the one used with fence_ipmilan. This action should send an NMI, which can cause the system to panic and dump a vmcore if the kernel tunables are set appropriately.

Hopefully, this will only require adding `'diag': "Nmi"` to the action dict and adding "diag" to the device_opt list.

Reference:
  - http://redfish.dmtf.org/schemas/DSP2046_2020.3.html#redfish.dmtf.org/schemas/v1/ComputerSystem.json|details|ResetType

I do not have an environment with which to test fence_redfish.

-----

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

fence-agents-redfish-4.2.1-53.el8_3.1

-----

How reproducible:

Always

-----

Steps to Reproduce:
1. Run `fence_redfish` with valid credentials and the `-o diag` option.

-----

Actual results:

2021-01-27 01:41:38,956 ERROR: Failed: Unrecognised action 'diag'

2021-01-27 01:41:38,957 ERROR: Please use '-h' for usage

-----

Expected results:

fence_redfish successfully sends an NMI to the target system.

Comment 6 Dean Jansa 2021-04-08 17:06:14 UTC
ON_QA bug without Verified:Tested should be in the MODIFIED state.

Comment 11 Oyvind Albrigtsen 2021-05-07 08:36:24 UTC
Patch to add missing diag logic: https://github.com/ClusterLabs/fence-agents/pull/407

Comment 15 errata-xmlrpc 2021-11-09 17:35:30 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 (fence-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-2021:4148


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