Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 23
Harden vGPU release ordering in the instance lifecycle#322
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
5c73c02cb36c022727d4fbd4c906b0155a8056364d1f6656d9e6f0511596a59336f7d046ae90d3b5f6db3830963c1048a4File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -306,6 +306,12 @@ func (m *manager) restoreSnapshot(ctx context.Context, id string, snapshotID str | ||
| restored.StoppedAt = nil | ||
| restored.ExitCode = nil | ||
| restored.ExitMessage = "" | ||
| // vGPU assignments are live host state, not snapshot payload: keep the | ||
| // instance's current assignment (possibly retained from a failed release) | ||
| // instead of resurrecting the one embedded in the snapshot. | ||
| restored.GPUFramework = sourceMeta.GPUFramework | ||
| restored.GPUDevicePath = sourceMeta.GPUDevicePath | ||
| restored.GPUMdevUUID = sourceMeta.GPUMdevUUID | ||
cursor[bot] marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| restored.HypervisorType = targetHypervisor | ||
| restored.HypervisorVersion = targetHypervisorVersion | ||
| restored.SocketPath = m.paths.InstanceSocket(id, starter.SocketName()) | ||
| @@ -435,6 +441,7 @@ func (m *manager) forkSnapshot(ctx context.Context, snapshotID string, req ForkS | ||
| forkMeta.ExitCode = nil | ||
| forkMeta.ExitMessage = "" | ||
| forkMeta.RestartStatus = restartpolicy.Status{} | ||
| clearStoredVGPUDevice(&forkMeta) | ||
cursor[bot] marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| forkMeta.FirecrackerUFFDSessionID = "" | ||
| forkMeta.FirecrackerUFFDPagerVersion = "" | ||
| forkMeta.FirecrackerUseUFFDOnNextRestore = useFirecrackerUFFDOnNextRestore(targetHypervisor, rec.Snapshot.Kind == SnapshotKindStandby, targetState) | ||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.