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

Remove support for DIMM hotplug #1060

Open
stradig opened this issue Sep 3, 2024 · 1 comment
Open

Remove support for DIMM hotplug #1060

stradig opened this issue Sep 3, 2024 · 1 comment
Assignees
Labels
a/tech_debt Area: related to tech debt c/autoscaling/neonvm Component: autoscaling: NeonVM

Comments

@stradig
Copy link
Contributor

stradig commented Sep 3, 2024

This code is no longer needed since we moved to virtio-mem on all nodes and tested this over a sufficient time. So we should remove it to reduce tech debt and clean up the code.

@sharnoff sharnoff added a/tech_debt Area: related to tech debt c/autoscaling/neonvm Component: autoscaling: NeonVM labels Sep 9, 2024
sharnoff added a commit that referenced this issue Sep 9, 2024
This is part 1 of 2 for removing DIMM slots support and completing our
transition to using virtio-mem instead (ref #1060).

With this change, neonvm-controller will always assume that VMs are
using virtio-mem. The only checks exist at the top of the reconcile
functions, making sure that this is indeed the case.

The fields still exist in the CRD (although the're marked as
deprecated), so that rollback of this change is still sound.

neonvm-runner also retains support for both memory providers, so that
custom neonvm-runner images continue to work for at least one version
across the change.
@sharnoff sharnoff self-assigned this Sep 9, 2024
sharnoff added a commit that referenced this issue Oct 12, 2024
This is part 1 of 2 for removing DIMM slots support and completing our
transition to using virtio-mem instead (ref #1060).

With this change, neonvm-controller will always assume that VMs are
using virtio-mem. The only checks exist at the top of the reconcile
functions, making sure that this is indeed the case.

The fields still exist in the CRD (although the're marked as
deprecated), so that rollback of this change is still sound.

neonvm-runner also retains support for both memory providers, so that
custom neonvm-runner images continue to work for at least one version
across the change.
sharnoff added a commit that referenced this issue Oct 12, 2024
Part of #1060. Before we stop setting status.memoryProvider, we need to
make sure that an empty status.memoryProvider is interpreted as
virtio-mem.

We *could* do that everywhere status.memoryProvider is used, but it's
probably just easier to do it at top, replacing our handling that
originally set DIMM slots by default.
sharnoff added a commit that referenced this issue Oct 12, 2024
This is part 1 of 2 for removing DIMM slots support and completing our
transition to using virtio-mem instead (ref #1060).

With this change, neonvm-controller will always assume that VMs are
using virtio-mem. The only checks exist at the top of the reconcile
functions, making sure that this is indeed the case.

The fields still exist in the CRD (although the're marked as
deprecated), so that rollback of this change is still sound.

neonvm-runner also retains support for both memory providers, so that
custom neonvm-runner images continue to work for at least one version
across the change.
sharnoff added a commit that referenced this issue Oct 15, 2024
…1110)

Part of #1060. Before we stop setting status.memoryProvider, we need to
make sure that an empty status.memoryProvider is interpreted as
virtio-mem.

We *could* do that everywhere status.memoryProvider is used, but it's
probably just easier to do it at top, replacing our handling that
originally set DIMM slots by default.
@sharnoff
Copy link
Member

sharnoff commented Nov 4, 2024

Update: Waiting on me to rebase #1070.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a/tech_debt Area: related to tech debt c/autoscaling/neonvm Component: autoscaling: NeonVM
Projects
None yet
Development

No branches or pull requests

2 participants