Skip to content

Conversation

@ostempel
Copy link
Contributor

@ostempel ostempel commented Sep 2, 2025

Description

Closes #623

Consider all machines of partition (if partition filter is set) for evaluating faulty machines.

@metal-robot metal-robot bot added this to Development Sep 2, 2025
@metal-robot metal-robot bot added the area: control-plane Affects the metal-stack control-plane area. label Sep 2, 2025
@ostempel ostempel marked this pull request as ready for review September 2, 2025 08:56
@ostempel ostempel requested a review from a team as a code owner September 2, 2025 08:56
@ostempel ostempel requested review from Gerrit91 and mwennrich and removed request for mwennrich September 2, 2025 08:56
@Gerrit91 Gerrit91 changed the title consider all machines of partition for evaluating faulty machiens consider all machines of partition for evaluating faulty machines Sep 2, 2025
@Gerrit91 Gerrit91 changed the title consider all machines of partition for evaluating faulty machines Consider all machines of partition for evaluating faulty machines Sep 2, 2025
return nil, err
}
} else {
allMs = ms
Copy link
Contributor

Choose a reason for hiding this comment

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

ms could be filtered by size, so these are not all machines. There should be no other filters applied for machine evaluation (except maybe partition).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah totally right. I will fix this

@ostempel ostempel requested a review from Gerrit91 September 8, 2025 09:19
Copy link
Contributor

@Gerrit91 Gerrit91 left a comment

Choose a reason for hiding this comment

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

Thanks, hopefully it will fix the issue in production, too, but I think it will!

@Gerrit91 Gerrit91 merged commit 663bddb into master Sep 22, 2025
2 checks passed
@Gerrit91 Gerrit91 deleted the fix-capacity-endpoint-faulty-machine-evaluation branch September 22, 2025 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: control-plane Affects the metal-stack control-plane area.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Consider all machines for evaluating faulty machines in partition capacity endpoint

3 participants