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

fix: reverted NodeGetInfo response as it breaks Nomad clusters #776

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

lukasmetzner
Copy link
Contributor

@lukasmetzner lukasmetzner commented Nov 11, 2024

We modified the response for NodeGetInfo to return an additional Topology Segment. We assumed that this only “adds” new info, but in practice it breaks the spec.

When trying to schedule a volume to nodes, the container orchestration systems should verify that the Node fulfills at least one Accessible Topology of the Node, where “fulfills” means that all supplied segments match.

This is not implemented in the same way between Kubernetes and Nomad.

  • Kubernetes: requirements are fulfilled if the volume specifies a subset of the Nodes topology
  • Nomad: requirements are fulfilled if the volume specifies all of the Nodes topology

We made these changes to work around a bug in the Kubernetes scheduler (here) where nodes without the CSI Plugin would still be considered for scheduling, but then creating and attaching the volume fails with no automatic reconciliation of this error.

We modified the response for `NodeGetInfo` to return an additional Topology Segment. We assumed that this only “adds” new info, but in practice it breaks the spec.

When trying to schedule a volume to nodes, the CO should verify that the Node fulfills at least one Accessible Topology of the Node, where “fulfills” means that all supplied segments match.

This is not implemented in the same way between Kubernetes and Nomad.

- **Kubernetes**: requirements are fulfilled if the volume specifies a subset of the Nodes topology
- **Nomad**: requirements are fulfilled if the volume specifies all of the Nodes topology

We made these changes to work around a bug in the Kubernetes scheduler where nodes without the CSI Plugin would still be considered for scheduling, but then creating and attaching the volume fails with no automatic reconciliation of this error.
@lukasmetzner lukasmetzner requested a review from a team as a code owner November 11, 2024 15:47
@lukasmetzner lukasmetzner self-assigned this Nov 11, 2024
@lukasmetzner lukasmetzner merged commit 417d201 into main Nov 12, 2024
8 checks passed
@lukasmetzner lukasmetzner deleted the revert-provided-by-topology branch November 12, 2024 08:55
This was referenced Nov 12, 2024
lukasmetzner pushed a commit that referenced this pull request Nov 12, 2024
### ⚠️ Removed Feature from v2.10.0

We have reverted a workaround for an upstream issue in the Kubernetes
scheduler where nodes without the CSI Plugin (e.g. Robot servers) would
still be considered for scheduling, but then creating and attaching the
volume fails with no automatic reconciliation of the this error.

Due to variations in the CSI specification implementation, these changes
disrupted Nomad clusters, requiring us to revert them. We are actively
working on placing this workaround behind a feature flag, allowing
Kubernetes users to bypass the upstream issue.

This affects you, if you have set the Helm value
`allowedTopologyCloudServer` in v2.10.0. If you are affected by the
Kubernetes upstream issue, we will provide a fix in the next minor
version v2.11.0.

Learn more about this in
[#400](#400) and
[#771](#771).

### Bug Fixes

- reverted NodeGetInfo response as it breaks Nomad clusters (#776)

Co-authored-by: releaser-pleaser <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants