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

ipmi_dcmi_command_success is always 0 on Huawei 2288H V5 (Purley) #106

Closed
przemeklal opened this issue Nov 16, 2023 · 3 comments · Fixed by #123
Closed

ipmi_dcmi_command_success is always 0 on Huawei 2288H V5 (Purley) #106

przemeklal opened this issue Nov 16, 2023 · 3 comments · Fixed by #123
Assignees
Labels
bug Something isn't working
Milestone

Comments

@przemeklal
Copy link
Member

On Huawei 2288H V5, ipmi-dcmi doesn't work, most likely it's related to this bug: prometheus-community/ipmi_exporter#75

We can silence it forever in Prometheus but would it be possible for the charm to first probe if ipmi-dcmi is supported by the hardware and enable only if it is?

@przemeklal
Copy link
Member Author

przemeklal commented Nov 16, 2023

And I confirmed that ipmi-dcmi doesn't work indeed on this hardware:

# ipmi-dcmi --get-system-power-statistics
ipmi_cmd_dcmi_get_power_reading: command invalid or unsupported

Maybe running something like

sudo ipmi-dcmi --get-dcmi-capability-info
ipmi_cmd_dcmi_get_dcmi_capability_info_supported_dcmi_capabilities: bad completion code

could help detect if IPMI DCMI is supported or not.

@jneo8
Copy link
Contributor

jneo8 commented Nov 16, 2023

I am thinking about what should we do after detect this.
Do you think disable ipmi-dcmi make sense to us?

@peppepetra
Copy link

I think disabling ipmi_dcmi collector makes sense, since the hw is not supporting it.

@Pjack Pjack added the bug Something isn't working label Nov 30, 2023
@Pjack Pjack modified the milestones: 23.10.1, 23.10.2 Nov 30, 2023
@Pjack Pjack linked a pull request Dec 26, 2023 that will close this issue
@Pjack Pjack closed this as completed Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants