-
Notifications
You must be signed in to change notification settings - Fork 662
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
multipass transfer only transfers half the file (every 2nd 32K block) #3892
Comments
Original file: ingredients.tar.gz Note that it is not truncated, but rather every second 32 KB block seems to have been transferred somehow! |
Tried to build the release/1.15 branch instead of HEAD and
To a user, who is just trying to build multipass to run it, this message is unclear. How do I set MULTIPASS_UPSTREAM? I tried Searched PRs here and #1377 pointed me onto the right track: |
Got the release/1.15 branch built and this transfer bug did not happen there. |
Hi @loop-evgeny , thanks for the detailed report, I've passed this on to our engineering team. I've also added the "documentation" label as a reminder to review the build instructions in the README file. |
Thanks for reporting @loop-evgeny! We've understood the issue and we'll work on a fix. |
Describe the bug
Building a vagrant box with bartender fails, because only half of the ingredients.tar.gz file is transferred by
multipass transfer
.To Reproduce
Run multipassd as root in one terminal window, and in another run:
It fails (see below). Then:
Expected behavior
No output (the files are the same).
Actual behavior
Logs
I dit not get any logs or output from multipassd despite running with
-V debug
. It only produced output when terminated with Ctrl+C.Additional info
multipass version
: 1.16.0-dev.134+g637e43139multipass info
:(This also seems weird, because I requested "noble" = 24.04)
multipass get local.driver
: qemuAdditional context
Following https://documentation.ubuntu.com/public-images/en/latest/public-images-how-to/build-vagrant-with-bartender/ I built multipass from source (because I don't want to use snap). The build failed twice, by the way, and I had to
sudo apt install ninja-build clang
to fix it - would be nice to add those to the README.I then ran multipassd as root in one terminal window, and in another ran:
This failed:
To investigate further I opened a shell with
multipass exec bash
and saw that the ingredients.tar.gz file in the VM is about half the size of the original file on the host. I then reproduced this by uploading the file withmultipass transfer
myself (without bartender).The text was updated successfully, but these errors were encountered: