Skip to content

Instantly share code, notes, and snippets.

@tknerr
Created August 23, 2014 08:34
Show Gist options
  • Save tknerr/f2d690527369d54da806 to your computer and use it in GitHub Desktop.
Save tknerr/f2d690527369d54da806 to your computer and use it in GitHub Desktop.
Repro for chef/bento#232 with Vagrant 1.6.3
W:\tmp\chef-box>vagrant up broken
Bringing machine 'broken' up with 'virtualbox' provider...
==> broken: Importing base box 'chef/ubuntu-14.04-i386'...
==> broken: Matching MAC address for NAT networking...
==> broken: Checking if box 'chef/ubuntu-14.04-i386' is up to date...
==> broken: Setting the name of the VM: chef-box_broken_1408782532845_96773
==> broken: Fixed port collision for 22 => 2222. Now on port 2200.
==> broken: Clearing any previously set network interfaces...
==> broken: Preparing network interfaces based on configuration...
broken: Adapter 1: nat
==> broken: Forwarding ports...
broken: 22 => 2200 (adapter 1)
==> broken: Booting VM...
==> broken: Waiting for machine to boot. This may take a few minutes...
broken: SSH address: 127.0.0.1:2200
broken: SSH username: vagrant
broken: SSH auth method: private key
broken: Warning: Connection timeout. Retrying...
==> broken: Machine booted and ready!
==> broken: Checking for guest additions in VM...
==> broken: Mounting shared folders...
broken: /vagrant => W:/tmp/chef-box
Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:
mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3` vagrant /vagrant
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` vagrant /vagrant
W:\tmp\chef-box>vagrant up works
Bringing machine 'works' up with 'virtualbox' provider...
==> works: Importing base box 'chef/ubuntu-14.04'...
==> works: Matching MAC address for NAT networking...
==> works: Checking if box 'chef/ubuntu-14.04' is up to date...
==> works: Setting the name of the VM: chef-box_works_1408782482898_35581
==> works: Clearing any previously set network interfaces...
==> works: Preparing network interfaces based on configuration...
works: Adapter 1: nat
==> works: Forwarding ports...
works: 22 => 2222 (adapter 1)
==> works: Booting VM...
==> works: Waiting for machine to boot. This may take a few minutes...
works: SSH address: 127.0.0.1:2222
works: SSH username: vagrant
works: SSH auth method: private key
works: Warning: Connection timeout. Retrying...
==> works: Machine booted and ready!
==> works: Checking for guest additions in VM...
==> works: Mounting shared folders...
works: /vagrant => W:/tmp/chef-box
works: /tmp/vagrant-cache => W:/home/.vagrant.d/cache/chef/ubuntu-14.04
==> works: Configuring cache buckets...
Vagrant.configure("2") do |config|
# x64 box works as expected
config.vm.define :works do |c|
c.vm.box = "chef/ubuntu-14.04"
end
# i386 box fails when mounting shared folders
config.vm.define :broken do |c|
c.vm.box = "chef/ubuntu-14.04-i386"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment