Ubuntu cloud-images fail after mutation due to having 2 disk images

Bug #1784471 reported by TJ
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vagrant-mutate
New
Unknown
vagrant-mutate (Ubuntu)
New
Undecided
Unassigned

Bug Description

I've been attempting to use Ubuntu Vagrant boxes with vagrant-libvirt locally and hitting a lot of problems after using vagrant-mutate to convert the VirtualBox box to libvirt!

After solving or working around several bugs in vagrant-libvirt itself I found the guest image would boot but never bring up any network so "vagrant up" fails eventually.

This affects the Ubuntu cloud-image boxes since they are for VirtualBox and contain 2 disk images: the root-fs and the cloud-init data. E.g the ubuntu/bionic64 image when mutated results in only 1 disk image (the cloudimage-configdrive is not mutated):

boxes  ubuntu-VAGRANTSLASH-bionic  0  find . -ls
   270462 4 drwxrwxr-x 4 tj tj 4096 Jul 29 17:43 .
   270457 4 drwxrwxr-x 2 tj tj 4096 Jul 29 17:43 ./libvirt
   262177 1028044 -rw-r--r-- 1 tj tj 1052704768 Jul 29 18:21 ./libvirt/box.img
   267960 12 -rw-rw-r-- 1 tj tj 136 Jul 29 17:43 ./libvirt/Vagrantfile
   267827 12 -rw-rw-r-- 1 tj tj 57 Jul 29 17:43 ./libvirt/metadata.json
   270463 4 drwxrwxr-x 2 tj tj 4096 Jul 28 13:15 ./virtualbox
   268076 80 -rw-r--r-- 1 tj tj 72192 Jul 28 13:15 ./virtualbox/ubuntu-bionic-18.04-cloudimg-configdrive.vmdk
   268075 307892 -rw-r--r-- 1 tj tj 315267584 Jul 28 13:15 ./virtualbox/ubuntu-bionic-18.04-cloudimg.vmdk
   268074 12 -rw-r--r-- 1 tj tj 310 Jul 28 13:15 ./virtualbox/ubuntu-bionic-18.04-cloudimg.mf
   268066 20 -rw-r--r-- 1 tj tj 11061 Jul 28 13:15 ./virtualbox/box.ovf
   268071 12 -rw-r--r-- 1 tj tj 478 Jul 28 13:15 ./virtualbox/Vagrantfile
   268072 12 -rw-r--r-- 1 tj tj 31 Jul 28 13:15 ./virtualbox/metadata.json

Changed in vagrant-mutate:
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.