Page MenuHomePhabricator
Paste P171

Vagrant setup error
ActivePublic

Authored by Tgr on Dec 19 2014, 1:28 AM.
gtisza@GergoTisza:~/Wikimedia/vagrant$ git clone ssh://tgr@gerrit.wikimedia.org:29418/mediawiki/vagrant Sentry
Cloning into 'Sentry'...
remote: Counting objects: 1365, done
remote: Finding sources: 100% (740/740)
remote: Getting sizes: 100% (458/458)
remote: Compressing objects: 100% (154475/154475)
remote: Total 8237 (delta 224), reused 8102 (delta 222)
Receiving objects: 100% (8237/8237), 2.00 MiB | 2.16 MiB/s, done.
Resolving deltas: 100% (3972/3972), done.
Checking connectivity... done.
gtisza@GergoTisza:~/Wikimedia/vagrant$ cd Sentry
gtisza@GergoTisza:~/Wikimedia/vagrant/Sentry$ git submodule update --init --recursive
Submodule 'puppet/modules/cdh' (https://gerrit.wikimedia.org/r/operations/puppet/cdh) registered for path 'puppet/modules/cdh'
Submodule 'puppet/modules/mariadb' (https://gerrit.wikimedia.org/r/operations/puppet/mariadb) registered for path 'puppet/modules/mariadb'
Submodule 'puppet/modules/nginx' (https://gerrit.wikimedia.org/r/operations/puppet/nginx) registered for path 'puppet/modules/nginx'
Submodule 'puppet/modules/wikimetrics' (https://gerrit.wikimedia.org/r/operations/puppet/wikimetrics) registered for path 'puppet/modules/wikimetrics'
Cloning into 'puppet/modules/cdh'...
remote: Counting objects: 112, done
remote: Finding sources: 100% (25/25)
remote: Getting sizes: 100% (17/17)
remote: Compressing objects: 100% (87473/87473)
remote: Total 1312 (delta 4), reused 1298 (delta 4)
Receiving objects: 100% (1312/1312), 274.34 KiB | 0 bytes/s, done.
Resolving deltas: 100% (683/683), done.
Checking connectivity... done.
Submodule path 'puppet/modules/cdh': checked out '65335f7d027c635065966a15a7b4467c1ce311b5'
Cloning into 'puppet/modules/mariadb'...
remote: Counting objects: 26, done
remote: Finding sources: 100% (18/18)
remote: Getting sizes: 100% (8/8)
remote: Compressing objects: 100% (4224/4224)
remote: Total 70 (delta 6), reused 66 (delta 6)
Unpacking objects: 100% (70/70), done.
Checking connectivity... done.
Submodule path 'puppet/modules/mariadb': checked out 'b5690999702552cc7fea48b2206f4bb92191d8ca'
Cloning into 'puppet/modules/nginx'...
remote: Total 61 (delta 0), reused 61 (delta 0)
Unpacking objects: 100% (61/61), done.
Checking connectivity... done.
Submodule path 'puppet/modules/nginx': checked out '10a1e925fa707654102f39092b46a64c61710614'
Cloning into 'puppet/modules/wikimetrics'...
remote: Counting objects: 40, done
remote: Finding sources: 100% (19/19)
remote: Getting sizes: 100% (12/12)
remote: Compressing objects: 100% (23171/23171)
remote: Total 263 (delta 4), reused 253 (delta 4)
Receiving objects: 100% (263/263), 57.59 KiB | 0 bytes/s, done.
Resolving deltas: 100% (118/118), done.
Checking connectivity... done.
Submodule path 'puppet/modules/wikimetrics': checked out '5f416bbce4188914f48a044a8df09f1c34b07183'
gtisza@GergoTisza:~/Wikimedia/vagrant/Sentry$ ./set
settings.d/ setup.sh
gtisza@GergoTisza:~/Wikimedia/vagrant/Sentry$ ./setup.sh
Plugin vagrant-vbguest is already installed
Installing plugin mediawiki-vagrant-0.2.1.gem
- Installing the 'mediawiki-vagrant-0.2.1.gem' plugin. This can take a few minutes...
- Installed the plugin 'mediawiki-vagrant (0.2.1)'!
Your git/Gerrit username
Enter 'anonymous' for anonymous access, leave blank to manage it yourself
git_user: tgr
You're all set! Simply run `vagrant up` to boot your new environment.
gtisza@GergoTisza:~/Wikimedia/vagrant/Sentry$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'trusty-cloud'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: Sentry_default_1418951730562_51656
==> default: Clearing any previously set forwarded ports...
==> default: Pruning invalid NFS exports. Administrator privileges will be required...
==> 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: 80 => 8080 (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: Machine booted and ready!
GuestAdditions 4.3.10 running --- OK.
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Exporting NFS shared folders...
==> default: Preparing to edit /etc/exports. Administrator privileges will be required...
nfsd running
==> default: Mounting NFS shared folders...
==> default: Mounting shared folders...
default: /tmp/vagrant-puppet-5/manifests => /home/gtisza/Wikimedia/vagrant/Sentry/puppet/manifests
default: /tmp/vagrant-puppet-5/modules-0 => /home/gtisza/Wikimedia/vagrant/Sentry/puppet/modules
==> default: Running provisioner: lsb_check...
==> default: Running provisioner: puppet...
==> default: Running Puppet with site.pp...
==> default: stdin: is not a tty
==> default: Error: No such file or directory - /vagrant/logs
==> default: Info: Loading facts in /tmp/vagrant-puppet-5/modules-0/stdlib/lib/facter/pe_version.rb
==> default: Info: Loading facts in /tmp/vagrant-puppet-5/modules-0/stdlib/lib/facter/pe_version.rb
==> default: Info: Loading facts in /tmp/vagrant-puppet-5/modules-0/stdlib/lib/facter/facter_dot_d.rb
==> default: Info: Loading facts in /tmp/vagrant-puppet-5/modules-0/stdlib/lib/facter/facter_dot_d.rb
==> default: Info: Loading facts in /tmp/vagrant-puppet-5/modules-0/stdlib/lib/facter/puppet_vardir.rb
==> default: Info: Loading facts in /tmp/vagrant-puppet-5/modules-0/stdlib/lib/facter/puppet_vardir.rb
==> default: Info: Loading facts in /tmp/vagrant-puppet-5/modules-0/stdlib/lib/facter/root_home.rb
==> default: Info: Loading facts in /tmp/vagrant-puppet-5/modules-0/stdlib/lib/facter/root_home.rb
==> default: Error: Execution of config_version command `/vagrant/puppet/extra/config-version` failed: Execution of '/vagrant/puppet/extra/config-version' returned 1: on node mediawiki-vagrant.dev
==> default: Error: Execution of config_version command `/vagrant/puppet/extra/config-version` failed: Execution of '/vagrant/puppet/extra/config-version' returned 1: on node mediawiki-vagrant.dev
==> default: Error: Execution of config_version command `/vagrant/puppet/extra/config-version` failed: Execution of '/vagrant/puppet/extra/config-version' returned 1: on node mediawiki-vagrant.dev
==> default: Error: Execution of config_version command `/vagrant/puppet/extra/config-version` failed: Execution of '/vagrant/puppet/extra/config-version' returned 1: on node mediawiki-vagrant.dev
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.
gtisza@GergoTisza:~/Wikimedia/vagrant/Sentry$ vagrant --version
Vagrant 1.6.5
gtisza@GergoTisza:~/Wikimedia/vagrant/Sentry$ vboxmanage --version
4.3.10_Ubuntur93012