Mining-the-Social-Web-2nd-Edition
Mining-the-Social-Web-2nd-Edition copied to clipboard
Issue installing the VM on Mac OSX 10.9.5 Mavericks
While trying to install the VM I ran into an error with Chef. The terminal output where things go bad is included below. I tried the solution to issue #243 (setting up both symbolic links) but it didn't solve the issue. When I try running vagrant provision I get the following
==> default: Running provisioner: chef_solo...
==> default: Detected Chef (latest) is already installed
Shared folders that Chef requires are missing on the virtual machine.
This is usually due to configuration changing after already booting the
machine. The fix is to run a vagrant reload
so that the proper shared
folders will be prepared and mounted on the VM.
Has anyone run into this issue? I'm running VirtualBox 4.3 and vagrant 1.7.2.
Thanks!!
==> default: ================================================================================
==> default: Error executing action run
on resource 'execute[install-setuptools]'
==> default: ================================================================================
==> default:
==> default: Mixlib::ShellOut::ShellCommandFailed
==> default: ------------------------------------
==> default: Expected process to exit with [0], but received '127'
==> default:
==> default: ---- Begin output of /bin/python ez_setup.py
==> default:
==> default: ----
==> default: STDOUT:
==> default: STDERR: sh: 1: /bin/python: not found
==> default: ---- End output of /bin/python ez_setup.py
==> default: ----
==> default: Ran /bin/python ez_setup.py
==> default: returned 127
==> default:
==> default: Resource Declaration:
==> default: ---------------------
==> default: # In /tmp/vagrant-chef/ccde182519dcf3136cf2996f04deee51/cookbooks/python/recipes/pip.rb
==> default:
==> default:
==> default:
==> default: 48: execute "install-setuptools" do
==> default: 49: cwd Chef::Config[:file_cache_path]
==> default: 50: command <<-EOF
==> default:
==> default: 51: #{node['python']['binary']} ez_setup.py
==> default: 52: EOF
==> default: 53: not_if "#{node['python']['binary']} -c 'import setuptools'"
==> default:
==> default: 54: end
==> default:
==> default: 55:
==> default:
==> default:
==> default: Compiled Resource:
==> default: ------------------
==> default: # Declared in /tmp/vagrant-chef/ccde182519dcf3136cf2996f04deee51/cookbooks/python/recipes/pip.rb:48:in from_file' ==> default: ==> default: execute("install-setuptools") do ==> default: action "run" ==> default: retries 0 ==> default: retry_delay 2 ==> default: default_guard_interpreter :execute ==> default: command " /bin/python ez_setup.py\n" ==> default: backup 5 ==> default: cwd "/var/chef/cache" ==> default: returns 0 ==> default: declared_type :execute ==> default: ==> default: cookbook_name :python ==> default: recipe_name "pip" ==> default: ==> default: not_if "/bin/python -c 'import setuptools'" ==> default: end ==> default: ==> default: ==> default: [2015-01-12T20:19:00+00:00] INFO: Running queued delayed notifications before re-raising exception ==> default: [2015-01-12T20:19:00+00:00] DEBUG: Re-raising exception: Mixlib::ShellOut::ShellCommandFailed - execute[install-setuptools] (python::pip line 48) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '127' ==> default: ---- Begin output of /bin/python ez_setup.py ==> default: ---- ==> default: STDOUT: ==> default: STDERR: sh: 1: /bin/python: not found ==> default: ---- End output of /bin/python ez_setup.py ==> default: ---- ==> default: Ran /bin/python ez_setup.py ==> default: returned 127 ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.0.0/lib/mixlib/shellout.rb:267:in
invalid!'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.0.0/lib/mixlib/shellout.rb:254:in error!' ==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/shell_out.rb:50:in
shell_out!'
==> default: /opt/chef/embedded/apps/chef/lib/chef/provider/execute.rb:60:in block in action_run' ==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in
call'
==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in add_action' ==> default: /opt/chef/embedded/apps/chef/lib/chef/provider.rb:180:in
converge_by'
==> default: /opt/chef/embedded/apps/chef/lib/chef/provider/execute.rb:59:in action_run' ==> default: /opt/chef/embedded/apps/chef/lib/chef/provider.rb:145:in
run_action'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource.rb:582:in run_action' ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:49:in
run_action'
==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in block (2 levels) in converge' ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in
each'
==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in block in converge' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:83:in
block in execute_each_resource'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in call' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in
call_iterator_block'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:85:in step' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:104:in
iterate'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:55:in each_with_index' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:81:in
execute_each_resource'
==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:80:in converge' ==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:315:in
converge'
==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:400:in block in run' ==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:399:in
catch'
==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:399:in run' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:261:in
block in fork_chef_client'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:249:in fork' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:249:in
fork_chef_client'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:215:in block in run_chef_client' ==> default: /opt/chef/embedded/apps/chef/lib/chef/local_mode.rb:38:in
with_server_connectivity'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:201:in run_chef_client' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:245:in
block in interval_run_chef_client'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:234:in loop' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:234:in
interval_run_chef_client'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:224:in run_application' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:58:in
run'
==> default: /opt/chef/embedded/apps/chef/bin/chef-solo:25:in <top (required)>' ==> default: /usr/bin/chef-solo:40:in
load'
==> default: /usr/bin/chef-solo:40:in <main>' ==> default: [2015-01-12T20:19:00+00:00] ERROR: Running exception handlers ==> default: [2015-01-12T20:19:00+00:00] ERROR: Exception handlers complete ==> default: [2015-01-12T20:19:00+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out ==> default: [2015-01-12T20:19:00+00:00] DEBUG: Mixlib::ShellOut::ShellCommandFailed: execute[install-setuptools] (python::pip line 48) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '127' ==> default: ---- Begin output of /bin/python ez_setup.py ==> default: ---- ==> default: STDOUT: ==> default: STDERR: sh: 1: /bin/python: not found ==> default: ---- End output of /bin/python ez_setup.py ==> default: ---- ==> default: Ran /bin/python ez_setup.py ==> default: returned 127 ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.0.0/lib/mixlib/shellout.rb:267:in
invalid!'
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.0.0/lib/mixlib/shellout.rb:254:in error!' ==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/shell_out.rb:50:in
shell_out!'
==> default: /opt/chef/embedded/apps/chef/lib/chef/provider/execute.rb:60:in block in action_run' ==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in
call'
==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in add_action' ==> default: /opt/chef/embedded/apps/chef/lib/chef/provider.rb:180:in
converge_by'
==> default: /opt/chef/embedded/apps/chef/lib/chef/provider/execute.rb:59:in action_run' ==> default: /opt/chef/embedded/apps/chef/lib/chef/provider.rb:145:in
run_action'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource.rb:582:in run_action' ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:49:in
run_action'
==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in block (2 levels) in converge' ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in
each'
==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in block in converge' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:83:in
block in execute_each_resource'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in call' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in
call_iterator_block'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:85:in step' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:104:in
iterate'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:55:in each_with_index' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:81:in
execute_each_resource'
==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:80:in converge' ==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:315:in
converge'
==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:400:in block in run' ==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:399:in
catch'
==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:399:in run' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:261:in
block in fork_chef_client'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:249:in fork' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:249:in
fork_chef_client'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:215:in block in run_chef_client' ==> default: /opt/chef/embedded/apps/chef/lib/chef/local_mode.rb:38:in
with_server_connectivity'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:201:in run_chef_client' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:245:in
block in interval_run_chef_client'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:234:in loop' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:234:in
interval_run_chef_client'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:224:in run_application' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:58:in
run'
==> default: /opt/chef/embedded/apps/chef/bin/chef-solo:25:in <top (required)>' ==> default: /usr/bin/chef-solo:40:in
load'
==> default: /usr/bin/chef-solo:40:in `
I had the same problem and I think ultimately what fixed it for me was running vagrant destroy
and then vagrant up
again before retrying #243
.. could also try vagrant up --provision
Thanks for the comment JKelner. Unfortunately the solution proposed in #243 didn't work even after running vagrant destroy
. I also tried vagrant up --provision
, but got the same result as running vagrant up
then vagrant provision
. Why does the host machine configuration matter if everything runs in the virtual machine? I'm using the Anaconda Python distribution on my host machine. Might this somehow be the issue?
I am having the same error. I have done just about everything and any help in getting this fixed would be great
I'm having a similar error on OSX yosemite (10.10 I think ?) This is the end of the output where it exits with an error:
==> default: The following NEW packages will be installed:
==> default: libexpat1-dev libpython2.7 python-dev python2.7-dev
==> default: The following packages will be upgraded:
==> default: libexpat1 python python-minimal python2.7 python2.7-minimal
==> default: 5 upgraded, 4 newly installed, 0 to remove and 169 not upgraded.
==> default: Need to get 35.7 MB of archives.
==> default: After this operation, 43.3 MB of additional disk space will be used.
==> default: Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python2.7 amd64 2.7.3-0ubuntu3.6 [2677 kB]
==> default: Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python2.7-minimal amd64 2.7.3-0ubuntu3.6 [1741 kB]
==> default: Get:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libexpat1 amd64 2.0.1-7.2ubuntu1.1 [131 kB]
==> default: Get:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python-minimal amd64 2.7.3-0ubuntu2.2 [29.7 kB]
==> default: Get:5 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python amd64 2.7.3-0ubuntu2.2 [168 kB]
==> default: Get:6 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libexpat1-dev amd64 2.0.1-7.2ubuntu1.1 [216 kB]
==> default: Get:7 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libpython2.7 amd64 2.7.3-0ubuntu3.6 [1188 kB]
==> default: Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python2.7-dev amd64 2.7.3-0ubuntu3.6
==> default: 408 Request Time-out [IP: 91.189.91.15 80]
==> default: Get:8 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python-dev amd64 2.7.3-0ubuntu2.2 [1090 B]
==> default: Fetched 6152 kB in 53s (116 kB/s)
==> default: STDERR: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/python2.7/python2.7-dev_2.7.3-0ubuntu3.6_amd64.deb 408 Request Time-out [IP: 91.189.91.15 80]
==> default: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
==> default: ---- End output of apt-get -q -y install python-dev=2.7.3-0ubuntu2.2 ----
==> default: Ran apt-get -q -y install python-dev=2.7.3-0ubuntu2.2 returned 100
==> default: [2015-01-19T17:11:13+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
+1 similar problem. #243 doesn't solve it.
everything worked perfectly smooth (with the addition of #243 correction) once I installed it on my Desktop instead of Documents folder
The solutions suggested for #243 have not worked, including the second symbol link described in comment https://github.com/ptwobrussell/Mining-the-Social-Web-2nd-Edition/issues/243#issuecomment-68652092
After applying the suggested changes in #243 I'm getting a similar error as described by @ncrockett
"Shared folders that Chef requires are missing on the virtual machine.
This is usually due to configuration changing after already booting the
machine. The fix is to run a vagrant reload
so that the proper shared
folders will be prepared and mounted on the VM."
Running 'vagrant reload' gives a message
"default: Machine already provisioned. Run vagrant provision
or use the --provision
==> default: to force provisioning. Provisioners marked to run always will still run."
Running vagrant provision
gives the first message, and so on and so on....
Mac OS X Yosemite 10.10.1 VirutalBox 4.3.20 Vagrant 1.7.2
I finally got it to work by uninstalling vagrant 1.7.2 and installing 1.7.1 instead.
Yosemite 10.10.1 VirtualBox 4.3.20 Vagrant 1.7.1 Created links as described in #243
I tried the above with vagrant 1.7.1 and after creating the links I am still getting an error when running vagrant provision. Please see below for the complete vagrant provision output
==> default: Running chef-solo...
==> default: stdin: is not a tty
==> default: [2015-01-26T20:13:06+00:00] INFO: Forking chef instance to converge...
==> default: [2015-01-26T20:13:06+00:00] DEBUG: Fork successful. Waiting for new chef pid: 1539
==> default: [2015-01-26T20:13:06+00:00] DEBUG: Forked instance now converging
==> default: [2015-01-26T20:13:06+00:00] INFO: *** Chef 12.0.3 ***
==> default: [2015-01-26T20:13:06+00:00] INFO: Chef-client pid: 1539
==> default: [2015-01-26T20:13:06+00:00] DEBUG: Chef-client request_id: d9c08a49-6dd2-4e88-aaf1-0206393736ef
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Building node object for precise64
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Extracting run list from JSON attributes provided on command line
==> default: [2015-01-26T20:13:07+00:00] INFO: Setting the run_list to ["recipe[mtsw2e::default]"] from CLI options
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Applying attributes from json file
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Platform is ubuntu version 12.04
==> default: [2015-01-26T20:13:07+00:00] INFO: Run List is [recipe[mtsw2e::default]]
==> default: [2015-01-26T20:13:07+00:00] INFO: Run List expands to [mtsw2e::default]
==> default: [2015-01-26T20:13:07+00:00] INFO: Starting Chef Run for precise64
==> default: [2015-01-26T20:13:07+00:00] INFO: Running start handlers
==> default: [2015-01-26T20:13:07+00:00] INFO: Start handlers complete.
==> default: [2015-01-26T20:13:07+00:00] DEBUG: No chefignore file found at /tmp/vagrant-chef-5/chef-solo-1/chefignore no files will be ignored
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Cookbooks to compile: [:apt, :"build-essential", :yum, :python, :runit, :mtsw2e]
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading cookbook runit's library file: /tmp/vagrant-chef-5/chef-solo-1/cookbooks/runit/libraries/default.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading cookbook runit's library file: /tmp/vagrant-chef-5/chef-solo-1/cookbooks/runit/libraries/provider_runit_service.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading cookbook runit's library file: /tmp/vagrant-chef-5/chef-solo-1/cookbooks/runit/libraries/resource_runit_service.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Node precise64 loading cookbook apt's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/attributes/default.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading Attribute apt::default
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Node precise64 loading cookbook build-essential's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/build-essential/attributes/default.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading Attribute build-essential::default
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Node precise64 loading cookbook yum's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/attributes/default.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading Attribute yum::default
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Node precise64 loading cookbook yum's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/attributes/elrepo.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading Attribute yum::elrepo
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Node precise64 loading cookbook yum's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/attributes/epel.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading Attribute yum::epel
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Node precise64 loading cookbook yum's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/attributes/remi.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading Attribute yum::remi
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Node precise64 loading cookbook python's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/python/attributes/default.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading Attribute python::default
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Node precise64 loading cookbook runit's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/runit/attributes/default.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading Attribute runit::default
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading cookbook apt's providers from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/providers/preference.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/providers/preference.rb into a provider named apt_preference defined in Chef::Provider::AptPreference
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading cookbook apt's providers from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/providers/repository.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/providers/repository.rb into a provider named apt_repository defined in Chef::Provider::AptRepository
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading cookbook apt's resources from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/resources/preference.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/resources/preference.rb into a resource named apt_preference defined in Chef::Resource::AptPreference
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading cookbook apt's resources from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/resources/repository.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/resources/repository.rb into a resource named apt_repository defined in Chef::Resource::AptRepository
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading cookbook yum's providers from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/providers/key.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/providers/key.rb into a provider named yum_key defined in Chef::Provider::YumKey
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading cookbook yum's providers from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/providers/repository.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/providers/repository.rb into a provider named yum_repository defined in Chef::Provider::YumRepository
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading cookbook yum's resources from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/resources/key.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/resources/key.rb into a resource named yum_key defined in Chef::Resource::YumKey
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading cookbook yum's resources from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/resources/repository.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/resources/repository.rb into a resource named yum_repository defined in Chef::Resource::YumRepository
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading cookbook python's providers from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/python/providers/pip.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-5/chef-solo-1/cookbooks/python/providers/pip.rb into a provider named python_pip defined in Chef::Provider::PythonPip
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading cookbook python's providers from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/python/providers/virtualenv.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-5/chef-solo-1/cookbooks/python/providers/virtualenv.rb into a provider named python_virtualenv defined in Chef::Provider::PythonVirtualenv
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading cookbook python's resources from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/python/resources/pip.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-5/chef-solo-1/cookbooks/python/resources/pip.rb into a resource named python_pip defined in Chef::Resource::PythonPip
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading cookbook python's resources from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/python/resources/virtualenv.rb
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-5/chef-solo-1/cookbooks/python/resources/virtualenv.rb into a resource named python_virtualenv defined in Chef::Resource::PythonVirtualenv
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading Recipe mtsw2e::default via include_recipe
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Found recipe default in cookbook mtsw2e
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading Recipe apt via include_recipe
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Found recipe default in cookbook apt
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading Recipe runit via include_recipe
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Found recipe default in cookbook runit
==> default: [2015-01-26T20:13:07+00:00] DEBUG: Caught InvalidVersionConstraint. This means that a key in value_for_platform cannot be interpreted as a Chef::VersionConstraint.
==> default: [2015-01-26T20:13:07+00:00] DEBUG: 'default' (Chef::Exceptions::InvalidVersionConstraint)
==> default: /opt/chef/embedded/apps/chef/lib/chef/version_constraint.rb:113:in parse' ==> default: /opt/chef/embedded/apps/chef/lib/chef/version_constraint.rb:36:in
initialize'
==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/platform_introspection.rb:79:in new' ==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/platform_introspection.rb:79:in
block in match_versions'
==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/platform_introspection.rb:77:in each' ==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/platform_introspection.rb:77:in
match_versions'
==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/platform_introspection.rb:54:in value_for_node' ==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/platform_introspection.rb:149:in
value_for_platform'
==> default: /tmp/vagrant-chef-5/chef-solo-1/cookbooks/runit/recipes/default.rb:25:in block in from_file' ==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/recipe.rb:120:in
instance_eval'
==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/recipe.rb:120:in build_resource' ==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/recipe.rb:82:in
declare_resource'
==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/recipe.rb:42:in method_missing' ==> default: /tmp/vagrant-chef-5/chef-solo-1/cookbooks/runit/recipes/default.rb:24:in
from_file'
==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/from_file.rb:30:in instance_eval' ==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/from_file.rb:30:in
from_file'
==> default: /opt/chef/embedded/apps/chef/lib/chef/cookbook_version.rb:245:in load_recipe' ==> default: /opt/chef/embedded/apps/chef/lib/chef/run_context.rb:169:in
load_recipe'
==> default: /opt/chef/embedded/apps/chef/lib/chef/run_context.rb:138:in block in include_recipe' ==> default: /opt/chef/embedded/apps/chef/lib/chef/run_context.rb:137:in
each'
==> default: /opt/chef/embedded/apps/chef/lib/chef/run_context.rb:137:in include_recipe' ==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/include_recipe.rb:26:in
include_recipe'
==> default: /tmp/vagrant-chef-5/chef-solo-1/cookbooks/mtsw2e/recipes/default.rb:3:in from_file' ==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/from_file.rb:30:in
instance_eval'
==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/from_file.rb:30:in from_file' ==> default: /opt/chef/embedded/apps/chef/lib/chef/cookbook_version.rb:245:in
load_recipe'
==> default: /opt/chef/embedded/apps/chef/lib/chef/run_context.rb:169:in load_recipe' ==> default: /opt/chef/embedded/apps/chef/lib/chef/run_context/cookbook_compiler.rb:140:in
block in compile_recipes'
==> default: /opt/chef/embedded/apps/chef/lib/chef/run_context/cookbook_compiler.rb:138:in each' ==> default: /opt/chef/embedded/apps/chef/lib/chef/run_context/cookbook_compiler.rb:138:in
compile_recipes'
==> default: /opt/chef/embedded/apps/chef/lib/chef/run_context/cookbook_compiler.rb:75:in compile' ==> default: /opt/chef/embedded/apps/chef/lib/chef/run_context.rb:92:in
load'
==> default: /opt/chef/embedded/apps/chef/lib/chef/policy_builder/expand_node_object.rb:73:in setup_run_context' ==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:235:in
setup_run_context'
==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:397:in run' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:261:in
block in fork_chef_client'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:249:in fork' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:249:in
fork_chef_client'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:215:in block in run_chef_client' ==> default: /opt/chef/embedded/apps/chef/lib/chef/local_mode.rb:38:in
with_server_connectivity'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:201:in run_chef_client' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:245:in
block in interval_run_chef_client'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:234:in loop' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:234:in
interval_run_chef_client'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:224:in run_application' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:58:in
run'
==> default: /opt/chef/embedded/apps/chef/bin/chef-solo:25:in <top (required)>' ==> default: /usr/bin/chef-solo:40:in
load'
==> default: /usr/bin/chef-solo:40:in <main>' ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Caught InvalidVersionConstraint. This means that a key in value_for_platform cannot be interpreted as a Chef::VersionConstraint. ==> default: [2015-01-26T20:13:07+00:00] DEBUG: 'default' (Chef::Exceptions::InvalidVersionConstraint) ==> default: /opt/chef/embedded/apps/chef/lib/chef/version_constraint.rb:113:in
parse'
==> default: /opt/chef/embedded/apps/chef/lib/chef/version_constraint.rb:36:in initialize' ==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/platform_introspection.rb:79:in
new'
==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/platform_introspection.rb:79:in block in match_versions' ==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/platform_introspection.rb:77:in
each'
==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/platform_introspection.rb:77:in match_versions' ==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/platform_introspection.rb:54:in
value_for_node'
==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/platform_introspection.rb:149:in value_for_platform' ==> default: /tmp/vagrant-chef-5/chef-solo-1/cookbooks/runit/recipes/default.rb:85:in
block in from_file'
==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/recipe.rb:120:in instance_eval' ==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/recipe.rb:120:in
build_resource'
==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/recipe.rb:82:in declare_resource' ==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/recipe.rb:42:in
method_missing'
==> default: /tmp/vagrant-chef-5/chef-solo-1/cookbooks/runit/recipes/default.rb:80:in from_file' ==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/from_file.rb:30:in
instance_eval'
==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/from_file.rb:30:in from_file' ==> default: /opt/chef/embedded/apps/chef/lib/chef/cookbook_version.rb:245:in
load_recipe'
==> default: /opt/chef/embedded/apps/chef/lib/chef/run_context.rb:169:in load_recipe' ==> default: /opt/chef/embedded/apps/chef/lib/chef/run_context.rb:138:in
block in include_recipe'
==> default: /opt/chef/embedded/apps/chef/lib/chef/run_context.rb:137:in each' ==> default: /opt/chef/embedded/apps/chef/lib/chef/run_context.rb:137:in
include_recipe'
==> default: /opt/chef/embedded/apps/chef/lib/chef/dsl/include_recipe.rb:26:in include_recipe' ==> default: /tmp/vagrant-chef-5/chef-solo-1/cookbooks/mtsw2e/recipes/default.rb:3:in
from_file'
==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/from_file.rb:30:in instance_eval' ==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/from_file.rb:30:in
from_file'
==> default: /opt/chef/embedded/apps/chef/lib/chef/cookbook_version.rb:245:in load_recipe' ==> default: /opt/chef/embedded/apps/chef/lib/chef/run_context.rb:169:in
load_recipe'
==> default: /opt/chef/embedded/apps/chef/lib/chef/run_context/cookbook_compiler.rb:140:in block in compile_recipes' ==> default: /opt/chef/embedded/apps/chef/lib/chef/run_context/cookbook_compiler.rb:138:in
each'
==> default: /opt/chef/embedded/apps/chef/lib/chef/run_context/cookbook_compiler.rb:138:in compile_recipes' ==> default: /opt/chef/embedded/apps/chef/lib/chef/run_context/cookbook_compiler.rb:75:in
compile'
==> default: /opt/chef/embedded/apps/chef/lib/chef/run_context.rb:92:in load' ==> default: /opt/chef/embedded/apps/chef/lib/chef/policy_builder/expand_node_object.rb:73:in
setup_run_context'
==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:235:in setup_run_context' ==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:397:in
run'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:261:in block in fork_chef_client' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:249:in
fork'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:249:in fork_chef_client' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:215:in
block in run_chef_client'
==> default: /opt/chef/embedded/apps/chef/lib/chef/local_mode.rb:38:in with_server_connectivity' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:201:in
run_chef_client'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:245:in block in interval_run_chef_client' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:234:in
loop'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:234:in interval_run_chef_client' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:224:in
run_application'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:58:in run' ==> default: /opt/chef/embedded/apps/chef/bin/chef-solo:25:in
<top (required)>'
==> default: /usr/bin/chef-solo:40:in load' ==> default: /usr/bin/chef-solo:40:in
run
on resource 'execute[install-key 7F0CEB10]'
==> default: ================================================================================
==> default:
==> default: Mixlib::ShellOut::ShellCommandFailed
==> default: ------------------------------------
==> default: Expected process to exit with [0], but received '2'
==> default: ---- Begin output of apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 ----
==> default: STDOUT: Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.36LP5GY6kZ --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 7F0CEB10
==> default: gpgkeys: key 7F0CEB10 not found on keyserver
==> default: STDERR: gpg: requesting key 7F0CEB10 from hkp server keyserver.ubuntu.com
==> default: gpg: no valid OpenPGP data found.
==> default: gpg: Total number processed: 0
==> default: ---- End output of apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 ----
==> default: Ran apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 returned 2
==> default:
==> default:
==> default: Resource Declaration:
==> default: ---------------------
==> default: # In /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/providers/repository.rb
==> default:
==> default:
==> default: 28: execute "install-key #{key}" do
==> default: 29: if !node['apt']['key_proxy'].empty?
==> default:
==> default: 30: command "apt-key adv --keyserver-options http-proxy=#{node['apt']['key_proxy']} --keyserver #{keyserver} --recv #{key}"
==> default:
==> default: 31: else
==> default: 32: command "apt-key adv --keyserver #{keyserver} --recv #{key}"
==> default: 33: end
==> default: 34: action :run
==> default:
==> default:
==> default:
==> default: Compiled Resource:
==> default: ------------------
==> default: # Declared in /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/providers/repository.rb:28:in install_key_from_keyserver' ==> default: ==> default: execute("install-key 7F0CEB10") do ==> default: ==> default: action [:run] ==> default: ==> default: retries 0 ==> default: retry_delay 2 ==> default: default_guard_interpreter :execute ==> default: command "apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10" ==> default: backup 5 ==> default: returns 0 ==> default: declared_type :execute ==> default: ==> default: cookbook_name :mtsw2e ==> default: not_if { #code block } ==> default: end ==> default: ==> default: ==> default: [2015-01-26T20:13:16+00:00] INFO: Running queued delayed notifications before re-raising exception ==> default: ==> default: ================================================================================ ==> default: Error executing action
addon resource 'apt_repository[mongodb-10gen]' ==> default: ================================================================================ ==> default: ==> default: Mixlib::ShellOut::ShellCommandFailed ==> default: ------------------------------------ ==> default: execute[install-key 7F0CEB10] (/tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/providers/repository.rb line 28) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2' ==> default: ---- Begin output of apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 ---- ==> default: STDOUT: Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.36LP5GY6kZ --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 7F0CEB10 ==> default: gpgkeys: key 7F0CEB10 not found on keyserver ==> default: STDERR: gpg: requesting key 7F0CEB10 from hkp server keyserver.ubuntu.com ==> default: gpg: no valid OpenPGP data found. ==> default: ==> default: gpg: Total number processed: 0 ==> default: ==> default: ---- End output of apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 ---- ==> default: ==> default: Ran apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 returned 2 ==> default: ==> default: Resource Declaration: ==> default: --------------------- ==> default: # In /tmp/vagrant-chef-5/chef-solo-1/cookbooks/mtsw2e/recipes/default.rb ==> default: ==> default: 6: apt_repository "mongodb-10gen" do ==> default: 7: uri "http://downloads-distro.mongodb.org/repo/ubuntu-upstart" ==> default: ==> default: 8: distribution "dist" ==> default: ==> default: 9: components ["10gen"] ==> default: ==> default: 10: keyserver "keyserver.ubuntu.com" ==> default: 11: key "7F0CEB10" ==> default: 12: action :add ==> default: 13: end ==> default: 14: ==> default: ==> default: ==> default: Compiled Resource: ==> default: ------------------ ==> default: # Declared in /tmp/vagrant-chef-5/chef-solo-1/cookbooks/mtsw2e/recipes/default.rb:6:in
from_file'
==> default:
==> default:
==> default: apt_repository("mongodb-10gen") do
==> default: action [:add]
==> default: retries 0
==> default: retry_delay 2
==> default:
==> default: default_guard_interpreter :default
==> default:
==> default: declared_type :apt_repository
==> default: cookbook_name :mtsw2e
==> default: recipe_name "default"
==> default: uri "http://downloads-distro.mongodb.org/repo/ubuntu-upstart"
==> default: distribution "dist"
==> default: components ["10gen"]
==> default:
==> default: keyserver "keyserver.ubuntu.com"
==> default: key "7F0CEB10"
==> default: cache_rebuild true
==> default: end
==> default:
==> default:
==> default: [2015-01-26T20:13:16+00:00] INFO: Running queued delayed notifications before re-raising exception
==> default: [2015-01-26T20:13:16+00:00] DEBUG: Re-raising exception: Mixlib::ShellOut::ShellCommandFailed - apt_repository[mongodb-10gen](mtsw2e::default line 6) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[install-key 7F0CEB10](/tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/providers/repository.rb line 28) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2'
==> default: ---- Begin output of apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 ----
==> default: STDOUT: Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.36LP5GY6kZ --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 7F0CEB10
==> default: gpgkeys: key 7F0CEB10 not found on keyserver
==> default: STDERR: gpg: requesting key 7F0CEB10 from hkp server keyserver.ubuntu.com
==> default: gpg: no valid OpenPGP data found.
==> default: gpg: Total number processed: 0
==> default: ---- End output of apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 ----
==> default: Ran apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 returned 2
==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.0.0/lib/mixlib/shellout.rb:267:in invalid!' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.0.0/lib/mixlib/shellout.rb:254:in
error!'
==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/shell_out.rb:50:in shell_out!' ==> default: /opt/chef/embedded/apps/chef/lib/chef/provider/execute.rb:60:in
block in action_run'
==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in call' ==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in
add_action'
==> default: /opt/chef/embedded/apps/chef/lib/chef/provider.rb:180:in converge_by' ==> default: /opt/chef/embedded/apps/chef/lib/chef/provider/execute.rb:59:in
action_run'
==> default: /opt/chef/embedded/apps/chef/lib/chef/provider.rb:145:in run_action' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource.rb:582:in
run_action'
==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:49:in run_action' ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in
block (2 levels) in converge'
==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in each' ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in
block in converge'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:83:in block in execute_each_resource' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in
call'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in call_iterator_block' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:85:in
step'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:104:in iterate' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:55:in
each_with_index'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:81:in execute_each_resource' ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:80:in
converge'
==> default: /opt/chef/embedded/apps/chef/lib/chef/provider/lwrp_base.rb:61:in recipe_eval_with_update_check' ==> default: /opt/chef/embedded/apps/chef/lib/chef/provider/lwrp_base.rb:45:in
block in action'
==> default: /opt/chef/embedded/apps/chef/lib/chef/provider.rb:145:in run_action' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource.rb:582:in
run_action'
==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:49:in run_action' ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in
block (2 levels) in converge'
==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in each' ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in
block in converge'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:83:in block in execute_each_resource' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in
call'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in call_iterator_block' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:85:in
step'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:104:in iterate' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:55:in
each_with_index'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:81:in execute_each_resource' ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:80:in
converge'
==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:315:in converge' ==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:400:in
block in run'
==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:399:in catch' ==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:399:in
run'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:261:in block in fork_chef_client' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:249:in
fork'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:249:in fork_chef_client' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:215:in
block in run_chef_client'
==> default: /opt/chef/embedded/apps/chef/lib/chef/local_mode.rb:38:in with_server_connectivity' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:201:in
run_chef_client'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:245:in block in interval_run_chef_client' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:234:in
loop'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:234:in interval_run_chef_client' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:224:in
run_application'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:58:in run' ==> default: /opt/chef/embedded/apps/chef/bin/chef-solo:25:in
<top (required)>'
==> default: /usr/bin/chef-solo:40:in load' ==> default: /usr/bin/chef-solo:40:in
invalid!' ==> default: /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.0.0/lib/mixlib/shellout.rb:254:in
error!'
==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/shell_out.rb:50:in shell_out!' ==> default: /opt/chef/embedded/apps/chef/lib/chef/provider/execute.rb:60:in
block in action_run'
==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in call' ==> default: /opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in
add_action'
==> default: /opt/chef/embedded/apps/chef/lib/chef/provider.rb:180:in converge_by' ==> default: /opt/chef/embedded/apps/chef/lib/chef/provider/execute.rb:59:in
action_run'
==> default: /opt/chef/embedded/apps/chef/lib/chef/provider.rb:145:in run_action' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource.rb:582:in
run_action'
==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:49:in run_action' ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in
block (2 levels) in converge'
==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in each' ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in
block in converge'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:83:in block in execute_each_resource' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in
call'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in call_iterator_block' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:85:in
step'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:104:in iterate' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:55:in
each_with_index'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:81:in execute_each_resource' ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:80:in
converge'
==> default: /opt/chef/embedded/apps/chef/lib/chef/provider/lwrp_base.rb:61:in recipe_eval_with_update_check' ==> default: /opt/chef/embedded/apps/chef/lib/chef/provider/lwrp_base.rb:45:in
block in action'
==> default: /opt/chef/embedded/apps/chef/lib/chef/provider.rb:145:in run_action' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource.rb:582:in
run_action'
==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:49:in run_action' ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in
block (2 levels) in converge'
==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in each' ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in
block in converge'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:83:in block in execute_each_resource' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in
call'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in call_iterator_block' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:85:in
step'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:104:in iterate' ==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:55:in
each_with_index'
==> default: /opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:81:in execute_each_resource' ==> default: /opt/chef/embedded/apps/chef/lib/chef/runner.rb:80:in
converge'
==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:315:in converge' ==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:400:in
block in run'
==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:399:in catch' ==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:399:in
run'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:261:in block in fork_chef_client' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:249:in
fork'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:249:in fork_chef_client' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:215:in
block in run_chef_client'
==> default: /opt/chef/embedded/apps/chef/lib/chef/local_mode.rb:38:in with_server_connectivity' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:201:in
run_chef_client'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:245:in block in interval_run_chef_client' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:234:in
loop'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:234:in interval_run_chef_client' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:224:in
run_application'
==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:58:in run' ==> default: /opt/chef/embedded/apps/chef/bin/chef-solo:25:in
<top (required)>'
==> default: /usr/bin/chef-solo:40:in load' ==> default: /usr/bin/chef-solo:40:in
@csand1 Did you also run "vagrant reload --provision" after setting up the two links?
yes I did reload and also tried vagrant up and then vagrant provision and still getting the error. I managed to get 1.7.1 on a windows machine but this is driving me crazy as I want to get this working on my mac since it is my primary machine.
I finally got past the /bin/python issue ( #243 ) but a new one has now cropped up.
Config: Windows 7, VirtualBox 4.3.20, Vagrant 1.7.1
vagrant ssh
sudo ln -s /usr/bin/python /bin/python
exit
vagrant reload
vagrant provision
==> default: /usr/bin/chef-solo:40:in load' ==> default: /usr/bin/chef-solo:40:in
Now I am seeing a gpg error message. Any new information would be helpful.