Public bug reported: While provisioning VMs using images from http://cloud- images.ubuntu.com/daily, I noticed that some of them were failing to boot if their disk size isn't at least 3GB. I'm wondering where this limitation is coming from, considering that inside a successfully provisioned and booted VM, using a 4GB disk, only 1.1GB are used:
ubuntu@ubuntu:~$ df -hT / Filesystem Type Size Used Avail Use% Mounted on /dev/vda1 ext4 2.8G 1.1G 1.7G 40% / The same problem happens both using a "disco" and a "cosmic" amd64 image (since I've only tried these two images). With an amd64 "disco" image I get this error from virsh console (repeated until it's giving up and jumps into the initramfs prompt): Begin: Running /scripts/local-block ... mdadm: No arrays found in config file or automatically done. With an amd64 "cosmic" the boot process stops with the following message and then it goes, again, into the initramfs prompt (failing to mount the rootfs): mdadm: No arrays found in config file or automatically done. I'm not sure if this is actually a uvtool-libvirt bug or more like a cloud / image issue. Sorry if I've opened the bug in the wrong place. [ Test case ] Following the commands that I'm using to provision and start my VMs: $ uvt-simplestreams-libvirt --verbose sync --source http://cloud-images.ubuntu.com/daily release=disco arch=amd64 $ uvt-simplestreams-libvirt --verbose sync --source http://cloud-images.ubuntu.com/daily release=cosmic arch=amd64 $ uvt-kvm create --cpu 4 --memory 4096 disco_vm release=disco arch=amd64 --disk 2 --unsafe-caching $ uvt-kvm create --cpu 4 --memory 4096 cosmic_vm release=cosmic arch=amd64 --disk 2 --unsafe-caching Then, I'm watching the console via "virsh console disco_vm" or "virsh console cosmic_vm". Using "--disk 3" instead "--disk 2" is enough to correctly boot the VMs. Additional information: $ lsb_release -rd Description: Ubuntu 18.10 Release: 18.10 $ apt-cache policy uvtool-libvirt uvtool-libvirt: Installed: 0~git140-0ubuntu1 Candidate: 0~git140-0ubuntu1 Version table: *** 0~git140-0ubuntu1 500 500 http://it.archive.ubuntu.com/ubuntu cosmic/universe amd64 Packages 500 http://it.archive.ubuntu.com/ubuntu cosmic/universe i386 Packages 100 /var/lib/dpkg/status ** Affects: uvtool (Ubuntu) Importance: Medium Status: Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1819463 Title: disk size limit with uvt-kvm create To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/uvtool/+bug/1819463/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
