Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Want ability to send NMI #81

Open
bahamat opened this issue May 12, 2021 · 5 comments
Open

Want ability to send NMI #81

bahamat opened this issue May 12, 2021 · 5 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/backlog Higher priority than priority/awaiting-more-evidence.

Comments

@bahamat
Copy link

bahamat commented May 12, 2021

Expected Behaviour

A method to send a non-maskable interrupt to a device (server)

Current Behaviour

This is currently not possible

Possible Solution

An API call that will execute something like:

ipmitool <options> chassis power diag

Steps to Reproduce (for bugs)

N/A

Context

For some operating systems, sending an NMI will initiate a panic and crash dump. The crash dump can be analyzed post-mortem. This can sometimes be needed when the system is non-responsive to external input.

While we can initiate a reboot via the API, that does not allow for post-mortem debugging.

Your Environment

  • Operating System and version (e.g. Linux, Windows, MacOS):
    SmartOS

  • How are you running Tinkerbell? Using Vagrant & VirtualBox, Vagrant & Libvirt, on Packet using Terraform, or give details:
    Equinix Metal

  • Link to your project or a code example to reproduce issue:
    https://smartos.org/

@bahamat
Copy link
Author

bahamat commented May 12, 2021

This would be a precursor to enabling a public API for allowing end users to send an NMI.

https://feedback.equinixmetal.com/platform/p/want-nmi

@jacobweinstock
Copy link
Member

jacobweinstock commented May 21, 2021

Hey @bahamat, thanks for your interest in PBnJ and for opening this issue.

Are you looking for this kind of functionality in Equinix Metal? With the link and the references to "the API", seems like you might be?

We might need to approach this concern via other channels as this repo is just the open-source side.
I'll ask around internally here at Equinix Metal and see what the options are.

@jacobweinstock
Copy link
Member

@bahamat, looks like you've done what is needed on the Equinix Metal side with https://feedback.equinixmetal.com/platform/p/want-nmi
We'll have to wait and see what happens there.

As far as the open-source side, this could be useful. PBnJ uses bmclib under the hood for most of its BMC interactions. I'd recommend maybe starting there.

@bahamat
Copy link
Author

bahamat commented May 21, 2021

@jacobweinstock Thanks for the pointer. I created bmc-toolbox/bmclib#233.

@tstromberg tstromberg added the kind/feature Categorizes issue or PR as related to a new feature. label Jul 27, 2021
@tstromberg tstromberg added the priority/backlog Higher priority than priority/awaiting-more-evidence. label Aug 27, 2021
@nshalman
Copy link
Member

No action yet on bmc-toolbox/bmclib#233

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/backlog Higher priority than priority/awaiting-more-evidence.
Projects
None yet
Development

No branches or pull requests

4 participants