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

Mvm status should reflect usability of mvm #286

Closed
Callisto13 opened this issue Nov 24, 2021 · 3 comments
Closed

Mvm status should reflect usability of mvm #286

Callisto13 opened this issue Nov 24, 2021 · 3 comments
Labels
kind/bug Something isn't working

Comments

@Callisto13
Copy link
Member

What happened:
A recent issue highlighted the fact that while we report that a Mvm is "Created" it is not actually useable (in this case it had not started.

What did you expect to happen:
We should reflect to the user that the mvm is totally 100% ready and usable.

How to reproduce it:
check out to 126e514 and create a microvm using ./hack/scripts/send.sh -m CreateMicroVM.

When you get the mvm (./hack/scripts/send.sh -m GetMicroVM), it will say created, but when looking at the flintlock logs and the logs at /var/lib/flintlock/vm/ns1/mvm1/firecracker.stderr you will see that the mvm never started, so it is useless to a user.

Anything else you would like to add:
A user should be able to get an accurate status of the mvm without trawling through logs

Environment:

  • flintlock version:
  • containerd version:
  • OS (e.g. from /etc/os-release):
@Callisto13 Callisto13 added the kind/bug Something isn't working label Nov 24, 2021
@Callisto13
Copy link
Member Author

@yitsushi believe this problem is solved by the config file correct?

@yitsushi
Copy link
Contributor

yitsushi commented Dec 1, 2021

Partially, but I think #198 is required to fully cover this issue. Or was it more about the initial start and not if it dies later, but resync did not happen yet?

@Callisto13
Copy link
Member Author

Ah yeh I forgot about the supervisor plan. I wrote this when I was having trouble with vms being marked Created too fast, but yes I suppose it does relate to having an accurate view of all lifecycle events and current conditions. I think let's close this in favour of the Supervisor one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants