Skip to content

Instantly share code, notes, and snippets.

@matiasleidemer
Created October 12, 2014 22:15
Show Gist options
  • Save matiasleidemer/d2d372ee4bb6eda3faf9 to your computer and use it in GitHub Desktop.
Save matiasleidemer/d2d372ee4bb6eda3faf9 to your computer and use it in GitHub Desktop.
rails-box-dev log
➜ rails-dev-box git:(master) vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'precise32'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: rails-dev-box_default_1413151445914_14468
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 3000 => 3000 (adapter 1)
default: 22 => 2222 (adapter 1)
==> 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: Remote connection disconnect. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: The guest additions on this VM do not match the installed version of
default: VirtualBox! In most cases this is fine, but in rare cases it can
default: prevent things such as shared folders from working properly. If you see
default: shared folder errors, please make sure the guest additions within the
default: virtual machine match the version of VirtualBox you have installed on
default: your host and reload your VM.
default:
default: Guest Additions Version: 4.2.0
default: VirtualBox Version: 4.3
==> default: Setting hostname...
==> default: Mounting shared folders...
default: /vagrant => /Users/matias/Code/OpenSource/rails-dev-box
default: /tmp/vagrant-puppet-3/manifests => /Users/matias/Code/OpenSource/rails-dev-box/puppet/manifests
default: /tmp/vagrant-puppet-3/modules-0 => /Users/matias/Code/OpenSource/rails-dev-box/puppet/modules
==> default: Running provisioner: puppet...
==> default: Running Puppet with default.pp...
==> default: stdin: is not a tty
==> default: warning: Could not retrieve fact fqdn
==> default: notice: /Stage[preinstall]/Apt_get_update/Exec[apt-get -y update]/returns: executed successfully
==> default: notice: /Stage[main]//Package[libxslt1-dev]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Gcc/Package[build-essential]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]//Package[libsqlite3-dev]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Memcached/Package[memcached]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]//Package[sqlite3]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Install_postgres/Package[libpq-dev]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]//Package[nodejs]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Mysql::Server/Package[mysql-server]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]//Package[curl]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]//Exec[install_rvm]/returns: executed successfully
==> default: err: /Stage[main]//Exec[install_ruby]/returns: change from notrun to 0 failed: bash: /home/vagrant/.rvm/bin/rvm: No such file or directory
==> default:
==> default: notice: /Stage[main]//Exec[sudo -u vagrant -H bash -l -c 'gem install bundler --no-rdoc --no-ri']: Dependency Exec[install_ruby] has failures: true
==> default: warning: /Stage[main]//Exec[sudo -u vagrant -H bash -l -c 'gem install bundler --no-rdoc --no-ri']: Skipping because of failed dependencies
==> default: notice: /Stage[main]//Package[git-core]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Redis/File[redis-lib]/ensure: created
==> default: notice: /Stage[main]/Redis/File[/etc/redis]/ensure: created
==> default: notice: /Stage[main]/Redis/File[redis-cli-link]/ensure: created
==> default: notice: /Stage[main]/Mysql/Package[mysql_client]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Install_mysql/Package[libmysqlclient15-dev]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Install_mysql/Database_user[rails@localhost]/ensure: created
==> default: notice: /Stage[main]/Install_mysql/Database[activerecord_unittest2]/ensure: created
==> default: notice: /Stage[main]/Install_mysql/Database_grant[rails@localhost/inexistent_activerecord_unittest]/privileges: privileges changed '' to 'all'
==> default: notice: /Stage[main]/Install_mysql/Database[activerecord_unittest]/ensure: created
==> default: notice: /Stage[main]/Install_mysql/Database_grant[rails@localhost/activerecord_unittest]/privileges: privileges changed '' to 'all'
==> default: notice: /Stage[main]/Postgresql::Server/Package[postgresql-server-9.1]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Postgresql::Server/File[postgresql-server-hba-config-9.1]/content: content changed '{md5}7694a77a71d01d43944f0ec2aa3fb165' to '{md5}17645e6222916aa1e4554e9ad1607038'
==> default: notice: /Stage[main]/Postgresql::Server/File[postgresql-server-config-9.1]/content: content changed '{md5}5b9755510f68c05f186faa477cf3fb58' to '{md5}b8d0fb15b77aca35b26d9deeb9e55619'
==> default: notice: /Stage[main]/Postgresql::Server/Service[postgresql-system-9.1]: Triggered 'refresh' from 3 events
==> default: notice: /Stage[main]/Install_postgres/Package[postgresql-contrib]/ensure: ensure changed 'purged' to 'present'
==> default: notice: /Stage[main]/Install_postgres/Pg_database[activerecord_unittest2]/ensure: created
==> default: notice: /Stage[main]/Install_postgres/Pg_user[rails]/ensure: created
==> default: notice: /Stage[main]/Install_postgres/Pg_database[activerecord_unittest]/ensure: created
==> default: notice: /Stage[main]/Install_postgres/Pg_user[vagrant]/ensure: created
==> default: notice: /Stage[main]/Install_mysql/Database_grant[rails@localhost/activerecord_unittest2]/privileges: privileges changed '' to 'all'
==> default: err: /Stage[main]/Install_postgres/Apt::Source[postgresql]/Apt::Key[Add key: ACCC4CF8 from Apt::Source postgresql]/Apt_key[Add key: ACCC4CF8 from Apt::Source postgresql]/ensure: change from absent to present failed: Could not set 'present on ensure: Network is unreachable - connect(2) at /tmp/vagrant-puppet-3/modules-0/apt/manifests/key.pp:93
==> default: notice: /Stage[main]/Install_postgres/Apt::Source[postgresql]/Apt::Key[Add key: ACCC4CF8 from Apt::Source postgresql]/Anchor[apt_key ACCC4CF8 present]: Dependency Apt_key[Add key: ACCC4CF8 from Apt::Source postgresql] has failures: true
==> default: warning: /Stage[main]/Install_postgres/Apt::Source[postgresql]/Apt::Key[Add key: ACCC4CF8 from Apt::Source postgresql]/Anchor[apt_key ACCC4CF8 present]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Rabbitmq::Repo::Apt/Apt::Source[rabbitmq]/Apt::Key[Add key: 056E8E56 from Apt::Source rabbitmq]/Apt_key[Add key: 056E8E56 from Apt::Source rabbitmq]/ensure: created
==> default: notice: /Stage[main]/Rabbitmq::Repo::Apt/Apt::Source[rabbitmq]/File[rabbitmq.list]/ensure: created
==> default: notice: /Stage[main]/Install_postgres/Apt::Source[postgresql]/File[postgresql.list]: Dependency Apt_key[Add key: ACCC4CF8 from Apt::Source postgresql] has failures: true
==> default: warning: /Stage[main]/Install_postgres/Apt::Source[postgresql]/File[postgresql.list]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Apt::Update/Exec[apt_update]: Dependency Apt_key[Add key: ACCC4CF8 from Apt::Source postgresql] has failures: true
==> default: warning: /Stage[main]/Apt::Update/Exec[apt_update]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Apt::Update/Exec[apt_update]: Triggered 'refresh' from 1 events
==> default: notice: /Stage[main]/Apt/Anchor[apt::update]: Dependency Apt_key[Add key: ACCC4CF8 from Apt::Source postgresql] has failures: true
==> default: warning: /Stage[main]/Apt/Anchor[apt::update]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Rabbitmq::Repo::Apt/Apt::Source[rabbitmq]/Anchor[apt::source::rabbitmq]: Dependency Apt_key[Add key: ACCC4CF8 from Apt::Source postgresql] has failures: true
==> default: warning: /Stage[main]/Rabbitmq::Repo::Apt/Apt::Source[rabbitmq]/Anchor[apt::source::rabbitmq]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Rabbitmq::Install/Package[rabbitmq-server]: Dependency Apt_key[Add key: ACCC4CF8 from Apt::Source postgresql] has failures: true
==> default: warning: /Stage[main]/Rabbitmq::Install/Package[rabbitmq-server]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Rabbitmq::Config/File[/etc/rabbitmq]: Dependency Apt_key[Add key: ACCC4CF8 from Apt::Source postgresql] has failures: true
==> default: warning: /Stage[main]/Rabbitmq::Config/File[/etc/rabbitmq]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Rabbitmq::Config/File[rabbitmq.config]: Dependency Apt_key[Add key: ACCC4CF8 from Apt::Source postgresql] has failures: true
==> default: warning: /Stage[main]/Rabbitmq::Config/File[rabbitmq.config]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Install_postgres/Apt::Source[postgresql]/Anchor[apt::source::postgresql]: Dependency Apt_key[Add key: ACCC4CF8 from Apt::Source postgresql] has failures: true
==> default: warning: /Stage[main]/Install_postgres/Apt::Source[postgresql]/Anchor[apt::source::postgresql]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Memcached/File[/etc/memcached.conf]/content: content changed '{md5}58c9e04b29e08c2e9b3094794d3ebd0e' to '{md5}16c49164edef89725fd3853440dd3ebc'
==> default: notice: /Stage[main]/Memcached/Service[memcached]: Triggered 'refresh' from 1 events
==> default: notice: /Stage[main]//Exec[update-locale]/returns: executed successfully
==> default:
==> default: notice: /Stage[main]/Rabbitmq::Config/File[/etc/rabbitmq/ssl]: Dependency Apt_key[Add key: ACCC4CF8 from Apt::Source postgresql] has failures: true
==> default: warning: /Stage[main]/Rabbitmq::Config/File[/etc/rabbitmq/ssl]: Skipping because of failed dependencies
==> default: err: /Stage[main]/Postgresql/Package[postgresql-client-9.3]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install postgresql-client-9.3' returned 100: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: E: Unable to locate package postgresql-client-9.3
==> default: E: Couldn't find any package by regex 'postgresql-client-9.3'
==> default:
==> default: notice: /Stage[main]/Mysql::Config/File[/etc/mysql/my.cnf]/content: content changed '{md5}77f15d6c87f9c136c4efcda072017f71' to '{md5}31067e9939d7d1c7e5bb7a02cf11f0f4'
==> default: notice: /Stage[main]/Mysql::Config/File[/root/.my.cnf]/ensure: defined content as '{md5}1a632000ff7bfcbfb2921f81930d0698'
==> default: notice: /Stage[main]/Mysql::Config/Exec[mysqld-restart]: Triggered 'refresh' from 2 events
==> default: notice: /Stage[main]/Rabbitmq::Config/File[rabbitmq-env.config]: Dependency Apt_key[Add key: ACCC4CF8 from Apt::Source postgresql] has failures: true
==> default: warning: /Stage[main]/Rabbitmq::Config/File[rabbitmq-env.config]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Rabbitmq::Service/Service[rabbitmq-server]: Dependency Apt_key[Add key: ACCC4CF8 from Apt::Source postgresql] has failures: true
==> default: warning: /Stage[main]/Rabbitmq::Service/Service[rabbitmq-server]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Rabbitmq/Anchor[rabbitmq::end]: Dependency Apt_key[Add key: ACCC4CF8 from Apt::Source postgresql] has failures: true
==> default: warning: /Stage[main]/Rabbitmq/Anchor[rabbitmq::end]: Skipping because of failed dependencies
==> default: notice: /Stage[main]/Redis/File[/opt/redis-src]/ensure: created
==> default: notice: /Stage[main]/Redis/Exec[get-redis-pkg]/returns: executed successfully
==> default: notice: /Stage[main]/Redis/Exec[unpack-redis]/returns: executed successfully
==> default: notice: /Stage[main]/Redis/Exec[install-redis]/returns: executed successfully
==> default: notice: /Stage[main]/Redis/Redis::Instance[redis-default]/File[redis-lib-port-6379]/ensure: created
==> default: notice: /Stage[main]/Redis/Redis::Instance[redis-default]/File[redis-init-6379]/ensure: created
==> default: notice: /Stage[main]/Redis/Redis::Instance[redis-default]/File[redis_port_6379.conf]/ensure: created
==> default: notice: /Stage[main]/Redis/Redis::Instance[redis-default]/Service[redis-6379]/ensure: ensure changed 'stopped' to 'running'
==> default: notice: /Stage[main]/Redis/Redis::Instance[redis-default]/Service[redis-6379]: Triggered 'refresh' from 2 events
==> default: notice: Finished catalog run in 341.82 seconds
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment