-
Notifications
You must be signed in to change notification settings - Fork 661
Running 'apt upgrade' breaks the VM #1313
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
Comments
No. Any error in |
I can only reproduce using In any case, here is the template I'm using: |
@Sangeppato |
Newly created, I can consistently reproduce it |
Looks like something even wrong with starting of vm itself. On successful boot, this file should contain login prompt. If possible you could try this approach, to get more info.
|
I just tried the same template. It works for me in both my intel and M1. There is surely some network issue, not able to find the cause as its not reproducible for me yet :( Edit: I was able to reproduce, i missed doing |
Thank you. I'm already using |
Looks like after upgrade something happening within grub. Instead of boot its going into grub edit mode. I tried to boot the error vz disk via QEMU at that time noticed the below in serial.log,
FYI - With a working vz disk i was able to boot the same disk with QEMU. |
@Sangeppato
What's happening ? |
The guess looks valid now, Compared stop behaviour of vz and qemu (qemu/vz stops the vm), Steps followed
QEMU VZ From this, we could more/less conclude that virtualization.framework is not doing a proper shutdown on stop. This might be the cause for this corruption. |
Thank you @balajiv113! |
Description
I've tried running the
docker-rootful
example with a VZ VM, but I've noticed that a simpleapt update
andapt upgrade
completely breaks the VM: the boot process gets stuck atWaiting for the essential requirement 1 of 3: "ssh"
with the CPU usage pinned at 100% (ssh
probably broke during the upgrade).If this is the expected behaviour, I think the user should be at least warned or, even better, such an action should be blocked.
The text was updated successfully, but these errors were encountered: