Skip to content

Instantly share code, notes, and snippets.

@flibby-jibbit
Last active December 23, 2015 04:39
Show Gist options
  • Save flibby-jibbit/6582103 to your computer and use it in GitHub Desktop.
Save flibby-jibbit/6582103 to your computer and use it in GitHub Desktop.
vagrant up errors
[[email protected]] ~/Development/Exchange/vagrant-toolkit (simplify)
=> vagrant up provision.infrastructure
Bringing machine 'provision.infrastructure' up with 'virtualbox' provider...
[provision.infrastructure] Box 'ubuntu-12.04' was not found. Fetching box from specified URL for
the provider 'virtualbox'. Note that if the URL does not have
a box for this provider, you should interrupt Vagrant now and add
the box yourself. Otherwise Vagrant will attempt to download the
full box prior to discovering this error.
Downloading or copying the box...
Extracting box...te: 1190k/s, Estimated time remaining: --:--:--)
Successfully added box 'ubuntu-12.04' with provider 'virtualbox'!
[provision.infrastructure] Importing base box 'ubuntu-12.04'...
[provision.infrastructure] Matching MAC address for NAT networking...
[provision.infrastructure] Setting the name of the VM...
[provision.infrastructure] Clearing any previously set forwarded ports...
[provision.infrastructure] Creating shared folders metadata...
[provision.infrastructure] Clearing any previously set network interfaces...
[provision.infrastructure] Preparing network interfaces based on configuration...
[provision.infrastructure] Forwarding ports...
[provision.infrastructure] -- 22 => 2222 (adapter 1)
[provision.infrastructure] Running 'pre-boot' VM customizations...
[provision.infrastructure] Booting VM...
[provision.infrastructure] Waiting for VM to boot. This can take a few minutes.
[provision.infrastructure] VM booted and ready for use!
[provision.infrastructure] Setting hostname...
[provision.infrastructure] Configuring and enabling network interfaces...
[provision.infrastructure] Mounting shared folders...
[provision.infrastructure] -- /vagrant
[provision.infrastructure] Exporting NFS shared folders...
Preparing to edit /etc/exports. Administrator privileges will be required...
[provision.infrastructure] Mounting NFS shared folders...
[provision.infrastructure] Configuring cache buckets...
[provision.infrastructure] Running provisioner: shell...
[provision.infrastructure] Running: inline script
stdin: is not a tty
Downloading Chef for ubuntu...
Installing Chef
Selecting previously unselected package chef.
(Reading database ... 54648 files and directories currently installed.)
Unpacking chef (from .../tmp.ZrZHxWM2/chef__amd64.deb) ...
Setting up chef (11.6.0-1.ubuntu.12.04) ...
Thank you for installing Chef!
[2013-09-16T15:14:22+00:00] WARN: *****************************************
[2013-09-16T15:14:22+00:00] WARN: Did not find config file: /etc/chef/solo.rb, using command line options.
[2013-09-16T15:14:22+00:00] WARN: *****************************************
[2013-09-16T15:14:22+00:00] INFO: Forking chef instance to converge...
[2013-09-16T15:14:22+00:00] INFO: *** Chef 11.6.0 ***
[2013-09-16T15:14:22+00:00] WARN: Run List override has been provided.
[2013-09-16T15:14:22+00:00] WARN: Original Run List: []
[2013-09-16T15:14:22+00:00] WARN: Overridden Run List: [recipe[chef-server::default]]
[2013-09-16T15:14:22+00:00] INFO: Run List is [recipe[chef-server::default]]
[2013-09-16T15:14:22+00:00] INFO: Run List expands to [chef-server::default]
[2013-09-16T15:14:22+00:00] INFO: Starting Chef Run for provision.infrastructure.vb
[2013-09-16T15:14:22+00:00] INFO: Running start handlers
[2013-09-16T15:14:22+00:00] INFO: Start handlers complete.
[2013-09-16T15:14:22+00:00] INFO: Omnitruck download-server request: http://www.opscode.com/chef/download-server?p=ubuntu&pv=12.04&m=x86_64&v=latest&prerelease=false&nightlies=false
[2013-09-16T15:14:22+00:00] INFO: Downloading chef-server package from: http://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef-server_11.0.8-1.ubuntu.12.04_amd64.deb
[2013-09-16T15:14:22+00:00] INFO: Processing remote_file[/var/chef/cache/chef-server_11.0.8-1.ubuntu.12.04_amd64.deb] action create_if_missing (chef-server::default line 40)
[2013-09-16T15:14:22+00:00] INFO: remote_file[/var/chef/cache/chef-server_11.0.8-1.ubuntu.12.04_amd64.deb] created file /var/chef/cache/chef-server_11.0.8-1.ubuntu.12.04_amd64.deb
[2013-09-16T15:17:04+00:00] INFO: remote_file[/var/chef/cache/chef-server_11.0.8-1.ubuntu.12.04_amd64.deb] updated file contents /var/chef/cache/chef-server_11.0.8-1.ubuntu.12.04_amd64.deb
[2013-09-16T15:17:05+00:00] INFO: Processing package[chef-server_11.0.8-1.ubuntu.12.04_amd64.deb] action install (chef-server::default line 55)
[2013-09-16T15:17:22+00:00] INFO: Processing directory[/etc/chef-server] action create (chef-server::default line 67)
[2013-09-16T15:17:22+00:00] INFO: directory[/etc/chef-server] created directory /etc/chef-server
[2013-09-16T15:17:22+00:00] INFO: directory[/etc/chef-server] owner changed to 0
[2013-09-16T15:17:22+00:00] INFO: directory[/etc/chef-server] group changed to 0
[2013-09-16T15:17:22+00:00] INFO: Processing template[/etc/chef-server/chef-server.rb] action create (chef-server::default line 75)
[2013-09-16T15:17:22+00:00] INFO: template[/etc/chef-server/chef-server.rb] created file /etc/chef-server/chef-server.rb
[2013-09-16T15:17:22+00:00] INFO: template[/etc/chef-server/chef-server.rb] updated file contents /etc/chef-server/chef-server.rb
[2013-09-16T15:17:22+00:00] INFO: template[/etc/chef-server/chef-server.rb] owner changed to 0
[2013-09-16T15:17:22+00:00] INFO: template[/etc/chef-server/chef-server.rb] group changed to 0
[2013-09-16T15:17:22+00:00] INFO: template[/etc/chef-server/chef-server.rb] sending run action to execute[reconfigure-chef-server] (immediate)
[2013-09-16T15:17:22+00:00] INFO: Processing execute[reconfigure-chef-server] action run (chef-server::default line 84)
[2013-09-16T15:18:14+00:00] INFO: execute[reconfigure-chef-server] ran successfully
[2013-09-16T15:18:14+00:00] INFO: Processing execute[reconfigure-chef-server] action nothing (chef-server::default line 84)
[2013-09-16T15:18:14+00:00] INFO: Processing ruby_block[ensure node can resolve API FQDN] action run (chef-server::default line 89)
[2013-09-16T15:18:14+00:00] INFO: Chef Run complete in 232.250903091 seconds
[2013-09-16T15:18:14+00:00] INFO: Running report handlers
[2013-09-16T15:18:14+00:00] INFO: Report handlers complete
WARNING: No knife configuration file found
*****
You must place your client key in:
/etc/chef-server/admin.pem
Before running commands with Knife!
*****
You must place your validation key in:
/etc/chef-server/chef-validator.pem
Before generating instance data with Knife!
*****
Configuration file written to /root/.chef/knife.rb
ERROR: Connection refused connecting to 127.0.0.1:8000 for /users, retry 1/5
Created user[vagrant]
cp: cannot create regular file `/vagrant/keys/chef-validator.pem': No such file or directory
cp: cannot create regular file `/vagrant/keys/vagrant.pem': No such file or directory
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
chmod +x /tmp/vagrant-shell && /tmp/vagrant-shell
Stdout from the command:
Downloading Chef for ubuntu...
Installing Chef
Selecting previously unselected package chef.
(Reading database ... 54648 files and directories currently installed.)
Unpacking chef (from .../tmp.ZrZHxWM2/chef__amd64.deb) ...
Setting up chef (11.6.0-1.ubuntu.12.04) ...
Thank you for installing Chef!
[2013-09-16T15:14:22+00:00] WARN: *****************************************
[2013-09-16T15:14:22+00:00] WARN: Did not find config file: /etc/chef/solo.rb, using command line options.
[2013-09-16T15:14:22+00:00] WARN: *****************************************
[2013-09-16T15:14:22+00:00] INFO: Forking chef instance to converge...
[2013-09-16T15:14:22+00:00] INFO: *** Chef 11.6.0 ***
[2013-09-16T15:14:22+00:00] WARN: Run List override has been provided.
[2013-09-16T15:14:22+00:00] WARN: Original Run List: []
[2013-09-16T15:14:22+00:00] WARN: Overridden Run List: [recipe[chef-server::default]]
[2013-09-16T15:14:22+00:00] INFO: Run List is [recipe[chef-server::default]]
[2013-09-16T15:14:22+00:00] INFO: Run List expands to [chef-server::default]
[2013-09-16T15:14:22+00:00] INFO: Starting Chef Run for provision.infrastructure.vb
[2013-09-16T15:14:22+00:00] INFO: Running start handlers
[2013-09-16T15:14:22+00:00] INFO: Start handlers complete.
[2013-09-16T15:14:22+00:00] INFO: Omnitruck download-server request: http://www.opscode.com/chef/download-server?p=ubuntu&pv=12.04&m=x86_64&v=latest&prerelease=false&nightlies=false
[2013-09-16T15:14:22+00:00] INFO: Downloading chef-server package from: http://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef-server_11.0.8-1.ubuntu.12.04_amd64.deb
[2013-09-16T15:14:22+00:00] INFO: Processing remote_file[/var/chef/cache/chef-server_11.0.8-1.ubuntu.12.04_amd64.deb] action create_if_missing (chef-server::default line 40)
[2013-09-16T15:14:22+00:00] INFO: remote_file[/var/chef/cache/chef-server_11.0.8-1.ubuntu.12.04_amd64.deb] created file /var/chef/cache/chef-server_11.0.8-1.ubuntu.12.04_amd64.deb
[2013-09-16T15:17:04+00:00] INFO: remote_file[/var/chef/cache/chef-server_11.0.8-1.ubuntu.12.04_amd64.deb] updated file contents /var/chef/cache/chef-server_11.0.8-1.ubuntu.12.04_amd64.deb
[2013-09-16T15:17:05+00:00] INFO: Processing package[chef-server_11.0.8-1.ubuntu.12.04_amd64.deb] action install (chef-server::default line 55)
[2013-09-16T15:17:22+00:00] INFO: Processing directory[/etc/chef-server] action create (chef-server::default line 67)
[2013-09-16T15:17:22+00:00] INFO: directory[/etc/chef-server] created directory /etc/chef-server
[2013-09-16T15:17:22+00:00] INFO: directory[/etc/chef-server] owner changed to 0
[2013-09-16T15:17:22+00:00] INFO: directory[/etc/chef-server] group changed to 0
[2013-09-16T15:17:22+00:00] INFO: Processing template[/etc/chef-server/chef-server.rb] action create (chef-server::default line 75)
[2013-09-16T15:17:22+00:00] INFO: template[/etc/chef-server/chef-server.rb] created file /etc/chef-server/chef-server.rb
[2013-09-16T15:17:22+00:00] INFO: template[/etc/chef-server/chef-server.rb] updated file contents /etc/chef-server/chef-server.rb
[2013-09-16T15:17:22+00:00] INFO: template[/etc/chef-server/chef-server.rb] owner changed to 0
[2013-09-16T15:17:22+00:00] INFO: template[/etc/chef-server/chef-server.rb] group changed to 0
[2013-09-16T15:17:22+00:00] INFO: template[/etc/chef-server/chef-server.rb] sending run action to execute[reconfigure-chef-server] (immediate)
[2013-09-16T15:17:22+00:00] INFO: Processing execute[reconfigure-chef-server] action run (chef-server::default line 84)
[2013-09-16T15:18:14+00:00] INFO: execute[reconfigure-chef-server] ran successfully
[2013-09-16T15:18:14+00:00] INFO: Processing execute[reconfigure-chef-server] action nothing (chef-server::default line 84)
[2013-09-16T15:18:14+00:00] INFO: Processing ruby_block[ensure node can resolve API FQDN] action run (chef-server::default line 89)
[2013-09-16T15:18:14+00:00] INFO: Chef Run complete in 232.250903091 seconds
[2013-09-16T15:18:14+00:00] INFO: Running report handlers
[2013-09-16T15:18:14+00:00] INFO: Report handlers complete
*****
You must place your client key in:
/etc/chef-server/admin.pem
Before running commands with Knife!
*****
You must place your validation key in:
/etc/chef-server/chef-validator.pem
Before generating instance data with Knife!
*****
Configuration file written to /root/.chef/knife.rb
ERROR: Connection refused connecting to 127.0.0.1:8000 for /users, retry 1/5
Created user[vagrant]
Stderr from the command:
stdin: is not a tty
WARNING: No knife configuration file found
cp: cannot create regular file `/vagrant/keys/chef-validator.pem': No such file or directory
cp: cannot create regular file `/vagrant/keys/vagrant.pem': No such file or directory
[[email protected]] ~/Development/Exchange/vagrant-toolkit (simplify)
=> vagrant provision provision.infrastructure
[provision.infrastructure] Configuring cache buckets...
[provision.infrastructure] Running provisioner: shell...
[provision.infrastructure] Running: inline script
stdin: is not a tty
[provision.infrastructure] Configuring cache buckets...
[[email protected]] ~/Development/Exchange/vagrant-toolkit (simplify)
=> vagrant destroy provision.infrastructure
Are you sure you want to destroy the 'provision.infrastructure' VM? [y/N] y
[provision.infrastructure] Forcing shutdown of VM...
[provision.infrastructure] Destroying VM and associated drives...
[[email protected]] ~/Development/Exchange/vagrant-toolkit (simplify)
=> vagrant up provision.infrastructure
Bringing machine 'provision.infrastructure' up with 'virtualbox' provider...
[provision.infrastructure] Importing base box 'ubuntu-12.04'...
[provision.infrastructure] Matching MAC address for NAT networking...
[provision.infrastructure] Setting the name of the VM...
[provision.infrastructure] Clearing any previously set forwarded ports...
Pruning invalid NFS exports. Administrator privileges will be required...
[provision.infrastructure] Creating shared folders metadata...
[provision.infrastructure] Clearing any previously set network interfaces...
[provision.infrastructure] Preparing network interfaces based on configuration...
[provision.infrastructure] Forwarding ports...
[provision.infrastructure] -- 22 => 2222 (adapter 1)
[provision.infrastructure] Running 'pre-boot' VM customizations...
[provision.infrastructure] Booting VM...
[provision.infrastructure] Waiting for VM to boot. This can take a few minutes.
[provision.infrastructure] VM booted and ready for use!
[provision.infrastructure] Setting hostname...
[provision.infrastructure] Configuring and enabling network interfaces...
[provision.infrastructure] Mounting shared folders...
[provision.infrastructure] -- /vagrant
[provision.infrastructure] Exporting NFS shared folders...
Preparing to edit /etc/exports. Administrator privileges will be required...
[provision.infrastructure] Mounting NFS shared folders...
[provision.infrastructure] Configuring cache buckets...
[provision.infrastructure] Running provisioner: shell...
[provision.infrastructure] Running: inline script
stdin: is not a tty
Downloading Chef for ubuntu...
Installing Chef
Selecting previously unselected package chef.
(Reading database ... 54648 files and directories currently installed.)
Unpacking chef (from .../tmp.sJGirZ6s/chef__amd64.deb) ...
Setting up chef (11.6.0-1.ubuntu.12.04) ...
Thank you for installing Chef!
[2013-09-16T16:19:43+00:00] WARN: *****************************************
[2013-09-16T16:19:43+00:00] WARN: Did not find config file: /etc/chef/solo.rb, using command line options.
[2013-09-16T16:19:43+00:00] WARN: *****************************************
[2013-09-16T16:19:43+00:00] INFO: Forking chef instance to converge...
[2013-09-16T16:19:43+00:00] INFO: *** Chef 11.6.0 ***
[2013-09-16T16:19:43+00:00] WARN: Run List override has been provided.
[2013-09-16T16:19:43+00:00] WARN: Original Run List: []
[2013-09-16T16:19:43+00:00] WARN: Overridden Run List: [recipe[chef-server::default]]
[2013-09-16T16:19:43+00:00] INFO: Run List is [recipe[chef-server::default]]
[2013-09-16T16:19:43+00:00] INFO: Run List expands to [chef-server::default]
[2013-09-16T16:19:43+00:00] INFO: Starting Chef Run for provision.infrastructure.vb
[2013-09-16T16:19:43+00:00] INFO: Running start handlers
[2013-09-16T16:19:43+00:00] INFO: Start handlers complete.
[2013-09-16T16:19:43+00:00] INFO: Omnitruck download-server request: http://www.opscode.com/chef/download-server?p=ubuntu&pv=12.04&m=x86_64&v=latest&prerelease=false&nightlies=false
[2013-09-16T16:19:44+00:00] INFO: Downloading chef-server package from: http://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef-server_11.0.8-1.ubuntu.12.04_amd64.deb
[2013-09-16T16:19:44+00:00] INFO: Processing remote_file[/var/chef/cache/chef-server_11.0.8-1.ubuntu.12.04_amd64.deb] action create_if_missing (chef-server::default line 40)
[2013-09-16T16:19:44+00:00] INFO: remote_file[/var/chef/cache/chef-server_11.0.8-1.ubuntu.12.04_amd64.deb] created file /var/chef/cache/chef-server_11.0.8-1.ubuntu.12.04_amd64.deb
[2013-09-16T16:22:17+00:00] INFO: remote_file[/var/chef/cache/chef-server_11.0.8-1.ubuntu.12.04_amd64.deb] updated file contents /var/chef/cache/chef-server_11.0.8-1.ubuntu.12.04_amd64.deb
[2013-09-16T16:22:19+00:00] INFO: Processing package[chef-server_11.0.8-1.ubuntu.12.04_amd64.deb] action install (chef-server::default line 55)
[2013-09-16T16:22:33+00:00] INFO: Processing directory[/etc/chef-server] action create (chef-server::default line 67)
[2013-09-16T16:22:33+00:00] INFO: directory[/etc/chef-server] created directory /etc/chef-server
[2013-09-16T16:22:33+00:00] INFO: directory[/etc/chef-server] owner changed to 0
[2013-09-16T16:22:33+00:00] INFO: directory[/etc/chef-server] group changed to 0
[2013-09-16T16:22:33+00:00] INFO: Processing template[/etc/chef-server/chef-server.rb] action create (chef-server::default line 75)
[2013-09-16T16:22:33+00:00] INFO: template[/etc/chef-server/chef-server.rb] created file /etc/chef-server/chef-server.rb
[2013-09-16T16:22:33+00:00] INFO: template[/etc/chef-server/chef-server.rb] updated file contents /etc/chef-server/chef-server.rb
[2013-09-16T16:22:33+00:00] INFO: template[/etc/chef-server/chef-server.rb] owner changed to 0
[2013-09-16T16:22:33+00:00] INFO: template[/etc/chef-server/chef-server.rb] group changed to 0
[2013-09-16T16:22:33+00:00] INFO: template[/etc/chef-server/chef-server.rb] sending run action to execute[reconfigure-chef-server] (immediate)
[2013-09-16T16:22:33+00:00] INFO: Processing execute[reconfigure-chef-server] action run (chef-server::default line 84)
[2013-09-16T16:23:24+00:00] INFO: execute[reconfigure-chef-server] ran successfully
[2013-09-16T16:23:24+00:00] INFO: Processing execute[reconfigure-chef-server] action nothing (chef-server::default line 84)
[2013-09-16T16:23:24+00:00] INFO: Processing ruby_block[ensure node can resolve API FQDN] action run (chef-server::default line 89)
[2013-09-16T16:23:24+00:00] INFO: Chef Run complete in 220.681703269 seconds
[2013-09-16T16:23:24+00:00] INFO: Running report handlers
[2013-09-16T16:23:24+00:00] INFO: Report handlers complete
WARNING: No knife configuration file found
*****
You must place your client key in:
/etc/chef-server/admin.pem
Before running commands with Knife!
*****
You must place your validation key in:
/etc/chef-server/chef-validator.pem
Before generating instance data with Knife!
*****
Configuration file written to /root/.chef/knife.rb
ERROR: Connection refused connecting to 127.0.0.1:8000 for /users/vagrant, retry 1/5
ERROR: The object you are looking for could not be found
Response: user 'vagrant' not found
Created user[vagrant]
[provision.infrastructure] Configuring cache buckets...
[provision.infrastructure] Restarted DNS Service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment