[Bug 1565985] Re: vagrant vb ubuntu/xenial64 cannot mount synced folders

Louis Zuckerman 1565985 at bugs.launchpad.net
Wed Aug 31 19:02:47 UTC 2016


Fix confirmed.

Here's how I tested:

- Downloaded current xenial vagrant box and started a VM from it
- Enabled xenial-proposed repository
- Installed livecd-rootfs from -proposed, version 2.408.3
- ran the following commands...

sudo -i
mkdir /build
cd /build
cp -a /usr/share/livecd-rootfs/live-build/auto .
export SUITE=xenial
export ARCH=amd64
export PROJECT=ubuntu-cpc
export MIRROR=http://archive.ubuntu.com/ubuntu/
lb config
cd config/hooks
rm 031-root-xz.binary 033-disk-image-uefi.binary 034-disk-image-ppc64el.binary 040-qcow2-image.binary 040-vmdk-image.binary 041-vmdk-ova-image.binary 032-root-squashfs.binary
lb build

- Copied the created vagrant box from /build/livecd.ubuntu-cpc.vagrant.box to my host and launched a new VM from it
- Checked that new VM had randomized name and that default synced folder was mounted. Also checked that sudo did not complain about hostname resolution.

Looks good to me!

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1565985

Title:
  vagrant vb ubuntu/xenial64 cannot mount synced folders

Status in cloud-images:
  In Progress
Status in livecd-rootfs package in Ubuntu:
  Fix Released
Status in livecd-rootfs source package in Xenial:
  Fix Committed

Bug description:
  I am unable to fully provision  a xenial instance using box
      ubuntu/xenial64               (virtualbox, 20160403.0.0)
  because the synced folders are never mounted.

  VAGRANT_LOG=DEBUG vagrant init --debug indicates that there was an error mounting the filesystem
      mount: unknown filesystem type 'vboxsf'

  I am using
      VirtualBox 5.0.16 r105871
      vagrant 1.8.1

  While init/provision fails, the instance is brought up. I can get into
  it and see it runs. It doesn't appear that Virtualbox Guest Additions
  is installed. I can see that my installation of VB does have
  VBoxGuestAdditions.iso and is readable.

  X-CPC-Real-Bug: bug 1605795

  Test procedure for proposed fix:

  1. Launch the ubuntu vagrant box (xenial, yakkety)
  2. SSH into the box with `vagrant ssh`
  3. Check if default synced folder, /vagrant, is mounted with `mount` or `df`, it should be
  4. Check name of VM in virtualbox, it should be randomized

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1565985/+subscriptions



More information about the foundations-bugs mailing list