-
Notifications
You must be signed in to change notification settings - Fork 190
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
Call DescribeInstance in GetVMInfo #251
Comments
Are you looking for information from the |
@samuelkarp I am trying to use it as a health check, to make sure both the firecracker-container shim and VM is responsive. We currently don't plan to use the state of VM or VM version as we are going to listen to the containerd events for the VM state, I guess it doesn't hurt to add VM state/VM version, but that depends on you. |
If you're looking for a health check, I wouldn't want to change the behavior of Do you care about controlling things like connection/response timeout? |
A new API for checking VM connection sounds good, we don't really need a connection timeout parameter in the API, we can set a timeout for invoking |
@samuelkarp I was thinking that we could extend |
We will do this with a privileged container, closing this issue. |
…-err firecracker: fix dropped test error
* 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]>
Hi,
Right now the
GetVMInfo
API returns the VM info stored in firecracker-containerd runtime, but we want to check if the VM is responsive by invokingDescribeInstance
(also cut another issue for implementing this) firecracker API, we could invoke firecracker API directly given thatGetVMInfo
returns firecracker socket, but I think it's probably better to invokeDescribeInstance
inGetVMInfo
API, and add the VM state in the response ofGetVMInfo
API. What do you think?Thanks,
Haikuo
The text was updated successfully, but these errors were encountered: