[Bug 1580596] Re: Xenial & bionic vagrant box disk size is too small
Pat Viafore
1580596 at bugs.launchpad.net
Fri Dec 4 21:16:41 UTC 2020
Version 2.525.48 of livecd-rootfs has fixed this issue.
Test case:
Built a box with the version of livecd-rootfs
vagrant box add build.output/livecd.ubuntu-cpc.vagrant.box --name bionic-test
vagrant init bionic-test
vagrant up
vagrant ssh default
Run `df -H` inside the vagrant box
Observe Disk size of drive mounted at / and observe that the disk is ~ 40G
To confirm that this won't break users upgrading to this box, but with <
40G disks, I checked the size of the VMDK backing the box. It was listed
at 1.1G. I created a 15G file with `dd if=/dev/urandom of=filename
bs=1024 count=15M` I was able to observe the VMDK growing by 15G.
So if a user were to have a 10G box fully allocated, and then upgrade to
the new box built with the latest version of livecd-rootfs, the user
would not be impacted until they tried to fill up the 40G.
** Tags removed: verification-needed-bionic verification-needed-xenial
** Tags added: verification-done-bionic
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1580596
Title:
Xenial & bionic vagrant box disk size is too small
Status in cloud-images:
Fix Committed
Status in Google App Engine Django:
New
Status in livecd-rootfs package in Ubuntu:
Fix Released
Status in livecd-rootfs source package in Xenial:
Fix Committed
Status in livecd-rootfs source package in Bionic:
Fix Committed
Bug description:
[Impact]
Users could not use vagrant boxes as a full computer (or anything requiring more than 10G of memory). This was a regression from our behavior in 14.04
[Test Case]
vagrant init ubuntu/bionic64 (replace with ubuntu/eoan64 or ubuntu/xenial64 as needed)
vagrant up
vagrant ssh default
Run `df -H` inside the vagrant box
Observe Disk size of drive mounted at / (before the fix it will list ~10G, after the fix it will list ~40G)
[Regression Potential]
Making the disk size bigger for vagrant boxes does not increase the
size of the box when running (not until that extra size is used).
Therefore, the regression potential is low, as users with under 40G of
disk space are still able to launch the new Vagrant images without
running out of space.
The 40G was also present in 14.04, which should improve confidence
that our users can use 40G Vagrant images. This has also released with
20.04.
[Original Description]
The ubuntu/xenial64 box has only 10GB of disk whereas it was 40GB with the trusty box.
This makes the box not really usable as a desktop computer.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1580596/+subscriptions
More information about the Ubuntu-sponsors
mailing list