webdevops / vagrant-docker-vm

:computer: Development Vagrant VM with Docker, Samba and Mail sandbox (customizable)
https://webdevops.io/projects/vagrant-docker-vm/
MIT License
87 stars 28 forks source link

Windows 7 + VirtualBox, not creating /mnt/data ? #24

Closed baschny closed 9 years ago

baschny commented 9 years ago

Yea, I know.... Windows 7 + VirtualBox, fails, because it's not creating /mnt/data. Maybe not Windows related but some stupidity of myself involved? But AFAIK I did nothing that was not in the docs. :)

E:\devvm>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'box-cutter/ubuntu1404-docker'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'box-cutter/ubuntu1404-docker' is up to date...
==> default: Setting the name of the VM: devvm_default_1431979934080_60987
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 3306 => 3306 (adapter 1)
    default: 2375 => 2375 (adapter 1)
    default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection refused. Retrying...
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if its present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
    default: /vagrant => E:/devvm
    default: /mnt/home => E:/devvm/home
==> default: Running provisioner: bootstrap (shell)...
    default: Running: inline script
==> default:  *****************************************************************************
==> default:  *** Starting installation of ansible
==> default:  *****************************************************************************
==> default: Ign http://security.ubuntu.com trusty-security InRelease
==> default: Get:1 http://security.ubuntu.com trusty-security Release.gpg [933 B]
==> default: Get:2 http://security.ubuntu.com trusty-security Release [63.5 kB]
==> default: Ign http://us.archive.ubuntu.com trusty InRelease
==> default: Ign http://us.archive.ubuntu.com trusty-updates InRelease
==> default: Get:3 http://security.ubuntu.com trusty-security/main Sources [80.6 kB]
==> default: Ign http://us.archive.ubuntu.com trusty-backports InRelease
==> default: Get:4 http://security.ubuntu.com trusty-security/restricted Sources [2,061 B]
==> default: Get:5 http://security.ubuntu.com trusty-security/universe Sources [24.9 kB]
==> default: Get:6 http://security.ubuntu.com trusty-security/multiverse Sources [2,335 B]
==> default: Hit http://us.archive.ubuntu.com trusty Release.gpg
==> default: Get:7 http://security.ubuntu.com trusty-security/main amd64 Packages [268 kB]
==> default: Get:8 http://us.archive.ubuntu.com trusty-updates Release.gpg [933 B]
==> default: Get:9 http://security.ubuntu.com trusty-security/restricted amd64 Packages [8,875 B]
==> default: Hit http://us.archive.ubuntu.com trusty-backports Release.gpg
==> default: Get:10 http://security.ubuntu.com trusty-security/universe amd64 Packages [103 kB]
==> default: Get:11 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [3,680 B]
==> default: Get:12 http://security.ubuntu.com trusty-security/main i386 Packages [256 kB]
==> default: Hit http://us.archive.ubuntu.com trusty Release
==> default: Get:13 http://security.ubuntu.com trusty-security/restricted i386 Packages [8,846 B]
==> default: Get:14 http://us.archive.ubuntu.com trusty-updates Release [63.5 kB]
==> default: Get:15 http://security.ubuntu.com trusty-security/universe i386 Packages [104 kB]
==> default: Get:16 http://security.ubuntu.com trusty-security/multiverse i386 Packages [3,828 B]
==> default: Get:17 http://security.ubuntu.com trusty-security/main Translation-en [136 kB]
==> default: Get:18 https://get.docker.io docker InRelease
==> default: Get:19 http://security.ubuntu.com trusty-security/multiverse Translation-en [1,679 B]
==> default: Hit http://security.ubuntu.com trusty-security/restricted Translation-en
==> default: Hit http://us.archive.ubuntu.com trusty-backports Release
==> default: Get:20 http://security.ubuntu.com trusty-security/universe Translation-en [58.5 kB]
==> default: Hit http://us.archive.ubuntu.com trusty/main Sources
==> default: Ign https://get.docker.io docker InRelease
==> default: Hit http://us.archive.ubuntu.com trusty/restricted Sources
==> default: Hit http://us.archive.ubuntu.com trusty/universe Sources
==> default: Hit http://us.archive.ubuntu.com trusty/multiverse Sources
==> default: Hit http://us.archive.ubuntu.com trusty/main amd64 Packages
==> default: Hit http://us.archive.ubuntu.com trusty/restricted amd64 Packages
==> default: Hit http://us.archive.ubuntu.com trusty/universe amd64 Packages
==> default: Hit http://us.archive.ubuntu.com trusty/multiverse amd64 Packages
==> default: Hit http://us.archive.ubuntu.com trusty/main i386 Packages
==> default: Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages
==> default: Hit http://us.archive.ubuntu.com trusty/universe i386 Packages
==> default: Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages
==> default: Hit http://us.archive.ubuntu.com trusty/main Translation-en
==> default: Get:21 https://get.docker.io docker Release
==> default: Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en
==> default: Hit http://us.archive.ubuntu.com trusty/restricted Translation-en
==> default: Hit http://us.archive.ubuntu.com trusty/universe Translation-en
==> default: Get:22 http://us.archive.ubuntu.com trusty-updates/main Sources [202 kB]
==> default: Get:23 https://get.docker.io docker/main amd64 Packages
==> default: Get:24 http://us.archive.ubuntu.com trusty-updates/restricted Sources [2,564 B]
==> default: Get:25 http://us.archive.ubuntu.com trusty-updates/universe Sources [117 kB]
==> default: Hit https://get.docker.io docker/main i386 Packages
==> default: Get:26 http://us.archive.ubuntu.com trusty-updates/multiverse Sources [5,161 B]
==> default: Get:27 http://us.archive.ubuntu.com trusty-updates/main amd64 Packages [517 kB]
==> default: Get:28 https://get.docker.io docker/main Translation-en_US
==> default: Get:29 http://us.archive.ubuntu.com trusty-updates/restricted amd64 Packages [9,238 B]
==> default: Get:30 http://us.archive.ubuntu.com trusty-updates/universe amd64 Packages [279 kB]
==> default: Get:31 http://us.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [12.0 kB]
==> default: Get:32 http://us.archive.ubuntu.com trusty-updates/main i386 Packages [505 kB]
==> default: Get:33 http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages [9,256 B]
==> default: Get:34 http://us.archive.ubuntu.com trusty-updates/universe i386 Packages [280 kB]
==> default: Get:35 http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages [12.1 kB]
==> default: Get:36 http://us.archive.ubuntu.com trusty-updates/main Translation-en [245 kB]
==> default: Get:37 http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en [6,148 B]
==> default: Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en
==> default: Get:38 http://us.archive.ubuntu.com trusty-updates/universe Translation-en [146 kB]
==> default: Hit http://us.archive.ubuntu.com trusty-backports/main Sources
==> default: Hit http://us.archive.ubuntu.com trusty-backports/restricted Sources
==> default: Hit http://us.archive.ubuntu.com trusty-backports/universe Sources
==> default: Hit http://us.archive.ubuntu.com trusty-backports/multiverse Sources
==> default: Hit http://us.archive.ubuntu.com trusty-backports/main amd64 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-backports/restricted amd64 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-backports/universe amd64 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-backports/main i386 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-backports/universe i386 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-backports/main Translation-en
==> default: Hit http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en
==> default: Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en
==> default: Hit http://us.archive.ubuntu.com trusty-backports/universe Translation-en
==> default: Ign http://us.archive.ubuntu.com trusty/main Translation-en_US
==> default: Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US
==> default: Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US
==> default: Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
==> default: Ign https://get.docker.io docker/main Translation-en_US
==> default: Ign https://get.docker.io docker/main Translation-en
==> default: Fetched 3,547 kB in 17s (207 kB/s)
==> default: Reading package lists...
==> default: Reading package lists...
==> default: Building dependency tree...
==> default:
==> default: Reading state information...
==> default: The following extra packages will be installed:
==> default:   python3-pycurl python3-software-properties unattended-upgrades
==> default: Suggested packages:
==> default:   libcurl4-gnutls-dev python3-pycurl-dbg bsd-mailx mail-transport-agent
==> default: The following NEW packages will be installed:
==> default:   python3-pycurl python3-software-properties software-properties-common
==> default:   unattended-upgrades
==> default: 0 upgraded, 4 newly installed, 0 to remove and 71 not upgraded.
==> default: Need to get 101 kB of archives.
==> default: After this operation, 800 kB of additional disk space will be used.
==> default: Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main python3-pycurl amd64 7.19.3-0ubuntu3 [47.5 kB]
==> default: Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main unattended-upgrades all 0.82.1ubuntu2.2 [25.4 kB]
==> default: Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main python3-software-properties all 0.92.37.3 [19.1 kB]
==> default: Get:4 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main software-properties-common all 0.92.37.3 [9,376 B]
==> default: Preconfiguring packages ...
==> default: Fetched 101 kB in 0s (104 kB/s)
==> default: Selecting previously unselected package python3-pycurl.
==> default: (Reading database ... 60025 files and directories currently installed.)
==> default: Preparing to unpack .../python3-pycurl_7.19.3-0ubuntu3_amd64.deb ...
==> default: Unpacking python3-pycurl (7.19.3-0ubuntu3) ...
==> default: Selecting previously unselected package unattended-upgrades.
==> default: Preparing to unpack .../unattended-upgrades_0.82.1ubuntu2.2_all.deb ...
==> default: Unpacking unattended-upgrades (0.82.1ubuntu2.2) ...
==> default: Selecting previously unselected package python3-software-properties.
==> default: Preparing to unpack .../python3-software-properties_0.92.37.3_all.deb ...
==> default: Unpacking python3-software-properties (0.92.37.3) ...
==> default: Selecting previously unselected package software-properties-common.
==> default: Preparing to unpack .../software-properties-common_0.92.37.3_all.deb ...
==> default: Unpacking software-properties-common (0.92.37.3) ...
==> default: Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
==> default: Processing triggers for ureadahead (0.100.0-16) ...
==> default: ureadahead will be reprofiled on next reboot
==> default: Setting up python3-pycurl (7.19.3-0ubuntu3) ...
==> default: Setting up unattended-upgrades (0.82.1ubuntu2.2) ...
==> default: Processing triggers for ureadahead (0.100.0-16) ...
==> default: Setting up python3-software-properties (0.92.37.3) ...
==> default: Setting up software-properties-common (0.92.37.3) ...
==> default:  Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications??? automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.
==> default:
==> default: http://ansible.com/
==> default:  More info: https://launchpad.net/~ansible/+archive/ubuntu/ansible
==> default: gpg: keyring `/tmp/tmpnsltt5fi/secring.gpg' created
==> default: gpg: keyring `/tmp/tmpnsltt5fi/pubring.gpg' created
==> default: gpg: requesting key 7BB9C367 from hkp server keyserver.ubuntu.com
==> default: gpg: /tmp/tmpnsltt5fi/trustdb.gpg: trustdb created
==> default: gpg: key 7BB9C367: public key "Launchpad PPA for Ansible, Inc." imported
==> default: gpg: Total number processed: 1
==> default: gpg:               imported: 1  (RSA: 1)
==> default: OK
==> default: Ign http://security.ubuntu.com trusty-security InRelease
==> default: Ign http://ppa.launchpad.net trusty InRelease
==> default: Hit http://security.ubuntu.com trusty-security Release.gpg
==> default: Get:1 http://ppa.launchpad.net trusty Release.gpg [836 B]
==> default: Hit http://security.ubuntu.com trusty-security Release
==> default: Get:2 http://ppa.launchpad.net trusty Release [15.1 kB]
==> default: Hit http://security.ubuntu.com trusty-security/main Sources
==> default: Get:3 http://ppa.launchpad.net trusty/main amd64 Packages [489 B]
==> default: Hit http://security.ubuntu.com trusty-security/restricted Sources
==> default: Get:4 http://ppa.launchpad.net trusty/main i386 Packages [489 B]
==> default: Ign http://us.archive.ubuntu.com trusty InRelease
==> default: Hit http://security.ubuntu.com trusty-security/universe Sources
==> default: Get:5 http://ppa.launchpad.net trusty/main Translation-en [322 B]
==> default: Hit http://security.ubuntu.com trusty-security/multiverse Sources
==> default: Hit http://security.ubuntu.com trusty-security/main amd64 Packages
==> default: Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
==> default: Ign http://us.archive.ubuntu.com trusty-updates InRelease
==> default: Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
==> default: Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
==> default: Hit http://security.ubuntu.com trusty-security/main i386 Packages
==> default: Ign http://us.archive.ubuntu.com trusty-backports InRelease
==> default: Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
==> default: Hit http://security.ubuntu.com trusty-security/universe i386 Packages
==> default: Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
==> default: Hit http://security.ubuntu.com trusty-security/main Translation-en
==> default: Hit http://us.archive.ubuntu.com trusty Release.gpg
==> default: Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
==> default: Hit http://security.ubuntu.com trusty-security/restricted Translation-en
==> default: Hit http://us.archive.ubuntu.com trusty-updates Release.gpg
==> default: Hit http://security.ubuntu.com trusty-security/universe Translation-en
==> default: Hit http://us.archive.ubuntu.com trusty-backports Release.gpg
==> default: Hit http://us.archive.ubuntu.com trusty Release
==> default: Hit http://us.archive.ubuntu.com trusty-updates Release
==> default: Get:6 https://get.docker.io docker InRelease
==> default: Hit http://us.archive.ubuntu.com trusty-backports Release
==> default: Hit http://us.archive.ubuntu.com trusty/main Sources
==> default: Hit http://us.archive.ubuntu.com trusty/restricted Sources
==> default: Ign https://get.docker.io docker InRelease
==> default: Hit http://us.archive.ubuntu.com trusty/universe Sources
==> default: Hit http://us.archive.ubuntu.com trusty/multiverse Sources
==> default: Hit http://us.archive.ubuntu.com trusty/main amd64 Packages
==> default: Hit http://us.archive.ubuntu.com trusty/restricted amd64 Packages
==> default: Hit http://us.archive.ubuntu.com trusty/universe amd64 Packages
==> default: Hit http://us.archive.ubuntu.com trusty/multiverse amd64 Packages
==> default: Hit http://us.archive.ubuntu.com trusty/main i386 Packages
==> default: Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages
==> default: Hit https://get.docker.io docker Release.gpg
==> default: Hit http://us.archive.ubuntu.com trusty/universe i386 Packages
==> default: Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages
==> default: Hit http://us.archive.ubuntu.com trusty/main Translation-en
==> default: Hit https://get.docker.io docker Release
==> default: Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en
==> default: Hit http://us.archive.ubuntu.com trusty/restricted Translation-en
==> default: Hit http://us.archive.ubuntu.com trusty/universe Translation-en
==> default: Hit http://us.archive.ubuntu.com trusty-updates/main Sources
==> default: Hit http://us.archive.ubuntu.com trusty-updates/restricted Sources
==> default: Hit http://us.archive.ubuntu.com trusty-updates/universe Sources
==> default: Hit https://get.docker.io docker/main amd64 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-updates/multiverse Sources
==> default: Hit http://us.archive.ubuntu.com trusty-updates/main amd64 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-updates/restricted amd64 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-updates/universe amd64 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-updates/main i386 Packages
==> default: Hit https://get.docker.io docker/main i386 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-updates/universe i386 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-updates/main Translation-en
==> default: Hit http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en
==> default: Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en
==> default: Hit http://us.archive.ubuntu.com trusty-updates/universe Translation-en
==> default: Hit http://us.archive.ubuntu.com trusty-backports/main Sources
==> default: Get:7 https://get.docker.io docker/main Translation-en_US
==> default: Hit http://us.archive.ubuntu.com trusty-backports/restricted Sources
==> default: Hit http://us.archive.ubuntu.com trusty-backports/universe Sources
==> default: Hit http://us.archive.ubuntu.com trusty-backports/multiverse Sources
==> default: Hit http://us.archive.ubuntu.com trusty-backports/main amd64 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-backports/restricted amd64 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-backports/universe amd64 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-backports/main i386 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-backports/universe i386 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages
==> default: Hit http://us.archive.ubuntu.com trusty-backports/main Translation-en
==> default: Hit http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en
==> default: Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en
==> default: Hit http://us.archive.ubuntu.com trusty-backports/universe Translation-en
==> default: Ign http://us.archive.ubuntu.com trusty/main Translation-en_US
==> default: Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US
==> default: Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US
==> default: Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
==> default: Ign https://get.docker.io docker/main Translation-en_US
==> default: Ign https://get.docker.io docker/main Translation-en
==> default: Fetched 17.2 kB in 17s (1,005 B/s)
==> default: Reading package lists...
==> default: Reading package lists...
==> default: Building dependency tree...
==> default:
==> default: Reading state information...
==> default: The following extra packages will be installed:
==> default:   libmysqlclient18 libyaml-0-2 mysql-common python-crypto python-httplib2
==> default:   python-jinja2 python-markupsafe python-paramiko python-pkg-resources
==> default:   python-support python-yaml sshpass
==> default: Suggested packages:
==> default:   python-crypto-dbg python-crypto-doc python-jinja2-doc
==> default:   python-egenix-mxdatetime mysql-server-5.1 mysql-server python-mysqldb-dbg
==> default:   python-distribute python-distribute-doc libcurl4-gnutls-dev
==> default:   python-pycurl-dbg
==> default: The following NEW packages will be installed:
==> default:   ansible libmysqlclient18 libyaml-0-2 mysql-common python-crypto
==> default:   python-httplib2 python-jinja2 python-markupsafe python-mysqldb
==> default:   python-paramiko python-passlib python-pkg-resources python-pycurl
==> default:   python-support python-yaml sshpass
==> default: 0 upgraded, 16 newly installed, 0 to remove and 71 not upgraded.
==> default: Need to get 2,264 kB of archives.
==> default: After this operation, 13.3 MB of additional disk space will be used.
==> default: Get:1 http://ppa.launchpad.net/ansible/ansible/ubuntu/ trusty/main ansible all 1.9.1-1ppa~trusty [624 kB]
==> default: Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-common all 5.5.43-0ubuntu0.14.04.1 [13.8 kB]
==> default: Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libmysqlclient18 amd64 5.5.43-0ubuntu0.14.04.1 [596 kB]
==> default: Get:4 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libyaml-0-2 amd64 0.1.4-3ubuntu3.1 [48.1 kB]
==> default: Get:5 http://us.archive.ubuntu.com/ubuntu/ trusty/universe python-support all 1.0.15 [26.7 kB]
==> default: Get:6 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-markupsafe amd64 0.18-1build2 [14.3 kB]
==> default: Get:7 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-jinja2 all 2.7.2-2 [161 kB]
==> default: Get:8 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main python-yaml amd64 3.10-4ubuntu0.1 [102 kB]
==> default: Get:9 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-crypto amd64 2.6.1-4build1 [239 kB]
==> default: Get:10 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-paramiko all 1.10.1-1git1build1 [106 kB]
==> default: Get:11 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-httplib2 all 0.8-2build1 [35.4 kB]
==> default: Get:12 http://us.archive.ubuntu.com/ubuntu/ trusty/universe sshpass amd64 1.05-1 [10.5 kB]
==> default: Get:13 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-mysqldb amd64 1.2.3-2ubuntu1 [55.4 kB]
==> default: Get:14 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-pkg-resources all 3.3-1ubuntu1 [61.9 kB]
==> default: Get:15 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-passlib all 1.5.3-0ubuntu3 [123 kB]
==> default: Get:16 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-pycurl amd64 7.19.3-0ubuntu3 [47.9 kB]
==> default: Fetched 2,264 kB in 10s (206 kB/s)
==> default: Selecting previously unselected package mysql-common.
==> default: (Reading database ... 60099 files and directories currently installed.)
==> default: Preparing to unpack .../mysql-common_5.5.43-0ubuntu0.14.04.1_all.deb ...
==> default: Unpacking mysql-common (5.5.43-0ubuntu0.14.04.1) ...
==> default: Selecting previously unselected package libmysqlclient18:amd64.
==> default: Preparing to unpack .../libmysqlclient18_5.5.43-0ubuntu0.14.04.1_amd64.deb ...
==> default: Unpacking libmysqlclient18:amd64 (5.5.43-0ubuntu0.14.04.1) ...
==> default: Selecting previously unselected package libyaml-0-2:amd64.
==> default: Preparing to unpack .../libyaml-0-2_0.1.4-3ubuntu3.1_amd64.deb ...
==> default: Unpacking libyaml-0-2:amd64 (0.1.4-3ubuntu3.1) ...
==> default: Selecting previously unselected package python-support.
==> default: Preparing to unpack .../python-support_1.0.15_all.deb ...
==> default: Unpacking python-support (1.0.15) ...
==> default: Selecting previously unselected package python-markupsafe.
==> default: Preparing to unpack .../python-markupsafe_0.18-1build2_amd64.deb ...
==> default: Unpacking python-markupsafe (0.18-1build2) ...
==> default: Selecting previously unselected package python-jinja2.
==> default: Preparing to unpack .../python-jinja2_2.7.2-2_all.deb ...
==> default: Unpacking python-jinja2 (2.7.2-2) ...
==> default: Selecting previously unselected package python-yaml.
==> default: Preparing to unpack .../python-yaml_3.10-4ubuntu0.1_amd64.deb ...
==> default: Unpacking python-yaml (3.10-4ubuntu0.1) ...
==> default: Selecting previously unselected package python-crypto.
==> default: Preparing to unpack .../python-crypto_2.6.1-4build1_amd64.deb ...
==> default: Unpacking python-crypto (2.6.1-4build1) ...
==> default: Selecting previously unselected package python-paramiko.
==> default: Preparing to unpack .../python-paramiko_1.10.1-1git1build1_all.deb ...
==> default: Unpacking python-paramiko (1.10.1-1git1build1) ...
==> default: Selecting previously unselected package python-httplib2.
==> default: Preparing to unpack .../python-httplib2_0.8-2build1_all.deb ...
==> default: Unpacking python-httplib2 (0.8-2build1) ...
==> default: Selecting previously unselected package sshpass.
==> default: Preparing to unpack .../sshpass_1.05-1_amd64.deb ...
==> default: Unpacking sshpass (1.05-1) ...
==> default: Selecting previously unselected package ansible.
==> default: Preparing to unpack .../ansible_1.9.1-1ppa~trusty_all.deb ...
==> default: Unpacking ansible (1.9.1-1ppa~trusty) ...
==> default: Selecting previously unselected package python-mysqldb.
==> default: Preparing to unpack .../python-mysqldb_1.2.3-2ubuntu1_amd64.deb ...
==> default: Unpacking python-mysqldb (1.2.3-2ubuntu1) ...
==> default: Selecting previously unselected package python-pkg-resources.
==> default: Preparing to unpack .../python-pkg-resources_3.3-1ubuntu1_all.deb ...
==> default: Unpacking python-pkg-resources (3.3-1ubuntu1) ...
==> default: Selecting previously unselected package python-passlib.
==> default: Preparing to unpack .../python-passlib_1.5.3-0ubuntu3_all.deb ...
==> default: Unpacking python-passlib (1.5.3-0ubuntu3) ...
==> default: Selecting previously unselected package python-pycurl.
==> default: Preparing to unpack .../python-pycurl_7.19.3-0ubuntu3_amd64.deb ...
==> default: Unpacking python-pycurl (7.19.3-0ubuntu3) ...
==> default: Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
==> default: Setting up mysql-common (5.5.43-0ubuntu0.14.04.1) ...
==> default: Setting up libmysqlclient18:amd64 (5.5.43-0ubuntu0.14.04.1) ...
==> default: Setting up libyaml-0-2:amd64 (0.1.4-3ubuntu3.1) ...
==> default: Setting up python-support (1.0.15) ...
==> default: Setting up python-markupsafe (0.18-1build2) ...
==> default: Setting up python-jinja2 (2.7.2-2) ...
==> default: Setting up python-yaml (3.10-4ubuntu0.1) ...
==> default: Setting up python-crypto (2.6.1-4build1) ...
==> default: Setting up python-paramiko (1.10.1-1git1build1) ...
==> default: Setting up python-httplib2 (0.8-2build1) ...
==> default: Setting up sshpass (1.05-1) ...
==> default: Setting up ansible (1.9.1-1ppa~trusty) ...
==> default: Setting up python-mysqldb (1.2.3-2ubuntu1) ...
==> default: Setting up python-pkg-resources (3.3-1ubuntu1) ...
==> default: Setting up python-passlib (1.5.3-0ubuntu3) ...
==> default: Setting up python-pycurl (7.19.3-0ubuntu3) ...
==> default: Processing triggers for libc-bin (2.19-0ubuntu6.5) ...
==> default: Processing triggers for python-support (1.0.15) ...
==> default:  *****************************************************************************
==> default:  *** Starting provision with ansible (will take some time...)
==> default:  *****************************************************************************
==> default:
==> default: PLAY [all] ********************************************************************
==> default:
==> default: GATHERING FACTS ***************************************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | Enable partner repositories] **********************************
==> default: changed: [localhost] => (item={'regexp': '#?[\\s]*deb http://archive.canonical.com/ubuntu trusty partner', 'line': 'deb http://archive.canonical.com/ubuntu trusty partner'})
==> default: changed: [localhost] => (item={'regexp': '#?[\\s]*deb-src http://archive.canonical.com/ubuntu trusty partner', 'line': 'deb-src http://archive.canonical.com/ubuntu trusty partner'})
==> default:
==> default: TASK: [common | Enable extra repositories] ************************************
==> default: changed: [localhost] => (item={'regexp': '#?[\\s]*deb http://extras.ubuntu.com/ubuntu trusty main', 'line': 'deb http://extras.ubuntu.com/ubuntu trusty main'})
==> default: changed: [localhost] => (item={'regexp': '#?[\\s]*deb-src http://extras.ubuntu.com/ubuntu trusty main', 'line': 'deb-src http://extras.ubuntu.com/ubuntu trusty main'})
==> default:
==> default: TASK: [common | raw apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192] ***
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | Add percona repository] ***************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [common | Add percona repository (src)] *********************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [common | Add percona key] **********************************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [common | Update system] ************************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | Install ansible libraries] ************************************
==> default: changed: [localhost] => (item=ca-certificates,python-pycurl,python-mysqldb,python-passlib)
==> default:
==> default: TASK: [common | Install default packages] *************************************
==> default: changed: [localhost] => (item=zsh,swaks,moreutils,curl,byobu,multitail,dnsutils,telnet,curl,ethtool,netcat-openbsd,vim,tmux,mailutils,ack-grep,mysql-client,htop,atop,iftop,mytop,iotop,pfqueue,poppler-utils,graphicsmagick,imagemagick,zip,unzip,bzip2,wkhtmltopdf,git,tig,strace,sudo,cstream)
==> default:
==> default: TASK: [common | Install developer packages] ***********************************
==> default: Running provisioner: maintenance (shell)...
    default: Running: inline script
==> default:  *****************************************************************************
==> default:  *** Starting maintenance with ansible
==> default:  *****************************************************************************
==> default:
==> default: PLAY [all] ********************************************************************
==> default:
==> default: GATHERING FACTS ***************************************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [common | Create /tmp/debug/ directory] *********************************
==> default: changed: [localhost]
==> default:
==> default: TASK: [disk | Unmount code] ***************************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [disk | Remove mount for code] ******************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [disk | stat /mnt/data/code] ********************************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [disk | Move /mnt/data/code to /mnt/data/projects] **********************
==> default: skipping: [localhost]
==> default:
==> default: TASK: [disk | stat path=/mnt/data/projects/] **********************************
==> default: ok: [localhost]
==> default:
==> default: TASK: [disk | Create code storage] ********************************************
==> default: failed: [localhost] => {"changed": true, "cmd": "mkdir /mnt/data/projects", "delta": "0:00:00.002948", "end": "2015-05-18 20:20:35.739482", "rc": 1, "start": "2015-05-18 20:20:35.736534", "warnings": ["Consider using file module with state=directory rather than running mkdir"]}
==> default: stderr: mkdir: cannot create directory '/mnt/data/projects': No such file or directory
==> default:
==> default: FATAL: all hosts have already failed -- aborting
==> default:
==> default: PLAY RECAP ********************************************************************
==> default:            to retry, use: --limit @/root/playbook.retry
==> default:
==> default: localhost                  : ok=6    changed=1    unreachable=0    failed=1
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

E:\devvm>vagrant ssh
Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.16.0-30-generic x86_64)

 * Documentation:  https://help.ubuntu.com/
Last login: Mon May  4 14:37:40 2015 from 10.0.2.2
vagrant@vagrant:~$ ls -l /mnt/
total 0
drwxrwxrwx 1 vagrant vagrant 0 Apr  8 18:49 home
mblaschke commented 9 years ago

The "Install developer packages" is not the last task of bootstrap provisioning. It seems that the ssh connection was interrupted. Normally the provisioning should have failed.

Make sure that you don't switch networking interfaces (eg. from wifi to lan) because VirtualBox cannot handle that and all connection (and most all future connections) are interrupted. Also try to disable all firewalls and maybe update VirtualBox.

I'm sorry but dropped connections are a common issue with VirtualBox - maybe try a restart before provisioning.

If the provisioning fails randomly try another virtualisation - there is no solution and this is not the fault of Vagrant or the provisioning.

mblaschke commented 9 years ago

Provisioning was simplified with 3ecfea21e11b7b446705592498bc73937756801d, please try again - maybe this is a workaround for this issue.