Skip to content

Instantly share code, notes, and snippets.

@fnichol
Created June 18, 2011 17:41
Show Gist options
  • Save fnichol/1033311 to your computer and use it in GitHub Desktop.
Save fnichol/1033311 to your computer and use it in GitHub Desktop.
Vagrant chef-solo output
[default] Provisioning enabled with chef_solo...
[default] Importing base box 'lucid32-reference'...
[default] Matching MAC address for NAT networking...
[default] Running any VM customizations...
[default] Clearing any previously set forwarded ports...
[default] Forwarding ports...
[default] -- ssh: 22 => 2222 (adapter 1)
[default] Creating shared folders metadata...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Mounting shared folders...
[default] -- v-root: /vagrant
[default] -- v-csc-0: /tmp/vagrant-chef/cookbooks-0
[default] -- v-csr-0: /tmp/vagrant-chef/roles-0
[default] Running provisioner: Vagrant::Provisioners::ChefSolo...
[default] Generating chef JSON and uploading...
[default] Running chef-solo...
[default] [Sat, 18 Jun 2011 19:43:34 +0200] INFO: *** Chef 0.10.0 ***
: stdout
[default] [Sat, 18 Jun 2011 19:43:35 +0200] INFO: Setting the run_list to ["recipe[rvm]"] from JSON
: stdout
[default] [Sat, 18 Jun 2011 19:43:35 +0200] INFO: Run List is [recipe[rvm]]
: stdout
[default] [Sat, 18 Jun 2011 19:43:35 +0200] INFO: Run List expands to [rvm]
: stdout
[default] [Sat, 18 Jun 2011 19:43:35 +0200] INFO: Starting Chef Run for lucid32.hsd1.ca.comcast.net.
: stdout
[default] [Sat, 18 Jun 2011 19:43:35 +0200] WARN: Missing gem 'rvm'
: stdout
[default] [Sat, 18 Jun 2011 19:43:35 +0200] ERROR: Running exception handlers
: stdout
[default] [Sat, 18 Jun 2011 19:43:35 +0200] ERROR: Exception handlers complete
: stdout
[default] [Sat, 18 Jun 2011 19:43:35 +0200] FATAL: Stacktrace dumped to /tmp/vagrant-chef/chef-stacktrace.out
: stdout
[default] [Sat, 18 Jun 2011 19:43:35 +0200] FATAL: NameError: wrong constant name Chef-rvmGlobalGem
: stdout
[default] : stdout
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
cd /tmp/vagrant-chef
chef-solo -c solo.rb -j dna.json
The output of the command prior to failing is outputted below:
[no output]
82.10 real 15.97 user 2.92 sys
real 1m22.120s
user 0m15.974s
sys 0m2.933s
[default] Provisioning enabled with chef_solo...
[default] Importing base box 'lucid32-reference'...
[default] Matching MAC address for NAT networking...
[default] Running any VM customizations...
[default] Clearing any previously set forwarded ports...
[default] Forwarding ports...
[default] -- ssh: 22 => 2222 (adapter 1)
[default] Creating shared folders metadata...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Mounting shared folders...
[default] -- v-root: /vagrant
[default] -- v-csc-0: /tmp/vagrant-chef/cookbooks-0
[default] -- v-csr-0: /tmp/vagrant-chef/roles-0
[default] Running provisioner: Vagrant::Provisioners::ChefSolo...
[default] Generating chef JSON and uploading...
[default] Running chef-solo...
[default] [Sat, 18 Jun 2011 19:36:17 +0200] INFO: *** Chef 0.10.0 ***
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Building node object for lucid32.hsd1.ca.comcast.net.
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Extracting run list from JSON attributes provided on command line
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] INFO: Setting the run_list to ["recipe[rvm]"] from JSON
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Applying attributes from json file
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Platform is ubuntu version 10.04
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] INFO: Run List is [recipe[rvm]]
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] INFO: Run List expands to [rvm]
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] INFO: Starting Chef Run for lucid32.hsd1.ca.comcast.net.
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: No chefignore file found at /tmp/vagrant-chef/cookbooks-0/chefignore no files will be ignored
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loading cookbook rvm's library file: /tmp/vagrant-chef/cookbooks-0/rvm/libraries/rvm_rubygems_package.rb
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loading cookbook rvm's library file: /tmp/vagrant-chef/cookbooks-0/rvm/libraries/helpers.rb
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] WARN: Missing gem 'rvm'
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loading cookbook rvm's library file: /tmp/vagrant-chef/cookbooks-0/rvm/libraries/gem_package_monkeypatch.rb
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loading cookbook rvm's providers from /tmp/vagrant-chef/cookbooks-0/rvm/providers/global_gem.rb
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loaded contents of /tmp/vagrant-chef/cookbooks-0/rvm/providers/global_gem.rb into a provider named rvm_global_gem defined in Chef::Provider::RvmGlobalGem
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loading cookbook rvm's providers from /tmp/vagrant-chef/cookbooks-0/rvm/providers/ruby.rb
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loaded contents of /tmp/vagrant-chef/cookbooks-0/rvm/providers/ruby.rb into a provider named rvm_ruby defined in Chef::Provider::RvmRuby
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loading cookbook rvm's providers from /tmp/vagrant-chef/cookbooks-0/rvm/providers/default_ruby.rb
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loaded contents of /tmp/vagrant-chef/cookbooks-0/rvm/providers/default_ruby.rb into a provider named rvm_default_ruby defined in Chef::Provider::RvmDefaultRuby
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loading cookbook rvm's providers from /tmp/vagrant-chef/cookbooks-0/rvm/providers/wrapper.rb
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loaded contents of /tmp/vagrant-chef/cookbooks-0/rvm/providers/wrapper.rb into a provider named rvm_wrapper defined in Chef::Provider::RvmWrapper
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loading cookbook rvm's providers from /tmp/vagrant-chef/cookbooks-0/rvm/providers/shell.rb
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loaded contents of /tmp/vagrant-chef/cookbooks-0/rvm/providers/shell.rb into a provider named rvm_shell defined in Chef::Provider::RvmShell
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loading cookbook rvm's providers from /tmp/vagrant-chef/cookbooks-0/rvm/providers/environment.rb
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loaded contents of /tmp/vagrant-chef/cookbooks-0/rvm/providers/environment.rb into a provider named rvm_environment defined in Chef::Provider::RvmEnvironment
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loading cookbook rvm's providers from /tmp/vagrant-chef/cookbooks-0/rvm/providers/gemset.rb
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loaded contents of /tmp/vagrant-chef/cookbooks-0/rvm/providers/gemset.rb into a provider named rvm_gemset defined in Chef::Provider::RvmGemset
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loading cookbook rvm's resources from /tmp/vagrant-chef/cookbooks-0/rvm/resources/gemset.rb
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loaded contents of /tmp/vagrant-chef/cookbooks-0/rvm/resources/gemset.rb into a resource named rvm_gemset defined in Chef::Resource::RvmGemset
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loading cookbook rvm's resources from /tmp/vagrant-chef/cookbooks-0/rvm/resources/global_gem.rb
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loaded contents of /tmp/vagrant-chef/cookbooks-0/rvm/resources/global_gem.rb into a resource named rvm_global_gem defined in Chef::Resource::RvmGlobalGem
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loading cookbook rvm's resources from /tmp/vagrant-chef/cookbooks-0/rvm/resources/shell.rb
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loaded contents of /tmp/vagrant-chef/cookbooks-0/rvm/resources/shell.rb into a resource named rvm_shell defined in Chef::Resource::RvmShell
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loading cookbook rvm's resources from /tmp/vagrant-chef/cookbooks-0/rvm/resources/ruby.rb
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loaded contents of /tmp/vagrant-chef/cookbooks-0/rvm/resources/ruby.rb into a resource named rvm_ruby defined in Chef::Resource::RvmRuby
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loading cookbook rvm's resources from /tmp/vagrant-chef/cookbooks-0/rvm/resources/gem.rb
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loaded contents of /tmp/vagrant-chef/cookbooks-0/rvm/resources/gem.rb into a resource named rvm_gem defined in Chef::Resource::RvmGem
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loading cookbook rvm's resources from /tmp/vagrant-chef/cookbooks-0/rvm/resources/default_ruby.rb
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loaded contents of /tmp/vagrant-chef/cookbooks-0/rvm/resources/default_ruby.rb into a resource named rvm_default_ruby defined in Chef::Resource::RvmDefaultRuby
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loading cookbook rvm's resources from /tmp/vagrant-chef/cookbooks-0/rvm/resources/wrapper.rb
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loaded contents of /tmp/vagrant-chef/cookbooks-0/rvm/resources/wrapper.rb into a resource named rvm_wrapper defined in Chef::Resource::RvmWrapper
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loading cookbook rvm's resources from /tmp/vagrant-chef/cookbooks-0/rvm/resources/environment.rb
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loaded contents of /tmp/vagrant-chef/cookbooks-0/rvm/resources/environment.rb into a resource named rvm_environment defined in Chef::Resource::RvmEnvironment
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Node lucid32.hsd1.ca.comcast.net. loading cookbook rvm's attribute file /tmp/vagrant-chef/cookbooks-0/rvm/attributes/gem_package.rb
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Node lucid32.hsd1.ca.comcast.net. loading cookbook rvm's attribute file /tmp/vagrant-chef/cookbooks-0/rvm/attributes/vagrant.rb
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Node lucid32.hsd1.ca.comcast.net. loading cookbook rvm's attribute file /tmp/vagrant-chef/cookbooks-0/rvm/attributes/default.rb
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Loading Recipe rvm via include_recipe
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] DEBUG: Found recipe default in cookbook rvm
: stdout
[default] [Sat, 18 Jun 2011 19:36:18 +0200] INFO: Installing RVM gem
: stdout
[default] ********************************************************************************
This gem contains only the Ruby libraries for the RVM Ruby API.
In order to install RVM please use one of the methods listed in the
documentation:
https://rvm.beginrescueend.com/rvm/install/
such as,
bash < <(curl -s -B https://rvm.beginrescueend.com/install/rvm)
followed by placing the sourcing line in your ~/.bash_profile or wherever may
be appropriate for your setup (example, .zshenv, /etc/profile, ...):
# Load RVM into a shell session *as a function*
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
After completing setup please open a new shell to use RVM and be sure to run
'rvm notes' to gain a list of dependencies to install before installing the
first Ruby. You can read more details about this process on the above
mentioned install page as well as the basics page:
https://rvm.beginrescueend.com/rvm/basics/
Enjoy!
~Wayne
********************************************************************************
: stdout
[default] [Sat, 18 Jun 2011 19:36:21 +0200] DEBUG: Loading Recipe rvm::system via include_recipe
: stdout
[default] [Sat, 18 Jun 2011 19:36:21 +0200] DEBUG: Found recipe system in cookbook rvm
: stdout
[default] [Sat, 18 Jun 2011 19:36:21 +0200] DEBUG: Loading from cookbook_path: /tmp/vagrant-chef/cookbooks-0
: stdout
[default] [Sat, 18 Jun 2011 19:36:21 +0200] DEBUG: Converging node lucid32.hsd1.ca.comcast.net.
: stdout
[default] [Sat, 18 Jun 2011 19:36:21 +0200] INFO: Processing package[sed] action install (rvm::system line 47)
: stdout
Vagrant::Config.run do |config|
config.vm.box = "lucid32"
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "cookbooks"
chef.log_level = :debug
chef.add_recipe "rvm"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment