-
Notifications
You must be signed in to change notification settings - Fork 200
Cannot reuse a Firecracker VM from multiple containers without specifying Container Count #230
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
Comments
This specifically happens in situations like the following:
Besides the extremely unclear error message @kzys mentioned, we should in theory be able to run the second container as the stub drive is no longer being used after the first container is deleted. We could add a feature to support "freeing" stub drives when containers are deleted. |
Before this change, a stub drive handler knew non-stub drives, including the root drive. However patching non-stub drives is not supported and must be prevented. Related: firecracker-microvm#230 Signed-off-by: Kazuyoshi Kato <[email protected]>
Ah okay, I had thought that closing it was intentional :-) I think it's better to handle that as a separate issue anyways as it's more of a feature enhancement whereas what you did here was a bug fix. |
machine config is not available at this time
* Since firecracker-microvm/firecracker#2125, `cargo build` doesn't build jailer by default. (firecracker-microvm#263) * Fix Benchmark Goroutine (firecracker-microvm#259) * Jailer configuration API cleanup and improved logging with Debug log level (firecracker-microvm#255) * Firecracker is internally has an instance ID, but the SDK didn't have the way to configure the ID. This change connects Config.VMID to the instance ID. (firecracker-microvm#253) * Fixed error that was not being test against in `TestWait` (firecracker-microvm#251) * Fixes issue where socket path may not be defined since the config file has yet to be loaded (firecracker-microvm#230) * Fixed error that was not being test against in `TestNewPlugin` (firecracker-microvm#225) * Download Firecracker 0.21.1 and its jailer from Makefile (firecracker-microvm#218) Signed-off-by: xibz <[email protected]>
(From #225)
Probably due to the way we handle stub drives, re-using a Firecracker VM from multiple containers doesn't work due to a mysterious
error.
The text was updated successfully, but these errors were encountered: