Git Product home page Git Product logo

vagrant-docker-vm's People

Contributors

adyp avatar elmar-hinz avatar guiyomh avatar hirnschmalz avatar ipf avatar josefglatz avatar kitzberger avatar mblaschke avatar mschwemer avatar panadeedu avatar panigrc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vagrant-docker-vm's Issues

Documentation Structure should be improved

Problem Description:
The current Documentation provides Informations in a One Page Design. This could be Improved to extend the Repository with a Documentation Folder which Provides Sub-Pages for each Topic.

Possible Solution:
Extract the main Parts from Documentation and split them in seperate Files such as (only an Example):

  • Installation
  • Usage
  • Networking
  • Additional Functions
  • Changelog

Like the SRP (Single Responsibility Principle), it improves readability if one Page only contains one responsibility.
The main Page should only contain:

  • Project Description
  • Short Introduction
  • Table of Contents

Is there a better solution to determine the VM Provider?

When using VMWare, Vagrant sometimes trys to use VirtualBox as Provider even though there is not VirtualBox installed. This even happens if the VM Software is Installed first and Vagrant after.

I observed this on Windows and as well on Mac OSX.
Removing the VirtualBox Provider Settings will fix this.

Maybe a solution could be an Optional vm.yml setting or an Vagrantfile Constant.

Documentation Improvements for low entrance Barrier

Proble Description:
Documentation as is now, only provides Informations for users Familar with Vagrant, Docker and overall Dev-Ops Topics. To allow more users (specialy those new to those topics), a Guide should be provided.

Topics to be Adressed:

  • What is Vagrant (short) and where can I get it (link)
  • What is Docker (short) and where can I learn more (partially available in docs already)
  • Where to Start with the Docker functionality (more information on that below)
  • How to use and Configure the Mail Functions

More on Where to Start with Docker:
As Docker is highly suggested in this Project, a "Getting Started" Type of Documentation should be provided, which includes a walktrough with all the necessary Steps and some helpful additions and functions of the System.

The documentation should not only provide fancy functions and mountings for mac os (do advanced for that). It should be written for first time Users to allow then kickstarting Web-Development with this Vagrant Box.

DEV-VM VBox Default Name could be Taken

Minor Bug

Problem:
When installing more than one Instance of the Box, with VirtualBox as Provider, the Box Name "DEV-VM" is already Taken. This is hardcoded in the Vagrantfile.

Possible Solution:
Moving this Configuration to optional Parameter in vm.yml. This way, the only File to be edited is the vm.yml and noth both the Vagrantfile and vm.yml.

Ansible fails at Task "Start firewall"

Host System: Windows 10 RC1
Provider: VMWare Workstation 11

The Ansible Task at initial Provisioning fails in "Start firewall" with following output:

==> default: TASK: [firewall | Start firewall] *********************************************
==> default: failed: [localhost] => {"changed": true, "cmd": ["service", "firewall-vm", "restart"], "delta": "0:00:00.004728", "end": "2015-06-06 19:36:05.270582", "rc": 127, "start": "2015-06-06 19:36:05.265854", "warnings": ["Consider using service module rather than running service"]}
==> default: stderr: env: /etc/init.d/firewall-vm: 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: localhost : ok=95 changed=75 unreachable=0 failed=1

Box SSH breaks wenn going from no Internet to Internet

Problem:
When running the Box without an internet Connection, there is no problem in using it. As soon as Internet is connected, it looses every SSH Connection and I am unable to connect again.

Workaround:
Reboot the entire Vagrant Box

Technical Env:
Windows 8.1
running VagrantBox
with Virtual Box as Provider

Minimum resources are far lower / Evaluation on MacBook Air

Hello. Thank you for doing this great stuff.

I am evaluating on an early Macbook Air and want to support with my experience.

2 GB RAM
1,6 GHz Intel Core i5
10 GB remaining diskspace

I deployed TYPO3-docker-boilerplate and TYPO3 6.2 with the introduction package. After clearing the Cache the FE renders within 2 seconds.

I didn't alter the configuration. Hence, while the machine is configured to 1.5 GB OS X grants the process 0.95 GB max. that is approximately 50% of the memory.

elmar@apple> du -hs Parallels/*
4,4G      Parallels/DEV-VM.pvm
1,5G      Parallels/devvm

elmar@apple> du -hs Docker/*
291M    Docker/typo362

That means the first TYPO3 needs 1.7 GB of diskspace.

As a developer using vim and tmux I don't need more resources even for professional work. I just have to keep the memory footprint of open windows low.

I guess you could shrink the DEV-VM.pvm to 1.5 GB using sparseimages. That would not only reduce the time to download. In my case it would save 3GB of remaining 10G of diskspace.

    Development VM :: Ubuntu 14.04.2 LTS

   Linux: 3.16.0-43-generic                         eth0: 10.211.55.8
  Docker: Docker version 1.7.1, build 786b29d       eth1: 192.168.56.2
   CPU: 4 Cores
  Memory:   1.44 GiB
  root:   2.81 GiB (5% in use)
  /mnt/data:   1.13 GiB (1% in use)

Cheers

Elmar

Postfix provisioning fails

mynetworks = 127.0.0.0/8 168.100.189.0/28 [::1]/128 [fe80::]/10 [2001:240:587::]/64 172.16.0.0/12 {# ansible_eth1.ipv4.network #}/24 [{# ansible_eth1.ipv6.address #}]/{# ansible_eth1.ipv6.prefix #}

Windows 10 + VirtualBox, Workaround needed

When provisioning this VM on Windows 10, the host_only network adapter cant be created, due to a bug of VirtualBox. (VirtualBox has a driver problem)

Workaround:

  • Set all Ansible provisioning Configurations from eth1 to eth0
  • Remove the private_network configuration from VagrantFile (minimum and default is eth0 as nat)
  • After Provisioning go to VirtualBox Network settings and edit NAT Port Map for port 127.0.0.1:80

Drawback: Windows cant access the Samba because the ports are blocked

Due to the removed HostOnly Adapter there will be only the localhost Address available.
Docker works with this setup, the other functions are not tested yet.

Add Local PHP and MySQL

Docker on this VM is optional, so there should be an MySQL and PHP available to have the Webserver ready to Use.

Add Less to VM Provisioning

Next to various other tools, the common CSS Tool Less seems to be missing.
It could be added to the current Ansible Provisioning.

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

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

Issue with the "Fix filesystem rights" Task

System: Windows 10
Provider: VMWare Workstation 11

On boot I get the following error Output:

==> default: TASK: [user | Fix filesystem rights (/home/vagrant)] **************************
==> default: failed: [localhost] => {"changed": true, "cmd": ["chown", "-R", "vagrant:vagrant", "/home/vagrant/.config/"], "delta": "0:00:00.002452", "end": "2015-06-06 19:09:50.177104", "rc": 1, "start": "2015-06-06 19:09:50.174652", "warnings": ["Consider using file module with owner rather than running chown"]}
==> default: stderr: chown: cannot access ���/home/vagrant/.config/���: No such file or directory
==> default: ...ignoring
==> default:

This doesnyt break the Provisioning, but the File also doesnt exist inside the VM.

Web Requests on every Boot always necessary

Problem:
On bootstrap tasks like GitHub fetch SSH Key are always executed. Those Ansible Tasks perform Web Requests wich take long on slower connections, such as Smartphone Tethering.

TODO:
Check if there are more Web Requests and if the can be minimized.

Issue with Network Adapter on Windows 10 and VMWare

There are Issues in the current Tech preview of Windows 10 and VMWare.
Windows 10 seems to have problems with Virtual Networking.

There is a Workaround for Windows 10 that should be added to the Troubleshooting section.

[BUG] Vagrant Share with SSL is broken

Problem

e.g.: vagrant share --https 443 --name 'foobaru'

After opening https://foobaru.vagrantshare.com

Bad Request

Your browser sent a request that this server could not understand.
Apache/2.4.7 (Ubuntu) Server at foobaru.vagrantshare.com Port 443

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.