ptwobrussell / Mining-the-Social-Web-2nd-Edition

The official online compendium for Mining the Social Web, 2nd Edition (O'Reilly, 2013)
http://bit.ly/135dHfs
Other
2.9k stars 1.49k forks source link

Issue installing the VM on Mac OSX 10.9.5 Mavericks #248

Open ncrockett opened 9 years ago

ncrockett commented 9 years ago

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:ininvalid!' ==> 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:inshell_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:incall' ==> 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:inconverge_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:inrun_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:inrun_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:ineach' ==> 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:inblock 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:incall_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:initerate' ==> 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:inexecute_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:inconverge' ==> 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:incatch' ==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:399:in run' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:261:inblock 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:infork_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:inwith_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:inblock 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:ininterval_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:inrun' ==> default: /opt/chef/embedded/apps/chef/bin/chef-solo:25:in <top (required)>' ==> default: /usr/bin/chef-solo:40:inload' ==> 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:ininvalid!' ==> 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:inshell_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:incall' ==> 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:inconverge_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:inrun_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:inrun_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:ineach' ==> 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:inblock 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:incall_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:initerate' ==> 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:inexecute_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:inconverge' ==> 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:incatch' ==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:399:in run' ==> default: /opt/chef/embedded/apps/chef/lib/chef/application.rb:261:inblock 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:infork_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:inwith_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:inblock 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:ininterval_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:inrun' ==> default: /opt/chef/embedded/apps/chef/bin/chef-solo:25:in <top (required)>' ==> default: /usr/bin/chef-solo:40:inload' ==> default: /usr/bin/chef-solo:40:in `

' ==> default: [2015-01-12T20:19:00+00:00] ERROR: 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: [2015-01-12T20:19:00+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.

FrugalBoy commented 9 years ago

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

ncrockett commented 9 years ago

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?

csand1 commented 9 years ago

I am having the same error. I have done just about everything and any help in getting this fixed would be great

bIgBV commented 9 years ago

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.
s8 commented 9 years ago

+1 similar problem. #243 doesn't solve it.

s8 commented 9 years ago

everything worked perfectly smooth (with the addition of #243 correction) once I installed it on my Desktop instead of Documents folder

dan-king commented 9 years ago

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

dan-king commented 9 years ago

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

csand1 commented 9 years ago

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:ininitialize' ==> 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:inblock 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:inmatch_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:invalue_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:ininstance_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:indeclare_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:infrom_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:infrom_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:inload_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:ineach' ==> 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:ininclude_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:ininstance_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:inload_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:inblock 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:incompile_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:inload' ==> 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:insetup_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:inblock 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:infork_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:inwith_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:inblock 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:ininterval_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:inrun' ==> default: /opt/chef/embedded/apps/chef/bin/chef-solo:25:in <top (required)>' ==> default: /usr/bin/chef-solo:40:inload' ==> 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:inparse' ==> 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:innew' ==> 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:ineach' ==> 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:invalue_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:inblock 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:inbuild_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:inmethod_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:ininstance_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:inload_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:inblock 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:ininclude_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:infrom_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:infrom_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:inload_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:ineach' ==> 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:incompile' ==> 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:insetup_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:inrun' ==> 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:infork' ==> 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:inblock 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:inrun_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:inloop' ==> 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:inrun_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

' ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading Recipe python via include_recipe ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Found recipe default in cookbook python ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading Recipe python::package via include_recipe ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Found recipe package in cookbook python ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading Recipe python::pip via include_recipe ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Found recipe pip in cookbook python ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading Recipe python::virtualenv via include_recipe ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Found recipe virtualenv in cookbook python ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading Recipe python::pip via include_recipe ==> default: [2015-01-26T20:13:07+00:00] DEBUG: I am not loading python::pip, because I have already seen it. ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Loading from cookbook_path: /tmp/vagrant-chef-5/chef-solo-1/cookbooks ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Converging node precise64 ==> default: [2015-01-26T20:13:07+00:00] INFO: Processing execute[apt-get-update] action run (apt::default line 22) ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Skipping execute[apt-get-update] due to not_if ruby block ==> default: [2015-01-26T20:13:07+00:00] INFO: Processing execute[apt-get update] action nothing (apt::default line 29) ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Skipping execute[apt-get update] due to action :nothing ==> default: [2015-01-26T20:13:07+00:00] INFO: Processing execute[apt-get autoremove] action nothing (apt::default line 36) ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Skipping execute[apt-get autoremove] due to action :nothing ==> default: [2015-01-26T20:13:07+00:00] INFO: Processing execute[apt-get autoclean] action nothing (apt::default line 42) ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Skipping execute[apt-get autoclean] due to action :nothing ==> default: [2015-01-26T20:13:07+00:00] INFO: Processing apt_package[update-notifier-common] action install (apt::default line 48) ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers for generic apt_package resource enabled on node include: [Chef::Provider::Package::Apt] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers that refused resource apt_package[update-notifier-common] were: [] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers that support resource apt_package[update-notifier-common] include: [Chef::Provider::Package::Apt] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers that survived replacement include: [Chef::Provider::Package::Apt] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: apt_package[update-notifier-common] checking package status for update-notifier-common ==> default: [2015-01-26T20:13:07+00:00] DEBUG: apt_package[update-notifier-common] current version is 0.119ubuntu8.7 ==> default: [2015-01-26T20:13:07+00:00] DEBUG: apt_package[update-notifier-common] candidate version is 0.119ubuntu8.7 ==> default: [2015-01-26T20:13:07+00:00] DEBUG: apt_package[update-notifier-common] is already installed - nothing to do ==> default: [2015-01-26T20:13:07+00:00] INFO: Processing execute[apt-get-update-periodic] action run (apt::default line 52) ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Skipping execute[apt-get-update-periodic] due to only_if ruby block ==> default: [2015-01-26T20:13:07+00:00] INFO: Processing directory[/var/cache/local] action create (apt::default line 62) ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers for generic directory resource enabled on node include: [Chef::Provider::Directory] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers that refused resource directory[/var/cache/local] were: [] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers that support resource directory[/var/cache/local] include: [Chef::Provider::Directory] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers that survived replacement include: [Chef::Provider::Directory] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: found target_mode == current_mode, not updating mode ==> default: [2015-01-26T20:13:07+00:00] DEBUG: found target_uid == current_uid, not updating owner ==> default: [2015-01-26T20:13:07+00:00] DEBUG: found target_gid == current_gid, not updating group ==> default: [2015-01-26T20:13:07+00:00] INFO: Processing directory[/var/cache/local/preseeding] action create (apt::default line 62) ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers for generic directory resource enabled on node include: [Chef::Provider::Directory] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers that refused resource directory[/var/cache/local/preseeding] were: [] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers that support resource directory[/var/cache/local/preseeding] include: [Chef::Provider::Directory] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers that survived replacement include: [Chef::Provider::Directory] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: found target_mode == current_mode, not updating mode ==> default: [2015-01-26T20:13:07+00:00] DEBUG: found target_uid == current_uid, not updating owner ==> default: [2015-01-26T20:13:07+00:00] DEBUG: found target_gid == current_gid, not updating group ==> default: [2015-01-26T20:13:07+00:00] INFO: Processing service[runit] action nothing (runit::default line 20) ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Skipping service[runit] due to action :nothing ==> default: [2015-01-26T20:13:07+00:00] INFO: Processing execute[start-runsvdir] action nothing (runit::default line 24) ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Skipping execute[start-runsvdir] due to action :nothing ==> default: [2015-01-26T20:13:07+00:00] INFO: Processing execute[runit-hup-init] action nothing (runit::default line 33) ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Skipping execute[runit-hup-init] due to action :nothing ==> default: [2015-01-26T20:13:07+00:00] INFO: Processing apt_package[runit] action install (runit::default line 80) ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers for generic apt_package resource enabled on node include: [Chef::Provider::Package::Apt] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers that refused resource apt_package[runit] were: [] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers that support resource apt_package[runit] include: [Chef::Provider::Package::Apt] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers that survived replacement include: [Chef::Provider::Package::Apt] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: apt_package[runit] checking package status for runit ==> default: [2015-01-26T20:13:07+00:00] DEBUG: apt_package[runit] current version is 2.1.1-6.2ubuntu2.1 ==> default: [2015-01-26T20:13:07+00:00] DEBUG: apt_package[runit] candidate version is 2.1.1-6.2ubuntu2.1 ==> default: [2015-01-26T20:13:07+00:00] DEBUG: apt_package[runit] is already installed - nothing to do ==> default: [2015-01-26T20:13:07+00:00] INFO: Processing apt_package[python] action install (python::package line 40) ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers for generic apt_package resource enabled on node include: [Chef::Provider::Package::Apt] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers that refused resource apt_package[python] were: [] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers that support resource apt_package[python] include: [Chef::Provider::Package::Apt] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers that survived replacement include: [Chef::Provider::Package::Apt] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: apt_package[python] checking package status for python ==> default: [2015-01-26T20:13:07+00:00] DEBUG: apt_package[python] current version is 2.7.3-0ubuntu2.2 ==> default: [2015-01-26T20:13:07+00:00] DEBUG: apt_package[python] candidate version is 2.7.3-0ubuntu2.2 ==> default: [2015-01-26T20:13:07+00:00] DEBUG: apt_package[python] is already installed - nothing to do ==> default: [2015-01-26T20:13:07+00:00] INFO: Processing apt_package[python-dev] action install (python::package line 40) ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers for generic apt_package resource enabled on node include: [Chef::Provider::Package::Apt] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers that refused resource apt_package[python-dev] were: [] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers that support resource apt_package[python-dev] include: [Chef::Provider::Package::Apt] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: providers that survived replacement include: [Chef::Provider::Package::Apt] ==> default: [2015-01-26T20:13:07+00:00] DEBUG: apt_package[python-dev] checking package status for python-dev ==> default: [2015-01-26T20:13:07+00:00] DEBUG: apt_package[python-dev] current version is 2.7.3-0ubuntu2.2 ==> default: [2015-01-26T20:13:07+00:00] DEBUG: apt_package[python-dev] candidate version is 2.7.3-0ubuntu2.2 ==> default: [2015-01-26T20:13:07+00:00] DEBUG: apt_package[python-dev] is already installed - nothing to do ==> default: [2015-01-26T20:13:07+00:00] INFO: Processing remote_file[/var/chef/cache/ez_setup.py] action create (python::pip line 36) ==> default: [2015-01-26T20:13:07+00:00] DEBUG: remote_file[/var/chef/cache/ez_setup.py] checksumming file at /var/chef/cache/ez_setup.py. ==> default: [2015-01-26T20:13:07+00:00] DEBUG: remote_file[/var/chef/cache/ez_setup.py] checking for changes ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Cache control headers: {"if-modified-since"=>"Mon, 26 Jan 2015 20:11:29 GMT"} ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Initiating GET to https://bitbucket.org/pypa/setuptools/raw/0.8/ez_setup.py ==> default: [2015-01-26T20:13:07+00:00] DEBUG: ---- HTTP Request Header Data: ---- ==> default: [2015-01-26T20:13:07+00:00] DEBUG: if-modified-since: Mon, 26 Jan 2015 20:11:29 GMT ==> default: [2015-01-26T20:13:07+00:00] DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 ==> default: [2015-01-26T20:13:07+00:00] DEBUG: ---- End HTTP Request Header Data ---- ==> default: [2015-01-26T20:13:08+00:00] DEBUG: ---- HTTP Status and Header Data: ---- ==> default: [2015-01-26T20:13:08+00:00] DEBUG: HTTP 1.1 304 NOT MODIFIED ==> default: [2015-01-26T20:13:08+00:00] DEBUG: server: nginx/1.5.10 ==> default: [2015-01-26T20:13:08+00:00] DEBUG: date: Mon, 26 Jan 2015 20:13:10 GMT ==> default: [2015-01-26T20:13:08+00:00] DEBUG: content-length: 0 ==> default: [2015-01-26T20:13:08+00:00] DEBUG: connection: close ==> default: [2015-01-26T20:13:08+00:00] DEBUG: vary: Accept-Language, Cookie ==> default: [2015-01-26T20:13:08+00:00] DEBUG: x-render-time: 0.0252089500427 ==> default: [2015-01-26T20:13:08+00:00] DEBUG: content-language: en ==> default: [2015-01-26T20:13:08+00:00] DEBUG: etag: "312b8224a3dc69d12de67e690fc251c7" ==> default: [2015-01-26T20:13:08+00:00] DEBUG: x-request-count: 385 ==> default: [2015-01-26T20:13:08+00:00] DEBUG: x-served-by: app17 ==> default: [2015-01-26T20:13:08+00:00] DEBUG: x-frame-options: SAMEORIGIN ==> default: [2015-01-26T20:13:08+00:00] DEBUG: last-modified: Mon, 26 Jan 2015 13:44:41 GMT ==> default: [2015-01-26T20:13:08+00:00] DEBUG: x-version: 46236d93fec5 ==> default: [2015-01-26T20:13:08+00:00] DEBUG: x-static-version: dfe627631238 ==> default: [2015-01-26T20:13:08+00:00] DEBUG: strict-transport-security: max-age=31536000 ==> default: [2015-01-26T20:13:08+00:00] DEBUG: x-content-type-options: nosniff ==> default: [2015-01-26T20:13:08+00:00] DEBUG: ---- End HTTP Status/Header Data ---- ==> default: [2015-01-26T20:13:08+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete ==> default: [2015-01-26T20:13:08+00:00] DEBUG: No content-length information collected for the streamed download, cannot identify streamed download. ==> default: [2015-01-26T20:13:08+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete ==> default: [2015-01-26T20:13:08+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete ==> default: [2015-01-26T20:13:08+00:00] DEBUG: found target_mode == current_mode, not updating mode ==> default: [2015-01-26T20:13:08+00:00] DEBUG: found target_uid == nil, so no owner was specified on resource, not managing owner ==> default: [2015-01-26T20:13:08+00:00] DEBUG: found target_gid == nil, so no group was specified on resource, not managing group ==> default: [2015-01-26T20:13:08+00:00] INFO: Processing remote_file[/var/chef/cache/get-pip.py] action create (python::pip line 42) ==> default: [2015-01-26T20:13:08+00:00] DEBUG: remote_file[/var/chef/cache/get-pip.py] checksumming file at /var/chef/cache/get-pip.py. ==> default: [2015-01-26T20:13:08+00:00] DEBUG: remote_file[/var/chef/cache/get-pip.py] checking for changes ==> default: [2015-01-26T20:13:08+00:00] DEBUG: Cache control headers: {"if-modified-since"=>"Mon, 26 Jan 2015 20:11:30 GMT", "if-none-match"=>"\"9b45a7737a204f3255bc32d7bc3a125cc08c80dc\""} ==> default: [2015-01-26T20:13:08+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request ==> default: [2015-01-26T20:13:08+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request ==> default: [2015-01-26T20:13:08+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request ==> default: [2015-01-26T20:13:08+00:00] DEBUG: Initiating GET to https://raw.github.com/pypa/pip/master/contrib/get-pip.py ==> default: [2015-01-26T20:13:08+00:00] DEBUG: ---- HTTP Request Header Data: ---- ==> default: [2015-01-26T20:13:08+00:00] DEBUG: if-modified-since: Mon, 26 Jan 2015 20:11:30 GMT ==> default: [2015-01-26T20:13:08+00:00] DEBUG: if-none-match: "9b45a7737a204f3255bc32d7bc3a125cc08c80dc" ==> default: [2015-01-26T20:13:08+00:00] DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 ==> default: [2015-01-26T20:13:08+00:00] DEBUG: ---- End HTTP Request Header Data ---- ==> default: [2015-01-26T20:13:08+00:00] DEBUG: ---- HTTP Status and Header Data: ---- ==> default: [2015-01-26T20:13:08+00:00] DEBUG: HTTP 1.1 301 Moved Permanently ==> default: [2015-01-26T20:13:08+00:00] DEBUG: date: Mon, 26 Jan 2015 20:13:10 GMT ==> default: [2015-01-26T20:13:08+00:00] DEBUG: server: Apache ==> default: [2015-01-26T20:13:08+00:00] DEBUG: location: https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py ==> default: [2015-01-26T20:13:08+00:00] DEBUG: content-length: 0 ==> default: [2015-01-26T20:13:08+00:00] DEBUG: accept-ranges: bytes ==> default: [2015-01-26T20:13:08+00:00] DEBUG: via: 1.1 varnish ==> default: [2015-01-26T20:13:08+00:00] DEBUG: age: 0 ==> default: [2015-01-26T20:13:08+00:00] DEBUG: x-served-by: cache-dfw1825-DFW ==> default: [2015-01-26T20:13:08+00:00] DEBUG: x-cache: MISS ==> default: [2015-01-26T20:13:08+00:00] DEBUG: x-cache-hits: 0 ==> default: [2015-01-26T20:13:08+00:00] DEBUG: vary: Accept-Encoding ==> default: [2015-01-26T20:13:08+00:00] DEBUG: connection: close ==> default: [2015-01-26T20:13:08+00:00] DEBUG: ---- End HTTP Status/Header Data ---- ==> default: [2015-01-26T20:13:08+00:00] DEBUG: ---- HTTP Response Body ---- ==> default: [2015-01-26T20:13:08+00:00] DEBUG: ==> default: [2015-01-26T20:13:08+00:00] DEBUG: ---- End HTTP Response Body ----- ==> default: [2015-01-26T20:13:08+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete ==> default: [2015-01-26T20:13:08+00:00] DEBUG: No content-length information collected for the streamed download, cannot identify streamed download. ==> default: [2015-01-26T20:13:08+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete ==> default: [2015-01-26T20:13:08+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete ==> default: [2015-01-26T20:13:08+00:00] DEBUG: Following redirect 1/10 ==> default: [2015-01-26T20:13:08+00:00] DEBUG: Initiating GET to https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py ==> default: [2015-01-26T20:13:08+00:00] DEBUG: ---- HTTP Request Header Data: ---- ==> default: [2015-01-26T20:13:08+00:00] DEBUG: if-modified-since: Mon, 26 Jan 2015 20:11:30 GMT ==> default: [2015-01-26T20:13:08+00:00] DEBUG: if-none-match: "9b45a7737a204f3255bc32d7bc3a125cc08c80dc" ==> default: [2015-01-26T20:13:08+00:00] DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 ==> default: [2015-01-26T20:13:08+00:00] DEBUG: ---- End HTTP Request Header Data ---- ==> default: [2015-01-26T20:13:08+00:00] DEBUG: ---- HTTP Status and Header Data: ---- ==> default: [2015-01-26T20:13:08+00:00] DEBUG: HTTP 1.1 304 Not Modified ==> default: [2015-01-26T20:13:08+00:00] DEBUG: date: Mon, 26 Jan 2015 20:13:10 GMT ==> default: [2015-01-26T20:13:08+00:00] DEBUG: server: Apache ==> default: [2015-01-26T20:13:08+00:00] DEBUG: via: 1.1 varnish ==> default: [2015-01-26T20:13:08+00:00] DEBUG: last-modified: Mon, 26 Jan 2015 20:11:29 GMT ==> default: [2015-01-26T20:13:08+00:00] DEBUG: cache-control: max-age=300 ==> default: [2015-01-26T20:13:08+00:00] DEBUG: etag: "9b45a7737a204f3255bc32d7bc3a125cc08c80dc" ==> default: [2015-01-26T20:13:08+00:00] DEBUG: x-served-by: cache-dfw1830-DFW ==> default: [2015-01-26T20:13:08+00:00] DEBUG: x-cache: HIT ==> default: [2015-01-26T20:13:08+00:00] DEBUG: x-cache-hits: 1 ==> default: [2015-01-26T20:13:08+00:00] DEBUG: vary: Authorization,Accept-Encoding ==> default: [2015-01-26T20:13:08+00:00] DEBUG: expires: Mon, 26 Jan 2015 20:18:10 GMT ==> default: [2015-01-26T20:13:08+00:00] DEBUG: source-age: 101 ==> default: [2015-01-26T20:13:08+00:00] DEBUG: content-length: 0 ==> default: [2015-01-26T20:13:08+00:00] DEBUG: connection: close ==> default: [2015-01-26T20:13:08+00:00] DEBUG: ---- End HTTP Status/Header Data ---- ==> default: [2015-01-26T20:13:08+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete ==> default: [2015-01-26T20:13:08+00:00] DEBUG: No content-length information collected for the streamed download, cannot identify streamed download. ==> default: [2015-01-26T20:13:08+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete ==> default: [2015-01-26T20:13:08+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete ==> default: [2015-01-26T20:13:08+00:00] DEBUG: found target_mode == current_mode, not updating mode ==> default: [2015-01-26T20:13:08+00:00] DEBUG: found target_uid == nil, so no owner was specified on resource, not managing owner ==> default: [2015-01-26T20:13:08+00:00] DEBUG: found target_gid == nil, so no group was specified on resource, not managing group ==> default: [2015-01-26T20:13:08+00:00] INFO: Processing execute[install-setuptools] action run (python::pip line 48) ==> default: [2015-01-26T20:13:08+00:00] INFO: Processing execute[Guard resource] action run (dynamically defined) ==> default: [2015-01-26T20:13:08+00:00] DEBUG: providers for generic execute resource enabled on node include: [Chef::Provider::Execute] ==> default: [2015-01-26T20:13:08+00:00] DEBUG: providers that refused resource execute[Guard resource] were: [] ==> default: [2015-01-26T20:13:08+00:00] DEBUG: providers that support resource execute[Guard resource] include: [Chef::Provider::Execute] ==> default: [2015-01-26T20:13:08+00:00] DEBUG: providers that survived replacement include: [Chef::Provider::Execute] ==> default: [2015-01-26T20:13:08+00:00] DEBUG: providers for generic execute resource enabled on node include: [Chef::Provider::Execute] ==> default: [2015-01-26T20:13:08+00:00] DEBUG: providers that refused resource execute[install-setuptools] were: [] ==> default: [2015-01-26T20:13:08+00:00] DEBUG: providers that support resource execute[install-setuptools] include: [Chef::Provider::Execute] ==> default: [2015-01-26T20:13:08+00:00] DEBUG: providers that survived replacement include: [Chef::Provider::Execute] ==> default: [2015-01-26T20:13:10+00:00] INFO: execute[install-setuptools] ran successfully ==> default: [2015-01-26T20:13:10+00:00] INFO: Processing execute[install-pip] action run (python::pip line 56) ==> default: [2015-01-26T20:13:10+00:00] DEBUG: providers for generic execute resource enabled on node include: [Chef::Provider::Execute] ==> default: [2015-01-26T20:13:10+00:00] DEBUG: providers that refused resource execute[install-pip] were: [] ==> default: [2015-01-26T20:13:10+00:00] DEBUG: providers that support resource execute[install-pip] include: [Chef::Provider::Execute] ==> default: [2015-01-26T20:13:10+00:00] DEBUG: providers that survived replacement include: [Chef::Provider::Execute] ==> default: [2015-01-26T20:13:13+00:00] INFO: execute[install-pip] ran successfully ==> default: [2015-01-26T20:13:13+00:00] INFO: Processing python_pip[virtualenv] action install (python::virtualenv line 23) ==> default: [2015-01-26T20:13:13+00:00] DEBUG: providers for generic python_pip resource enabled on node include: [] ==> default: [2015-01-26T20:13:13+00:00] DEBUG: providers that refused resource python_pip[virtualenv] were: [] ==> default: [2015-01-26T20:13:13+00:00] DEBUG: providers that support resource python_pip[virtualenv] include: [] ==> default: [2015-01-26T20:13:13+00:00] DEBUG: no providers supported the resource, falling back to enabled handlers ==> default: [2015-01-26T20:13:13+00:00] DEBUG: providers that survived replacement include: [] ==> default: [2015-01-26T20:13:13+00:00] DEBUG: dynamic provider resolver FAILED to resolve a provider ==> default: [2015-01-26T20:13:13+00:00] DEBUG: Platform ubuntu version 12.04 found ==> default: [2015-01-26T20:13:14+00:00] INFO: Installing python_pip[virtualenv] version latest ==> default: [2015-01-26T20:13:15+00:00] INFO: Processing apt_repository[mongodb-10gen] action add (mtsw2e::default line 6) ==> default: [2015-01-26T20:13:15+00:00] DEBUG: providers for generic apt_repository resource enabled on node include: [] ==> default: [2015-01-26T20:13:15+00:00] DEBUG: providers that refused resource apt_repository[mongodb-10gen] were: [] ==> default: [2015-01-26T20:13:15+00:00] DEBUG: providers that support resource apt_repository[mongodb-10gen] include: [] ==> default: [2015-01-26T20:13:15+00:00] DEBUG: no providers supported the resource, falling back to enabled handlers ==> default: [2015-01-26T20:13:15+00:00] DEBUG: providers that survived replacement include: [] ==> default: [2015-01-26T20:13:15+00:00] DEBUG: dynamic provider resolver FAILED to resolve a provider ==> default: [2015-01-26T20:13:15+00:00] DEBUG: Platform ubuntu version 12.04 found ==> default: [2015-01-26T20:13:15+00:00] INFO: Processing execute[install-key 7F0CEB10] action run (/tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/providers/repository.rb line 28) ==> default: [2015-01-26T20:13:15+00:00] DEBUG: providers for generic execute resource enabled on node include: [Chef::Provider::Execute] ==> default: [2015-01-26T20:13:15+00:00] DEBUG: providers that refused resource execute[install-key 7F0CEB10] were: [] ==> default: [2015-01-26T20:13:15+00:00] DEBUG: providers that support resource execute[install-key 7F0CEB10] include: [Chef::Provider::Execute] ==> default: [2015-01-26T20:13:15+00:00] DEBUG: providers that survived replacement include: [Chef::Provider::Execute] ==> default: ==> default: ================================================================================ ==> default: Error executing action 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 actionaddon 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:infrom_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:inerror!' ==> 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:inblock 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:inadd_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:inaction_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:inrun_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:inblock (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:inblock 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:incall' ==> 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:instep' ==> 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:ineach_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:inconverge' ==> 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:inblock 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:inrun_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:inblock (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:inblock 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:incall' ==> 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:instep' ==> 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:ineach_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:inconverge' ==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:315:in converge' ==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:400:inblock 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:inrun' ==> 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:infork' ==> 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:inblock 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:inrun_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:inloop' ==> 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:inrun_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
' ==> default: [2015-01-26T20:13:16+00:00] ERROR: Running exception handlers ==> default: [2015-01-26T20:13:16+00:00] ERROR: Exception handlers complete ==> default: [2015-01-26T20:13:16+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out ==> default: [2015-01-26T20:13:16+00:00] DEBUG: 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:inerror!' ==> 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:inblock 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:inadd_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:inaction_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:inrun_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:inblock (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:inblock 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:incall' ==> 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:instep' ==> 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:ineach_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:inconverge' ==> 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:inblock 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:inrun_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:inblock (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:inblock 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:incall' ==> 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:instep' ==> 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:ineach_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:inconverge' ==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:315:in converge' ==> default: /opt/chef/embedded/apps/chef/lib/chef/client.rb:400:inblock 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:inrun' ==> 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:infork' ==> 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:inblock 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:inrun_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:inloop' ==> 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:inrun_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
' ==> default: [2015-01-26T20:13:16+00:00] ERROR: 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: [2015-01-26T20:13:16+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.

dan-king commented 9 years ago

@csand1 Did you also run "vagrant reload --provision" after setting up the two links?

csand1 commented 9 years ago

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.

mikekoliha commented 9 years ago

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

' ==> default: [2015-01-28T22:56:05+00:00] ERROR: 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.J5DDUIXc3Q --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 7F0CEB10 ==> default: STDERR: gpg: requesting key 7F0CEB10 from hkp server keyserver.ubuntu.com ==> default: gpg: keyserver timed out ==> default: gpg: keyserver receive failed: keyserver error ==> 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: [2015-01-28T22:56:05+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.

Now I am seeing a gpg error message. Any new information would be helpful.