-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Error when attempting to install Mirage template with disk size smaller than the default #7426
Comments
There is already support for importing volume of a specific size, no need for calling resize manually. This fixes template install on storage pools that do not support resize (shrinking). Fixes QubesOS/qubes-issues#7426
There is already support for importing volume of a specific size, no need for calling resize manually. This fixes template install on storage pools that do not support resize (shrinking). Fixes QubesOS/qubes-issues#7426
There is already support for importing volume of a specific size, no need for calling resize manually. This fixes template install on storage pools that do not support resize (shrinking). Fixes QubesOS/qubes-issues#7426
There is already support for importing volume of a specific size, no need for calling resize manually. This fixes template install on storage pools that do not support resize (shrinking). Fixes QubesOS/qubes-issues#7426
Automated announcement from builder-github The package
|
Automated announcement from builder-github The component
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The component
Or update dom0 via Qubes Manager. |
How to file a helpful issue
The problem you're addressing (if any)
When trying to install in qubes 4.1 a TemplateVM created with qubes-builder-mirage (default
TEMPLATE_ROOT_SIZE ?= 50MiB
which suits well for unikernels) the root.img disk is smaller than default (10G) and installation fails with error "not enough data" and leads to an uninstalled template.The installation script fails with the following logs and the template is not installed.
The solution you'd like
I get over this error by modiying
qvm_template_postprocess.py
at lines https://github.com/QubesOS/qubes-core-admin-client/blob/400ea49e84bfba30f50b658ca0b23e4bb18c52f2/qubesadmin/tools/qvm_template_postprocess.py#L109 and https://github.com/QubesOS/qubes-core-admin-client/blob/400ea49e84bfba30f50b658ca0b23e4bb18c52f2/qubesadmin/tools/qvm_template_postprocess.py#L119:Although it seems to be related on the surface, I cannot use the same solution for #7176, but both issues may have a common root?
Anyway an error message still remains:
And my unikernels is still not booting, showing the following in the logs and then it hangs:
The grub.cfg have the right size (81B): https://github.com/marmarek/qubes-builder-mirage/blob/master/template_scripts/grub.cfg
The value to a user, and who that user might be
It will be possible to install mirage unikernels templates into dom0.
The text was updated successfully, but these errors were encountered: