Skip to content

Conversation

@majst01
Copy link
Contributor

@majst01 majst01 commented Oct 4, 2024

Now we have the information about the power supply state, evaluate this info and report as machine issue if something is wrong here.

TODO:

  • add docs.metal-stack.io description what actions need to be done in case of such an issue

@majst01 majst01 requested a review from a team as a code owner October 4, 2024 06:22
@majst01 majst01 requested a review from Gerrit91 October 4, 2024 06:22

func (i *issuePowerSupplyFailure) Evaluate(m metal.Machine, ec metal.ProvisioningEventContainer, c *Config) bool {
for _, ps := range m.IPMI.PowerSupplies {
if ps.Status.Health != "OK" || ps.Status.State != "Enabled" {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice if these String values are somewhere available and documented

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we should at least compare case insensitive

@majst01 majst01 force-pushed the add-powersupply-failures-to-issues branch from ebd27f6 to 36daae2 Compare October 4, 2024 06:28
@github-project-automation github-project-automation bot moved this to Review in Development Jun 5, 2025
@Gerrit91 Gerrit91 removed the status in Development Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants