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

Disable root volume validation #220

Merged

Conversation

Callisto13
Copy link
Member

@Callisto13 Callisto13 commented Nov 5, 2021

The firecracker docs say that only you can only specify either a root
volume or an initrd. However, when we remove the root volume and only
have initrd (or vice-versa) the mvm will not start. 🤷‍♀️

We are not entirely sure what is happening yet, so for now we are going
to disable the validation and continue using both a root vol and
initrd. It's more of a guideline than an actual rule anyway 😉

There is a separate ticket to track the investigation and potential fix
here: #219

(Also added a missing test, the removed bit also was not covered so we
should remember to add one when/if we put it back)

What this PR does / why we need it:

Disables a volume validation check for the timebeing while we figure out the above issue. If we leave it in then we will be annoyed by all the failing.

Checklist:

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

The firecracker docs say that only you can only specific either a root
volume or an initrd. However, when we remove the root volume and only
have initrd the mvm will not start.

We are not entirely sure what is happening yet, so for now we are going
to disable the validation and continue using both a root vol and
initrd. It's more of a guideline than an actual rule anyway ;)

There is a separate ticket to track the investigation and potential fix
here: liquidmetal-dev#219

(Also added a missing test, the removed bit also was not covered so we
should remember to add one when/if we put it back)
@Callisto13 Callisto13 merged commit 47ce98e into liquidmetal-dev:main Nov 5, 2021
@Callisto13 Callisto13 deleted the disable-root-validation branch November 5, 2021 13:33
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.

None yet

2 participants