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

fix: check instance state before starting #131

Merged
merged 1 commit into from
Oct 17, 2021
Merged

fix: check instance state before starting #131

merged 1 commit into from
Oct 17, 2021

Conversation

richardcase
Copy link
Member

What this PR does / why we need it:

When starting a Firecracker instance we should check that state of the
instance using the Firecracker API.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #130

Special notes for your reviewer:

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

@richardcase richardcase added the kind/bug Something isn't working label Oct 11, 2021
@richardcase richardcase changed the title fix: check instance state befor starting WIP fix: check instance state befor starting Oct 11, 2021
@richardcase richardcase changed the title WIP fix: check instance state befor starting WIP fix: check instance state before starting Oct 12, 2021
@richardcase richardcase changed the title WIP fix: check instance state before starting fix: check instance state before starting Oct 12, 2021
When starting a Firecracker instance we should check that state of the
instance using the Firecracker API.

Signed-off-by: Richard Case <[email protected]>

return true, nil
return resp.Payload, nil
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was a solid 3 minutes to understand this line in the diff, bad github, go home and sleep.

@richardcase richardcase merged commit fd9821f into liquidmetal-dev:main Oct 17, 2021
@richardcase richardcase deleted the start_error branch October 17, 2021 10:35
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

Successfully merging this pull request may close these issues.

Firecracker provider should check state of VM on start
2 participants