Skip to content

Call DescribeInstance in GetVMInfo #251

Closed
@haikuoliu

Description

@haikuoliu

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 invoking DescribeInstance (also cut another issue for implementing this) firecracker API, we could invoke firecracker API directly given that GetVMInfo returns firecracker socket, but I think it's probably better to invoke DescribeInstance in GetVMInfo API, and add the VM state in the response of GetVMInfo API. What do you think?

Thanks,
Haikuo

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions