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

Chef never successfully completed! Any errors should be visible in the output above. #204

Open MyaThandar opened 10 years ago

MyaThandar commented 10 years ago

Chef never successfully completed! Any errors should be visible in the output above. Please fix your recipes so that they properly complete." I got this error . when I read the @ptwobrussell's instruction , this was the same of my case. But it didn't work and then I noticed when I copied Github copied folder I didn't see Berksfile in this link (https://github.com/ptwobrussell/Mining-the-Social-Web-2nd-Edition/). does it cause the error? This is my error detail : ==> default: stdin: is not a tty ==> default: [2014-06-11T03:29:05+00:00] INFO: * Chef 10.14.2 * ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Building node object for precise64 ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Extracting run list from JSON attributes provided on command line ==> default: [2014-06-11T03:29:06+00:00] INFO: Setting the run_list to ["recipe[mtsw2e::default]"] from JSON ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Applying attributes from json file ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Platform is ubuntu version 12.04 ==> default: [2014-06-11T03:29:06+00:00] INFO: Run List is [recipe[mtsw2e::default]] ==> default: [2014-06-11T03:29:06+00:00] INFO: Run List expands to [mtsw2e::default] ==> default: [2014-06-11T03:29:06+00:00] INFO: Starting Chef Run for precise64 ==> default: [2014-06-11T03:29:06+00:00] INFO: Running start handlers ==> default: [2014-06-11T03:29:06+00:00] INFO: Start handlers complete. ==> default: [2014-06-11T03:29:06+00:00] DEBUG: No chefignore file found at /tmp/vagrant-chef-5/chef-solo-1/cookbooks/chefignore no files will be ignored ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook runit's library file: /tmp/vagrant-chef-5/chef-solo-1/cookbooks/runit/libraries/resource_runit_service.rb ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook runit's library file: /tmp/vagrant-chef-5/chef-solo-1/cookbooks/runit/libraries/default.rb ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook runit's library file: /tmp/vagrant-chef-5/chef-solo-1/cookbooks/runit/libraries/provider_runit_service.rb ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook python's providers from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/python/providers/virtualenv.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook python's providers from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/python/providers/pip.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook apt's providers from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/providers/preference.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook apt's providers from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/providers/repository.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook yum's providers from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/providers/repository.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook yum's providers from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/providers/key.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook python's resources from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/python/resources/pip.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook python's resources from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/python/resources/virtualenv.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook apt's resources from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/resources/repository.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook apt's resources from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/resources/preference.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook yum's resources from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/resources/repository.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook yum's resources from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/resources/key.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Node precise64 loading cookbook python's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/python/attributes/default.rb ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Node precise64 loading cookbook apt's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/attributes/default.rb ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Node precise64 loading cookbook runit's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/runit/attributes/default.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Node precise64 loading cookbook yum's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/attributes/remi.rb ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Node precise64 loading cookbook yum's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/attributes/epel.rb ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Node precise64 loading cookbook yum's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/attributes/elrepo.rb ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Node precise64 loading cookbook yum's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/attributes/default.rb ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading Recipe mtsw2e::default via include_recipe ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Found recipe default in cookbook mtsw2e ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading Recipe apt via include_recipe ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Found recipe default in cookbook apt ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading Recipe runit via include_recipe ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Found recipe default in cookbook runit ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading Recipe python via include_recipe ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Found recipe default in cookbook python ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading Recipe python::package via include_recipe ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Found recipe package in cookbook python ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading Recipe python::pip via include_recipe ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Found recipe pip in cookbook python ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading Recipe python::virtualenv via include_recipe ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Found recipe virtualenv in cookbook python ==> default: [2014-06-11T03:29:06+00:00] DEBUG: I am not loading python::pip, because I have already seen it. ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading from cookbook_path: /tmp/vagrant-chef-5/chef-solo-1/cookbooks ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Converging node precise64 ==> default: [2014-06-11T03:29:06+00:00] INFO: Processing execute[apt-get-update] action run (apt::default line 22) ==> default: [2014-06-11T03:29:51+00:00] INFO: execute[apt-get-update] ran successfully ==> default: [2014-06-11T03:29:51+00:00] INFO: Processing execute[apt-get update] action nothing (apt::default line 29) ==> default: [2014-06-11T03:29:51+00:00] DEBUG: Doing nothing for execute[apt-get update] ==> default: [2014-06-11T03:29:51+00:00] INFO: Processing execute[apt-get autoremove] action nothing (apt::default line 36) ==> default: [2014-06-11T03:29:51+00:00] DEBUG: Doing nothing for execute[apt-get autoremove] ==> default: [2014-06-11T03:29:51+00:00] INFO: Processing execute[apt-get autoclean] action nothing (apt::default line 42) ==> default: [2014-06-11T03:29:51+00:00] DEBUG: Doing nothing for execute[apt-get autoclean] ==> default: [2014-06-11T03:29:51+00:00] INFO: Processing package[update-notifier-common] action install (apt::default line 48) ==> default: [2014-06-11T03:29:51+00:00] DEBUG: package[update-notifier-common] checking package status for update-notifier-common ==> default: [2014-06-11T03:29:51+00:00] DEBUG: package[update-notifier-common] current version is nil ==> default: [2014-06-11T03:29:51+00:00] DEBUG: package[update-notifier-common] candidate version is 0.119ubuntu8.6 ==> default: [2014-06-11T03:29:51+00:00] DEBUG: Executing apt-get -q -y install update-notifier-common=0.119ubuntu8.6 ==> default: [2014-06-11T03:29:53+00:00] DEBUG: ---- Begin output of apt-get -q -y install update-notifier-common=0.119ubuntu8.6 ---- ==> default: [2014-06-11T03:29:53+00:00] DEBUG: STDOUT: Reading package lists... ==> default: Building dependency tree... ==> default: Reading state information... ==> default: The following extra packages will be installed: ==> default: patch ==> default: Suggested packages: ==> default: diffutils-doc gksu ==> default: The following NEW packages will be installed: ==> default: patch update-notifier-common ==> default: 0 upgraded, 2 newly installed, 0 to remove and 160 not upgraded. ==> default: Need to get 303 kB of archives. ==> default: After this operation, 2,214 kB of additional disk space will be used. ==> default: Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main patch amd64 2.6.1-3 [80.2 kB] ==> default: Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main update-notifier-common all 0.119ubuntu8.6 [222 kB] ==> default: Fetched 303 kB in 0s (1,200 kB/s) ==> default: Selecting previously unselected package patch. ==> default: (Reading database ... 51095 files and directories currently installed.) ==> default: Unpacking patch (from .../patch_2.6.1-3_amd64.deb) ... ==> default: Selecting previously unselected package update-notifier-common. ==> default: Unpacking update-notifier-common (from .../update-notifier-common_0.119ubuntu8.6_all.deb) ... ==> default: Processing triggers for man-db ... ==> default: Setting up patch (2.6.1-3) ... ==> default: Setting up update-notifier-common (0.119ubuntu8.6) ... ==> default: [2014-06-11T03:29:53+00:00] DEBUG: STDERR: ==> default: [2014-06-11T03:29:53+00:00] DEBUG: ---- End output of apt-get -q -y install update-notifier-common=0.119ubuntu8.6 ---- ==> default: [2014-06-11T03:29:53+00:00] DEBUG: Ran apt-get -q -y install update-notifier-common=0.119ubuntu8.6 returned 0 ==> default: [2014-06-11T03:29:53+00:00] INFO: package[update-notifier-common] sending run action to executeapt-get-update ==> default: [2014-06-11T03:29:53+00:00] INFO: Processing execute[apt-get-update] action run (apt::default line 22) ==> default: [2014-06-11T03:30:17+00:00] INFO: execute[apt-get-update] ran successfully ==> default: [2014-06-11T03:30:17+00:00] INFO: Processing execute[apt-get-update-periodic] action run (apt::default line 52) ==> default: [2014-06-11T03:30:17+00:00] DEBUG: Skipping execute[apt-get-update-periodic] due to only_if ruby block ==> default: [2014-06-11T03:30:17+00:00] INFO: Processing directory[/var/cache/local] action create (apt::default line 62) ==> default: [2014-06-11T03:30:17+00:00] INFO: directory[/var/cache/local] created directory /var/cache/local ==> default: [2014-06-11T03:30:17+00:00] INFO: directory[/var/cache/local] owner changed to 0 ==> default: [2014-06-11T03:30:17+00:00] INFO: directory[/var/cache/local] group changed to 0 ==> default: [2014-06-11T03:30:17+00:00] INFO: directory[/var/cache/local] mode changed to 755 ==> default: [2014-06-11T03:30:17+00:00] INFO: Processing directory[/var/cache/local/preseeding] action create (apt::default line 62) ==> default: [2014-06-11T03:30:17+00:00] INFO: directory[/var/cache/local/preseeding] created directory /var/cache/local/preseeding ==> default: [2014-06-11T03:30:17+00:00] INFO: directory[/var/cache/local/preseeding] owner changed to 0 ==> default: [2014-06-11T03:30:17+00:00] INFO: directory[/var/cache/local/preseeding] group changed to 0 ==> default: [2014-06-11T03:30:17+00:00] INFO: directory[/var/cache/local/preseeding] mode changed to 755 ==> default: [2014-06-11T03:30:17+00:00] INFO: Processing service[runit] action nothing (runit::default line 20) ==> default: [2014-06-11T03:30:17+00:00] DEBUG: service[runit] falling back to process table inspection ==> default: [2014-06-11T03:30:17+00:00] DEBUG: service[runit] attempting to match 'runit' (/runit/) against process list ==> default: [2014-06-11T03:30:17+00:00] DEBUG: service[runit] running: false ==> default: [2014-06-11T03:30:17+00:00] DEBUG: Doing nothing for service[runit] ==> default: [2014-06-11T03:30:17+00:00] INFO: Processing execute[start-runsvdir] action nothing (runit::default line 24) ==> default: [2014-06-11T03:30:17+00:00] DEBUG: Doing nothing for execute[start-runsvdir] ==> default: [2014-06-11T03:30:17+00:00] INFO: Processing execute[runit-hup-init] action nothing (runit::default line 33) ==> default: [2014-06-11T03:30:17+00:00] DEBUG: Skipping execute[runit-hup-init] due to only_if command grep ^SV /etc/inittab ==> default: [2014-06-11T03:30:17+00:00] INFO: Processing package[runit] action install (runit::default line 80) ==> default: [2014-06-11T03:30:17+00:00] DEBUG: package[runit] checking package status for runit ==> default: [2014-06-11T03:30:17+00:00] DEBUG: package[runit] current version is nil ==> default: [2014-06-11T03:30:17+00:00] DEBUG: package[runit] candidate version is 2.1.1-6.2ubuntu2.1 ==> default: [2014-06-11T03:30:17+00:00] DEBUG: Creating directory /var/chef/cache/preseed ==> default: [2014-06-11T03:30:17+00:00] DEBUG: Creating directory /var/chef/cache/preseed/runit ==> default: [2014-06-11T03:30:17+00:00] DEBUG: package[runit] fetching preseed file to /var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed ==> default: [2014-06-11T03:30:17+00:00] DEBUG: package[runit] fetching preseed file via Template resource failed, fallback to CookbookFile resource ==> default: [2014-06-11T03:30:17+00:00] INFO: Processing cookbook_file[/var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed] action create (dynamically defined) ==> default: [2014-06-11T03:30:17+00:00] DEBUG: File /var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed does not exist, so there is no checksum to generate ==> default: [2014-06-11T03:30:17+00:00] DEBUG: cookbook_file[/var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed] has new contents ==> default: [2014-06-11T03:30:17+00:00] DEBUG: cookbook_file[/var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed] staging /tmp/vagrant-chef-5/chef-solo-1/cookbooks/runit/files/default/runit.seed to /tmp/runit-2.1.1-6.2ubuntu2.1.seed20140611-1126-1qhvuyy-0 ==> default: [2014-06-11T03:30:17+00:00] INFO: cookbook_file[/var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed] created file /var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed ==> default: [2014-06-11T03:30:17+00:00] DEBUG: package[runit] fetched preseed file to /var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed ==> default: [2014-06-11T03:30:17+00:00] INFO: package[runit] pre-seeding package installation instructions ==> default: [2014-06-11T03:30:17+00:00] DEBUG: Executing debconf-set-selections /var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed ==> default: [2014-06-11T03:30:18+00:00] DEBUG: ---- Begin output of debconf-set-selections /var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed ---- ==> default: [2014-06-11T03:30:18+00:00] DEBUG: STDOUT: ==> default: [2014-06-11T03:30:18+00:00] DEBUG: STDERR: ==> default: [2014-06-11T03:30:18+00:00] DEBUG: ---- End output of debconf-set-selections /var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed ---- ==> default: [2014-06-11T03:30:18+00:00] DEBUG: Ran debconf-set-selections /var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed returned 0 ==> default: [2014-06-11T03:30:18+00:00] DEBUG: Executing apt-get -q -y install runit=2.1.1-6.2ubuntu2.1 ==> default: [2014-06-11T03:30:19+00:00] DEBUG: ---- Begin output of apt-get -q -y install runit=2.1.1-6.2ubuntu2.1 ---- ==> default: [2014-06-11T03:30:19+00:00] DEBUG: STDOUT: Reading package lists... ==> default: Building dependency tree... ==> default: Reading state information... ==> default: The following extra packages will be installed: ==> default: fgetty ==> default: Suggested packages: ==> default: socklog-run ==> default: The following NEW packages will be installed: ==> default: fgetty runit ==> default: 0 upgraded, 2 newly installed, 0 to remove and 160 not upgraded. ==> default: Need to get 132 kB of archives. ==> default: After this operation, 542 kB of additional disk space will be used. ==> default: Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/universe fgetty amd64 0.6-5build1 [25.4 kB] ==> default: Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/universe runit amd64 2.1.1-6.2ubuntu2.1 [107 kB] ==> default: Fetched 132 kB in 0s (787 kB/s) ==> default: Selecting previously unselected package fgetty. ==> default: (Reading database ... 51266 files and directories currently installed.) ==> default: Unpacking fgetty (from .../fgetty_0.6-5build1_amd64.deb) ... ==> default: Selecting previously unselected package runit. ==> default: Unpacking runit (from .../runit_2.1.1-6.2ubuntu2.1_amd64.deb) ... ==> default: Processing triggers for man-db ... ==> default: Processing triggers for ureadahead ... ==> default: ureadahead will be reprofiled on next reboot ==> default: Setting up fgetty (0.6-5build1) ... ==> default: Setting up runit (2.1.1-6.2ubuntu2.1) ... ==> default: [2014-06-11T03:30:19+00:00] DEBUG: STDERR: runsvdir start/running, process 1655 ==> default: [2014-06-11T03:30:19+00:00] DEBUG: ---- End output of apt-get -q -y install runit=2.1.1-6.2ubuntu2.1 ---- ==> default: [2014-06-11T03:30:19+00:00] DEBUG: Ran apt-get -q -y install runit=2.1.1-6.2ubuntu2.1 returned 0 ==> default: [2014-06-11T03:30:19+00:00] INFO: package[runit] sending nothing action to executestart-runsvdir ==> default: [2014-06-11T03:30:19+00:00] INFO: Processing execute[start-runsvdir] action nothing (runit::default line 24) ==> default: [2014-06-11T03:30:19+00:00] DEBUG: Doing nothing for execute[start-runsvdir] ==> default: [2014-06-11T03:30:19+00:00] INFO: package[runit] sending nothing action to executerunit-hup-init ==> default: [2014-06-11T03:30:19+00:00] INFO: Processing execute[runit-hup-init] action nothing (runit::default line 33) ==> default: [2014-06-11T03:30:19+00:00] DEBUG: Skipping execute[runit-hup-init] due to only_if command grep ^SV /etc/inittab ==> default: [2014-06-11T03:30:19+00:00] INFO: Processing package[python] action install (python::package line 40) ==> default: [2014-06-11T03:30:19+00:00] DEBUG: package[python] checking package status for python ==> default: [2014-06-11T03:30:20+00:00] DEBUG: package[python] current version is 2.7.3-0ubuntu2 ==> default: [2014-06-11T03:30:20+00:00] DEBUG: package[python] candidate version is 2.7.3-0ubuntu2.2 ==> default: [2014-06-11T03:30:20+00:00] DEBUG: package[python] is already installed - nothing to do ==> default: [2014-06-11T03:30:20+00:00] INFO: Processing package[python-dev] action install (python::package line 40) ==> default: [2014-06-11T03:30:20+00:00] DEBUG: package[python-dev] checking package status for python-dev ==> default: [2014-06-11T03:30:20+00:00] DEBUG: package[python-dev] current version is nil ==> default: [2014-06-11T03:30:20+00:00] DEBUG: package[python-dev] candidate version is 2.7.3-0ubuntu2.2 ==> default: [2014-06-11T03:30:20+00:00] DEBUG: Executing apt-get -q -y install python-dev=2.7.3-0ubuntu2.2 ==> default: [2014-06-11T03:31:13+00:00] DEBUG: ---- Begin output of apt-get -q -y install python-dev=2.7.3-0ubuntu2.2 ---- ==> default: [2014-06-11T03:31:13+00:00] DEBUG: STDOUT: Reading package lists... ==> default: Building dependency tree... ==> default: Reading state information... ==> default: The following extra packages will be installed: ==> default: libexpat1 libexpat1-dev libpython2.7 python python-minimal python2.7 ==> default: python2.7-dev python2.7-minimal ==> default: Suggested packages: ==> default: python-doc python-tk python2.7-doc binfmt-support ==> 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 155 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.5 [2,675 kB] ==> default: Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python2.7-minimal amd64 2.7.3-0ubuntu3.5 [1,743 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.5 [1,188 kB] ==> default: Get:8 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python2.7-dev amd64 2.7.3-0ubuntu3.5 [29.5 MB] ==> default: Get:9 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python-dev amd64 2.7.3-0ubuntu2.2 [1,090 B] ==> default: Fetched 35.7 MB in 48s (733 kB/s) ==> default: (Reading database ... 51343 files and directories currently installed.) ==> default: Preparing to replace python2.7 2.7.3-0ubuntu3 (using .../python2.7_2.7.3-0ubuntu3.5_amd64.deb) ... ==> default: Unpacking replacement python2.7 ... ==> default: Preparing to replace python2.7-minimal 2.7.3-0ubuntu3 (using .../python2.7-minimal_2.7.3-0ubuntu3.5_amd64.deb) ... ==> default: Unpacking replacement python2.7-minimal ... ==> default: Processing triggers for man-db ... ==> default: Setting up python2.7-minimal (2.7.3-0ubuntu3.5) ... ==> default: (Reading database ... 51342 files and directories currently installed.) ==> default: Preparing to replace libexpat1 2.0.1-7.2ubuntu1 (using .../libexpat1_2.0.1-7.2ubuntu1.1_amd64.deb) ... ==> default: Unpacking replacement libexpat1 ... ==> default: Preparing to replace python-minimal 2.7.3-0ubuntu2 (using .../python-minimal_2.7.3-0ubuntu2.2_amd64.deb) ... ==> default: Unpacking replacement python-minimal ... ==> default: Processing triggers for man-db ... ==> default: Setting up python-minimal (2.7.3-0ubuntu2.2) ... ==> default: (Reading database ... 51342 files and directories currently installed.) ==> default: Preparing to replace python 2.7.3-0ubuntu2 (using .../python_2.7.3-0ubuntu2.2_amd64.deb) ... ==> default: Unpacking replacement python ... ==> default: Selecting previously unselected package libexpat1-dev. ==> default: Unpacking libexpat1-dev (from .../libexpat1-dev_2.0.1-7.2ubuntu1.1_amd64.deb) ... ==> default: Selecting previously unselected package libpython2.7. ==> default: Unpacking libpython2.7 (from .../libpython2.7_2.7.3-0ubuntu3.5_amd64.deb) ... ==> default: Selecting previously unselected package python2.7-dev. ==> default: Unpacking python2.7-dev (from .../python2.7-dev_2.7.3-0ubuntu3.5_amd64.deb) ... ==> default: Selecting previously unselected package python-dev. ==> default: Unpacking python-dev (from .../python-dev_2.7.3-0ubuntu2.2_amd64.deb) ... ==> default: Processing triggers for man-db ... ==> default: Setting up libexpat1 (2.0.1-7.2ubuntu1.1) ... ==> default: Setting up python2.7 (2.7.3-0ubuntu3.5) ... ==> default: Setting up python (2.7.3-0ubuntu2.2) ... ==> default: Setting up libexpat1-dev (2.0.1-7.2ubuntu1.1) ... ==> default: Setting up libpython2.7 (2.7.3-0ubuntu3.5) ... ==> default: Setting up python2.7-dev (2.7.3-0ubuntu3.5) ... ==> default: Setting up python-dev (2.7.3-0ubuntu2.2) ... ==> default: Processing triggers for libc-bin ... ==> default: ldconfig deferred processing now taking place ==> default: [2014-06-11T03:31:13+00:00] DEBUG: STDERR: ==> default: [2014-06-11T03:31:13+00:00] DEBUG: ---- End output of apt-get -q -y install python-dev=2.7.3-0ubuntu2.2 ---- ==> default: [2014-06-11T03:31:13+00:00] DEBUG: Ran apt-get -q -y install python-dev=2.7.3-0ubuntu2.2 returned 0 ==> default: [2014-06-11T03:31:14+00:00] INFO: Processing remote_file[/var/chef/cache/ez_setup.py] action create (python::pip line 36) ==> default: [2014-06-11T03:31:14+00:00] DEBUG: remote_file[/var/chef/cache/ez_setup.py] checking for changes ==> default: [2014-06-11T03:31:14+00:00] DEBUG: Sending HTTP Request via GET to bitbucket.org:443/pypa/setuptools/raw/0.8/ez_setup.py ==> default: [2014-06-11T03:31:15+00:00] DEBUG: Streaming download from https://bitbucket.org/pypa/setuptools/raw/0.8/ez_setup.py to tempfile /tmp/chef-rest20140611-1126-15ehkya-0 ==> default: [2014-06-11T03:31:15+00:00] DEBUG: decompressing gzip stream ==> default: [2014-06-11T03:31:15+00:00] DEBUG: remote_file[/var/chef/cache/ez_setup.py] checking for file existence of /var/chef/cache/ez_setup.py ==> default: [2014-06-11T03:31:15+00:00] DEBUG: remote_file[/var/chef/cache/ez_setup.py] creating /var/chef/cache/ez_setup.py ==> default: [2014-06-11T03:31:15+00:00] INFO: remote_file[/var/chef/cache/ez_setup.py] updated ==> default: [2014-06-11T03:31:15+00:00] INFO: remote_file[/var/chef/cache/ez_setup.py] mode changed to 644 ==> default: [2014-06-11T03:31:15+00:00] INFO: Processing remote_file[/var/chef/cache/get-pip.py] action create (python::pip line 42) ==> default: [2014-06-11T03:31:15+00:00] DEBUG: remote_file[/var/chef/cache/get-pip.py] checking for changes ==> default: [2014-06-11T03:31:15+00:00] DEBUG: Sending HTTP Request via GET to raw.github.com:443/pypa/pip/master/contrib/get-pip.py ==> default: [2014-06-11T03:31:16+00:00] DEBUG: Streaming download from https://raw.github.com/pypa/pip/master/contrib/get-pip.py to tempfile /tmp/chef-rest20140611-1126-f8smwu-0 ==> default: [2014-06-11T03:31:16+00:00] DEBUG: Following redirect 1/10 ==> default: [2014-06-11T03:31:16+00:00] DEBUG: Sending HTTP Request via GET to raw.githubusercontent.com:443/pypa/pip/master/contrib/get-pip.py ==> default: [2014-06-11T03:31:21+00:00] DEBUG: Streaming download from https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py to tempfile /tmp/chef-rest20140611-1126-1fk193p-0 ==> default: [2014-06-11T03:31:21+00:00] DEBUG: decompressing gzip stream ==> default: [2014-06-11T03:31:22+00:00] DEBUG: remote_file[/var/chef/cache/get-pip.py] checking for file existence of /var/chef/cache/get-pip.py ==> default: [2014-06-11T03:31:22+00:00] DEBUG: remote_file[/var/chef/cache/get-pip.py] creating /var/chef/cache/get-pip.py ==> default: [2014-06-11T03:31:22+00:00] INFO: remote_file[/var/chef/cache/get-pip.py] updated ==> default: [2014-06-11T03:31:22+00:00] INFO: remote_file[/var/chef/cache/get-pip.py] mode changed to 644 ==> default: [2014-06-11T03:31:22+00:00] INFO: Processing execute[install-setuptools] action run (python::pip line 48) ==> default: [2014-06-11T03:31:23+00:00] INFO: execute[install-setuptools] ran successfully ==> default: [2014-06-11T03:31:23+00:00] INFO: Processing execute[install-pip] action run (python::pip line 56) ==> default: [2014-06-11T03:31:25+00:00] INFO: execute[install-pip] ran successfully ==> default: [2014-06-11T03:31:25+00:00] INFO: Processing python_pip[virtualenv] action install (python::virtualenv line 23) ==> default: [2014-06-11T03:31:25+00:00] INFO: Installing python_pip[virtualenv] version latest ==> default: [2014-06-11T03:31:27+00:00] INFO: Processing apt_repository[mongodb-10gen] action add (mtsw2e::default line 6) ==> default: [2014-06-11T03:31:27+00:00] DEBUG: Setting execute[apt-get update] to the state of the prior execute[apt-get update] ==> default: [2014-06-11T03:31:27+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: ==> 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.cAw9RaN9c5 --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: ==> default: Resource Declaration: ==> default: --------------------- ==> default: # In /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/providers/repository.rb ==> default: ==> default: 27: def install_key_from_keyserver(key, keyserver) ==> default: 28: execute "install-key #{key}" do ==> default: 29: if !node['apt']['key_proxy'].empty? ==> default: 30: command "apt-key adv --keyserver-options http-proxy=#{node['apt']['key_proxy']} --keyserver #{keyserver} --recv #{key}" ==> default: 31: else ==> default: 32: command "apt-key adv --keyserver #{keyserver} --recv #{key}" ==> default: 33: end ==> default: 34: action :run ==> 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: retry_delay 2 ==> default: returns 0 ==> default: command "apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10" ==> default: retries 0 ==> default: action [:run] ==> default: cookbook_name :mtsw2e ==> default: backup 5 ==> default: not_if { #code block } ==> default: end ==> default: [2014-06-11T03:33:28+00:00] DEBUG: Re-raising exception: 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.cAw9RaN9c5 --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: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/mixlib-shellout-1.1.0/lib/mixlib/shellout.rb:248:ininvalid!' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/mixlib-shellout-1.1.0/lib/mixlib/shellout.rb:234:in error!' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/shell_out.rb:36:inshell_out!' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider/execute.rb:62:in action_run' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:63:incall' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:63:in converge!' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:61:ineach' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:61:in converge!' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider.rb:136:inconverge' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider.rb:125:in run_action' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource.rb:593:inrun_action' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:49:in run_action' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:inconverge' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:in each' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:inconverge' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection.rb:94:in execute_each_resource' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:incall' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in call_iterator_block' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:instep' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in iterate' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:ineach_with_index' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection.rb:92:in execute_each_resource' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:80:inconverge' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:378:in converge' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:420:indo_run' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:176:in run' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:230:inrun_application' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:218:in loop' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:218:inrun_application' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application.rb:70:in run' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/chef-solo:25 ==> default: /opt/vagrant_ruby/bin/chef-solo:19:inload' ==> default: /opt/vagrant_ruby/bin/chef-solo:19 ==> default: [2014-06-11T03:33:28+00:00] ERROR: Running exception handlers ==> default: [2014-06-11T03:33:28+00:00] ERROR: Exception handlers complete ==> default: [2014-06-11T03:33:28+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out ==> default: [2014-06-11T03:33:28+00:00] DEBUG: Mixlib::ShellOut::ShellCommandFailed: executeinstall-key 7F0CEB10 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.cAw9RaN9c5 --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: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/mixlib-shellout-1.1.0/lib/mixlib/shellout.rb:248:in invalid!' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/mixlib-shellout-1.1.0/lib/mixlib/shellout.rb:234:inerror!' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/shell_out.rb:36:in shell_out!' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider/execute.rb:62:inaction_run' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:63:in call' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:63:inconverge!' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:61:in each' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:61:inconverge!' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider.rb:136:in converge' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider.rb:125:inrun_action' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource.rb:593:in run_action' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:49:inrun_action' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:in converge' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:ineach' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:in converge' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection.rb:94:inexecute_each_resource' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in call' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:incall_iterator_block' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in step' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:initerate' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in each_with_index' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection.rb:92:inexecute_each_resource' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:80:in converge' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:378:inconverge' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:420:in do_run' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:176:inrun' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:230:in run_application' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:218:inloop' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:218:in run_application' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application.rb:70:inrun' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/chef-solo:25 ==> default: /opt/vagrant_ruby/bin/chef-solo:19:in `load' ==> default: /opt/vagrant_ruby/bin/chef-solo:19 ==> default: [2014-06-11T03:33:28+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: executeinstall-key 7F0CEB10 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.cAw9RaN9c5 --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 Chef never successfully completed! Any errors should be visible in the output above. Please fix your recipes so that they properly complete.

ptwobrussell commented 10 years ago

This issue appears to be entirely network related, and I've seen it before. (Should be other logged issues with similar Chef outputs.) The error is pretty spot on in terms of it telling you that it tried to contact keyserver.ubuntu.com but couldn't do so. The only times I've seen this before, it was the case that the person trying to run the script was either outside of the United States or inside of a corporate firewall. I'll be thinking about the best way to debug it once and for all.

On Wed, Jun 11, 2014 at 9:43 AM, MyaThandar notifications@github.com wrote:

Chef never successfully completed! Any errors should be visible in the output above. Please fix your recipes so that they properly complete." I got this error . when I read the above post , this was the same of my case. so I tried with @ptwobrussell https://github.com/ptwobrussell's instruction again and again. But it didn't work and then I noticed when I copied Github copied folder I didn't see Berksfile in this link ( https://github.com/ptwobrussell/Mining-the-Social-Web-2nd-Edition/). does it cause the error? This is my error detail : ==> default: stdin: is not a tty ==> default: [2014-06-11T03:29:05+00:00] INFO: * Chef 10.14.2 * ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Building node object for precise64 ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Extracting run list from JSON attributes provided on command line ==> default: [2014-06-11T03:29:06+00:00] INFO: Setting the run_list to ["recipe[mtsw2e::default]"] from JSON ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Applying attributes from json file ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Platform is ubuntu version 12.04 ==> default: [2014-06-11T03:29:06+00:00] INFO: Run List is [recipe[mtsw2e::default]] ==> default: [2014-06-11T03:29:06+00:00] INFO: Run List expands to [mtsw2e::default] ==> default: [2014-06-11T03:29:06+00:00] INFO: Starting Chef Run for precise64 ==> default: [2014-06-11T03:29:06+00:00] INFO: Running start handlers ==> default: [2014-06-11T03:29:06+00:00] INFO: Start handlers complete. ==> default: [2014-06-11T03:29:06+00:00] DEBUG: No chefignore file found at /tmp/vagrant-chef-5/chef-solo-1/cookbooks/chefignore no files will be ignored ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook runit's library file: /tmp/vagrant-chef-5/chef-solo-1/cookbooks/runit/libraries/resource_runit_service.rb ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook runit's library file: /tmp/vagrant-chef-5/chef-solo-1/cookbooks/runit/libraries/default.rb ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook runit's library file: /tmp/vagrant-chef-5/chef-solo-1/cookbooks/runit/libraries/provider_runit_service.rb ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook python's providers from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/python/providers/virtualenv.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook python's providers from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/python/providers/pip.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook apt's providers from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/providers/preference.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook apt's providers from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/providers/repository.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook yum's providers from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/providers/repository.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook yum's providers from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/providers/key.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook python's resources from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/python/resources/pip.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook python's resources from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/python/resources/virtualenv.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook apt's resources from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/resources/repository.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook apt's resources from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/resources/preference.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook yum's resources from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/resources/repository.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Loading cookbook yum's resources from /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/resources/key.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Node precise64 loading cookbook python's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/python/attributes/default.rb ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Node precise64 loading cookbook apt's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/attributes/default.rb ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Node precise64 loading cookbook runit's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/runit/attributes/default.rb ==> default: [2014-06-11T03:29:06+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: [2014-06-11T03:29:06+00:00] DEBUG: Node precise64 loading cookbook yum's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/attributes/remi.rb ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Node precise64 loading cookbook yum's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/attributes/epel.rb ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Node precise64 loading cookbook yum's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/attributes/elrepo.rb ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Node precise64 loading cookbook yum's attribute file /tmp/vagrant-chef-5/chef-solo-1/cookbooks/yum/attributes/default.rb ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading Recipe mtsw2e::default via include_recipe ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Found recipe default in cookbook mtsw2e ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading Recipe apt via include_recipe ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Found recipe default in cookbook apt ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading Recipe runit via include_recipe ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Found recipe default in cookbook runit ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading Recipe python via include_recipe ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Found recipe default in cookbook python ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading Recipe python::package via include_recipe ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Found recipe package in cookbook python ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading Recipe python::pip via include_recipe ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Found recipe pip in cookbook python ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading Recipe python::virtualenv via include_recipe ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Found recipe virtualenv in cookbook python ==> default: [2014-06-11T03:29:06+00:00] DEBUG: I am not loading python::pip, because I have already seen it. ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Loading from cookbook_path: /tmp/vagrant-chef-5/chef-solo-1/cookbooks ==> default: [2014-06-11T03:29:06+00:00] DEBUG: Converging node precise64 ==> default: [2014-06-11T03:29:06+00:00] INFO: Processing execute[apt-get-update] action run (apt::default line 22) ==> default: [2014-06-11T03:29:51+00:00] INFO: execute[apt-get-update] ran successfully ==> default: [2014-06-11T03:29:51+00:00] INFO: Processing execute[apt-get update] action nothing (apt::default line 29) ==> default: [2014-06-11T03:29:51+00:00] DEBUG: Doing nothing for execute[apt-get update] ==> default: [2014-06-11T03:29:51+00:00] INFO: Processing execute[apt-get autoremove] action nothing (apt::default line 36) ==> default: [2014-06-11T03:29:51+00:00] DEBUG: Doing nothing for execute[apt-get autoremove] ==> default: [2014-06-11T03:29:51+00:00] INFO: Processing execute[apt-get autoclean] action nothing (apt::default line 42) ==> default: [2014-06-11T03:29:51+00:00] DEBUG: Doing nothing for execute[apt-get autoclean] ==> default: [2014-06-11T03:29:51+00:00] INFO: Processing package[update-notifier-common] action install (apt::default line 48) ==> default: [2014-06-11T03:29:51+00:00] DEBUG: package[update-notifier-common] checking package status for update-notifier-common ==> default: [2014-06-11T03:29:51+00:00] DEBUG: package[update-notifier-common] current version is nil ==> default: [2014-06-11T03:29:51+00:00] DEBUG: package[update-notifier-common] candidate version is 0.119ubuntu8.6 ==> default: [2014-06-11T03:29:51+00:00] DEBUG: Executing apt-get -q -y install update-notifier-common=0.119ubuntu8.6 ==> default: [2014-06-11T03:29:53+00:00] DEBUG: ---- Begin output of apt-get -q -y install update-notifier-common=0.119ubuntu8.6 ---- ==> default: [2014-06-11T03:29:53+00:00] DEBUG: STDOUT: Reading package lists... ==> default: Building dependency tree... ==> default: Reading state information... ==> default: The following extra packages will be installed: ==> default: patch ==> default: Suggested packages: ==> default: diffutils-doc gksu ==> default: The following NEW packages will be installed: ==> default: patch update-notifier-common ==> default: 0 upgraded, 2 newly installed, 0 to remove and 160 not upgraded. ==> default: Need to get 303 kB of archives. ==> default: After this operation, 2,214 kB of additional disk space will be used. ==> default: Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main patch amd64 2.6.1-3 [80.2 kB] ==> default: Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main update-notifier-common all 0.119ubuntu8.6 [222 kB] ==> default: Fetched 303 kB in 0s (1,200 kB/s) ==> default: Selecting previously unselected package patch. ==> default: (Reading database ... 51095 files and directories currently installed.) ==> default: Unpacking patch (from .../patch_2.6.1-3_amd64.deb) ... ==> default: Selecting previously unselected package update-notifier-common. ==> default: Unpacking update-notifier-common (from .../update-notifier-common_0.119ubuntu8.6_all.deb) ... ==> default: Processing triggers for man-db ... ==> default: Setting up patch (2.6.1-3) ... ==> default: Setting up update-notifier-common (0.119ubuntu8.6) ... ==> default: [2014-06-11T03:29:53+00:00] DEBUG: STDERR: ==> default: [2014-06-11T03:29:53+00:00] DEBUG: ---- End output of apt-get -q -y install update-notifier-common=0.119ubuntu8.6 ---- ==> default: [2014-06-11T03:29:53+00:00] DEBUG: Ran apt-get -q -y install update-notifier-common=0.119ubuntu8.6 returned 0 ==> default: [2014-06-11T03:29:53+00:00] INFO: package[update-notifier-common] sending run action to executeapt-get-update ==> default: [2014-06-11T03:29:53+00:00] INFO: Processing execute[apt-get-update] action run (apt::default line 22) ==> default: [2014-06-11T03:30:17+00:00] INFO: execute[apt-get-update] ran successfully ==> default: [2014-06-11T03:30:17+00:00] INFO: Processing execute[apt-get-update-periodic] action run (apt::default line 52) ==> default: [2014-06-11T03:30:17+00:00] DEBUG: Skipping execute[apt-get-update-periodic] due to only_if ruby block ==> default: [2014-06-11T03:30:17+00:00] INFO: Processing directory[/var/cache/local] action create (apt::default line 62) ==> default: [2014-06-11T03:30:17+00:00] INFO: directory[/var/cache/local] created directory /var/cache/local ==> default: [2014-06-11T03:30:17+00:00] INFO: directory[/var/cache/local] owner changed to 0 ==> default: [2014-06-11T03:30:17+00:00] INFO: directory[/var/cache/local] group changed to 0 ==> default: [2014-06-11T03:30:17+00:00] INFO: directory[/var/cache/local] mode changed to 755 ==> default: [2014-06-11T03:30:17+00:00] INFO: Processing directory[/var/cache/local/preseeding] action create (apt::default line 62) ==> default: [2014-06-11T03:30:17+00:00] INFO: directory[/var/cache/local/preseeding] created directory /var/cache/local/preseeding ==> default: [2014-06-11T03:30:17+00:00] INFO: directory[/var/cache/local/preseeding] owner changed to 0 ==> default: [2014-06-11T03:30:17+00:00] INFO: directory[/var/cache/local/preseeding] group changed to 0 ==> default: [2014-06-11T03:30:17+00:00] INFO: directory[/var/cache/local/preseeding] mode changed to 755 ==> default: [2014-06-11T03:30:17+00:00] INFO: Processing service[runit] action nothing (runit::default line 20) ==> default: [2014-06-11T03:30:17+00:00] DEBUG: service[runit] falling back to process table inspection ==> default: [2014-06-11T03:30:17+00:00] DEBUG: service[runit] attempting to match 'runit' (/runit/) against process list ==> default: [2014-06-11T03:30:17+00:00] DEBUG: service[runit] running: false ==> default: [2014-06-11T03:30:17+00:00] DEBUG: Doing nothing for service[runit] ==> default: [2014-06-11T03:30:17+00:00] INFO: Processing execute[start-runsvdir] action nothing (runit::default line 24) ==> default: [2014-06-11T03:30:17+00:00] DEBUG: Doing nothing for execute[start-runsvdir] ==> default: [2014-06-11T03:30:17+00:00] INFO: Processing execute[runit-hup-init] action nothing (runit::default line 33) ==> default: [2014-06-11T03:30:17+00:00] DEBUG: Skipping execute[runit-hup-init] due to only_if command grep ^SV /etc/inittab ==> default: [2014-06-11T03:30:17+00:00] INFO: Processing package[runit] action install (runit::default line 80) ==> default: [2014-06-11T03:30:17+00:00] DEBUG: package[runit] checking package status for runit ==> default: [2014-06-11T03:30:17+00:00] DEBUG: package[runit] current version is nil ==> default: [2014-06-11T03:30:17+00:00] DEBUG: package[runit] candidate version is 2.1.1-6.2ubuntu2.1 ==> default: [2014-06-11T03:30:17+00:00] DEBUG: Creating directory /var/chef/cache/preseed ==> default: [2014-06-11T03:30:17+00:00] DEBUG: Creating directory /var/chef/cache/preseed/runit ==> default: [2014-06-11T03:30:17+00:00] DEBUG: package[runit] fetching preseed file to /var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed ==> default: [2014-06-11T03:30:17+00:00] DEBUG: package[runit] fetching preseed file via Template resource failed, fallback to CookbookFile resource ==> default: [2014-06-11T03:30:17+00:00] INFO: Processing cookbook_file[/var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed] action create (dynamically defined) ==> default: [2014-06-11T03:30:17+00:00] DEBUG: File /var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed does not exist, so there is no checksum to generate ==> default: [2014-06-11T03:30:17+00:00] DEBUG: cookbook_file[/var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed] has new contents ==> default: [2014-06-11T03:30:17+00:00] DEBUG: cookbook_file[/var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed] staging /tmp/vagrant-chef-5/chef-solo-1/cookbooks/runit/files/default/runit.seed to /tmp/runit-2.1.1-6.2ubuntu2.1.seed20140611-1126-1qhvuyy-0 ==> default: [2014-06-11T03:30:17+00:00] INFO: cookbook_file[/var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed] created file /var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed ==> default: [2014-06-11T03:30:17+00:00] DEBUG: package[runit] fetched preseed file to /var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed ==> default: [2014-06-11T03:30:17+00:00] INFO: package[runit] pre-seeding package installation instructions ==> default: [2014-06-11T03:30:17+00:00] DEBUG: Executing debconf-set-selections /var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed ==> default: [2014-06-11T03:30:18+00:00] DEBUG: ---- Begin output of debconf-set-selections /var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed ---- ==> default: [2014-06-11T03:30:18+00:00] DEBUG: STDOUT: ==> default: [2014-06-11T03:30:18+00:00] DEBUG: STDERR: ==> default: [2014-06-11T03:30:18+00:00] DEBUG: ---- End output of debconf-set-selections /var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed ---- ==> default: [2014-06-11T03:30:18+00:00] DEBUG: Ran debconf-set-selections /var/chef/cache/preseed/runit/runit-2.1.1-6.2ubuntu2.1.seed returned 0 ==> default: [2014-06-11T03:30:18+00:00] DEBUG: Executing apt-get -q -y install runit=2.1.1-6.2ubuntu2.1 ==> default: [2014-06-11T03:30:19+00:00] DEBUG: ---- Begin output of apt-get -q -y install runit=2.1.1-6.2ubuntu2.1 ---- ==> default: [2014-06-11T03:30:19+00:00] DEBUG: STDOUT: Reading package lists... ==> default: Building dependency tree... ==> default: Reading state information... ==> default: The following extra packages will be installed: ==> default: fgetty ==> default: Suggested packages: ==> default: socklog-run ==> default: The following NEW packages will be installed: ==> default: fgetty runit ==> default: 0 upgraded, 2 newly installed, 0 to remove and 160 not upgraded. ==> default: Need to get 132 kB of archives. ==> default: After this operation, 542 kB of additional disk space will be used. ==> default: Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/universe fgetty amd64 0.6-5build1 [25.4 kB] ==> default: Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/universe runit amd64 2.1.1-6.2ubuntu2.1 [107 kB] ==> default: Fetched 132 kB in 0s (787 kB/s) ==> default: Selecting previously unselected package fgetty. ==> default: (Reading database ... 51266 files and directories currently installed.) ==> default: Unpacking fgetty (from .../fgetty_0.6-5build1_amd64.deb) ... ==> default: Selecting previously unselected package runit. ==> default: Unpacking runit (from .../runit_2.1.1-6.2ubuntu2.1_amd64.deb) ... ==> default: Processing triggers for man-db ... ==> default: Processing triggers for ureadahead ... ==> default: ureadahead will be reprofiled on next reboot ==> default: Setting up fgetty (0.6-5build1) ... ==> default: Setting up runit (2.1.1-6.2ubuntu2.1) ... ==> default: [2014-06-11T03:30:19+00:00] DEBUG: STDERR: runsvdir start/running, process 1655 ==> default: [2014-06-11T03:30:19+00:00] DEBUG: ---- End output of apt-get -q -y install runit=2.1.1-6.2ubuntu2.1 ---- ==> default: [2014-06-11T03:30:19+00:00] DEBUG: Ran apt-get -q -y install runit=2.1.1-6.2ubuntu2.1 returned 0 ==> default: [2014-06-11T03:30:19+00:00] INFO: package[runit] sending nothing action to executestart-runsvdir ==> default: [2014-06-11T03:30:19+00:00] INFO: Processing execute[start-runsvdir] action nothing (runit::default line 24) ==> default: [2014-06-11T03:30:19+00:00] DEBUG: Doing nothing for execute[start-runsvdir] ==> default: [2014-06-11T03:30:19+00:00] INFO: package[runit] sending nothing action to executerunit-hup-init ==> default: [2014-06-11T03:30:19+00:00] INFO: Processing execute[runit-hup-init] action nothing (runit::default line 33) ==> default: [2014-06-11T03:30:19+00:00] DEBUG: Skipping execute[runit-hup-init] due to only_if command grep ^SV /etc/inittab ==> default: [2014-06-11T03:30:19+00:00] INFO: Processing package[python] action install (python::package line 40) ==> default: [2014-06-11T03:30:19+00:00] DEBUG: package[python] checking package status for python ==> default: [2014-06-11T03:30:20+00:00] DEBUG: package[python] current version is 2.7.3-0ubuntu2 ==> default: [2014-06-11T03:30:20+00:00] DEBUG: package[python] candidate version is 2.7.3-0ubuntu2.2 ==> default: [2014-06-11T03:30:20+00:00] DEBUG: package[python] is already installed - nothing to do ==> default: [2014-06-11T03:30:20+00:00] INFO: Processing package[python-dev] action install (python::package line 40) ==> default: [2014-06-11T03:30:20+00:00] DEBUG: package[python-dev] checking package status for python-dev ==> default: [2014-06-11T03:30:20+00:00] DEBUG: package[python-dev] current version is nil ==> default: [2014-06-11T03:30:20+00:00] DEBUG: package[python-dev] candidate version is 2.7.3-0ubuntu2.2 ==> default: [2014-06-11T03:30:20+00:00] DEBUG: Executing apt-get -q -y install python-dev=2.7.3-0ubuntu2.2 ==> default: [2014-06-11T03:31:13+00:00] DEBUG: ---- Begin output of apt-get -q -y install python-dev=2.7.3-0ubuntu2.2 ---- ==> default: [2014-06-11T03:31:13+00:00] DEBUG: STDOUT: Reading package lists... ==> default: Building dependency tree... ==> default: Reading state information... ==> default: The following extra packages will be installed: ==> default: libexpat1 libexpat1-dev libpython2.7 python python-minimal python2.7 ==> default: python2.7-dev python2.7-minimal ==> default: Suggested packages: ==> default: python-doc python-tk python2.7-doc binfmt-support ==> 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 155 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.5 [2,675 kB] ==> default: Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python2.7-minimal amd64 2.7.3-0ubuntu3.5 [1,743 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.5 [1,188 kB] ==> default: Get:8 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python2.7-dev amd64 2.7.3-0ubuntu3.5 [29.5 MB] ==> default: Get:9 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python-dev amd64 2.7.3-0ubuntu2.2 [1,090 B] ==> default: Fetched 35.7 MB in 48s (733 kB/s) ==> default: (Reading database ... 51343 files and directories currently installed.) ==> default: Preparing to replace python2.7 2.7.3-0ubuntu3 (using .../python2.7_2.7.3-0ubuntu3.5_amd64.deb) ... ==> default: Unpacking replacement python2.7 ... ==> default: Preparing to replace python2.7-minimal 2.7.3-0ubuntu3 (using .../python2.7-minimal_2.7.3-0ubuntu3.5_amd64.deb) ... ==> default: Unpacking replacement python2.7-minimal ... ==> default: Processing triggers for man-db ... ==> default: Setting up python2.7-minimal (2.7.3-0ubuntu3.5) ... ==> default: (Reading database ... 51342 files and directories currently installed.) ==> default: Preparing to replace libexpat1 2.0.1-7.2ubuntu1 (using .../libexpat1_2.0.1-7.2ubuntu1.1_amd64.deb) ... ==> default: Unpacking replacement libexpat1 ... ==> default: Preparing to replace python-minimal 2.7.3-0ubuntu2 (using .../python-minimal_2.7.3-0ubuntu2.2_amd64.deb) ... ==> default: Unpacking replacement python-minimal ... ==> default: Processing triggers for man-db ... ==> default: Setting up python-minimal (2.7.3-0ubuntu2.2) ... ==> default: (Reading database ... 51342 files and directories currently installed.) ==> default: Preparing to replace python 2.7.3-0ubuntu2 (using .../python_2.7.3-0ubuntu2.2_amd64.deb) ... ==> default: Unpacking replacement python ... ==> default: Selecting previously unselected package libexpat1-dev. ==> default: Unpacking libexpat1-dev (from .../libexpat1-dev_2.0.1-7.2ubuntu1.1_amd64.deb) ... ==> default: Selecting previously unselected package libpython2.7. ==> default: Unpacking libpython2.7 (from .../libpython2.7_2.7.3-0ubuntu3.5_amd64.deb) ... ==> default: Selecting previously unselected package python2.7-dev. ==> default: Unpacking python2.7-dev (from .../python2.7-dev_2.7.3-0ubuntu3.5_amd64.deb) ... ==> default: Selecting previously unselected package python-dev. ==> default: Unpacking python-dev (from .../python-dev_2.7.3-0ubuntu2.2_amd64.deb) ... ==> default: Processing triggers for man-db ... ==> default: Setting up libexpat1 (2.0.1-7.2ubuntu1.1) ... ==> default: Setting up python2.7 (2.7.3-0ubuntu3.5) ... ==> default: Setting up python (2.7.3-0ubuntu2.2) ... ==> default: Setting up libexpat1-dev (2.0.1-7.2ubuntu1.1) ... ==> default: Setting up libpython2.7 (2.7.3-0ubuntu3.5) ... ==> default: Setting up python2.7-dev (2.7.3-0ubuntu3.5) ... ==> default: Setting up python-dev (2.7.3-0ubuntu2.2) ... ==> default: Processing triggers for libc-bin ... ==> default: ldconfig deferred processing now taking place ==> default: [2014-06-11T03:31:13+00:00] DEBUG: STDERR: ==> default: [2014-06-11T03:31:13+00:00] DEBUG: ---- End output of apt-get -q -y install python-dev=2.7.3-0ubuntu2.2 ---- ==> default: [2014-06-11T03:31:13+00:00] DEBUG: Ran apt-get -q -y install python-dev=2.7.3-0ubuntu2.2 returned 0 ==> default: [2014-06-11T03:31:14+00:00] INFO: Processing remote_file[/var/chef/cache/ez_setup.py] action create (python::pip line 36) ==> default: [2014-06-11T03:31:14+00:00] DEBUG: remote_file[/var/chef/cache/ez_setup.py] checking for changes ==> default: [2014-06-11T03:31:14+00:00] DEBUG: Sending HTTP Request via GET to bitbucket.org:443/pypa/setuptools/raw/0.8/ez_setup.py ==> default: [2014-06-11T03:31:15+00:00] DEBUG: Streaming download from https://bitbucket.org/pypa/setuptools/raw/0.8/ez_setup.py to tempfile /tmp/chef-rest20140611-1126-15ehkya-0 ==> default: [2014-06-11T03:31:15+00:00] DEBUG: decompressing gzip stream ==> default: [2014-06-11T03:31:15+00:00] DEBUG: remote_file[/var/chef/cache/ez_setup.py] checking for file existence of /var/chef/cache/ez_setup.py ==> default: [2014-06-11T03:31:15+00:00] DEBUG: remote_file[/var/chef/cache/ez_setup.py] creating /var/chef/cache/ez_setup.py ==> default: [2014-06-11T03:31:15+00:00] INFO: remote_file[/var/chef/cache/ez_setup.py] updated ==> default: [2014-06-11T03:31:15+00:00] INFO: remote_file[/var/chef/cache/ez_setup.py] mode changed to 644 ==> default: [2014-06-11T03:31:15+00:00] INFO: Processing remote_file[/var/chef/cache/get-pip.py] action create (python::pip line 42) ==> default: [2014-06-11T03:31:15+00:00] DEBUG: remote_file[/var/chef/cache/get-pip.py] checking for changes ==> default: [2014-06-11T03:31:15+00:00] DEBUG: Sending HTTP Request via GET to raw.github.com:443/pypa/pip/master/contrib/get-pip.py ==> default: [2014-06-11T03:31:16+00:00] DEBUG: Streaming download from https://raw.github.com/pypa/pip/master/contrib/get-pip.py to tempfile /tmp/chef-rest20140611-1126-f8smwu-0 ==> default: [2014-06-11T03:31:16+00:00] DEBUG: Following redirect 1/10 ==> default: [2014-06-11T03:31:16+00:00] DEBUG: Sending HTTP Request via GET to raw.githubusercontent.com:443/pypa/pip/master/contrib/get-pip.py ==> default: [2014-06-11T03:31:21+00:00] DEBUG: Streaming download from https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py to tempfile /tmp/chef-rest20140611-1126-1fk193p-0 ==> default: [2014-06-11T03:31:21+00:00] DEBUG: decompressing gzip stream ==> default: [2014-06-11T03:31:22+00:00] DEBUG: remote_file[/var/chef/cache/get-pip.py] checking for file existence of /var/chef/cache/get-pip.py ==> default: [2014-06-11T03:31:22+00:00] DEBUG: remote_file[/var/chef/cache/get-pip.py] creating /var/chef/cache/get-pip.py ==> default: [2014-06-11T03:31:22+00:00] INFO: remote_file[/var/chef/cache/get-pip.py] updated ==> default: [2014-06-11T03:31:22+00:00] INFO: remote_file[/var/chef/cache/get-pip.py] mode changed to 644 ==> default: [2014-06-11T03:31:22+00:00] INFO: Processing execute[install-setuptools] action run (python::pip line 48) ==> default: [2014-06-11T03:31:23+00:00] INFO: execute[install-setuptools] ran successfully ==> default: [2014-06-11T03:31:23+00:00] INFO: Processing execute[install-pip] action run (python::pip line 56) ==> default: [2014-06-11T03:31:25+00:00] INFO: execute[install-pip] ran successfully ==> default: [2014-06-11T03:31:25+00:00] INFO: Processing python_pip[virtualenv] action install (python::virtualenv line 23) ==> default: [2014-06-11T03:31:25+00:00] INFO: Installing python_pip[virtualenv] version latest ==> default: [2014-06-11T03:31:27+00:00] INFO: Processing apt_repository[mongodb-10gen] action add (mtsw2e::default line 6) ==> default: [2014-06-11T03:31:27+00:00] DEBUG: Setting execute[apt-get update] to the state of the prior execute[apt-get update] ==> default: [2014-06-11T03:31:27+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:

==> 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.cAw9RaN9c5 --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: ==> default: Resource Declaration: ==> default: --------------------- ==> default: # In /tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/providers/repository.rb ==> default: ==> default: 27: def install_key_from_keyserver(key, keyserver) ==> default: 28: execute "install-key #{key}" do ==> default: 29: if !node['apt']['key_proxy'].empty? ==> default: 30: command "apt-key adv --keyserver-options http-proxy=#{node['apt']['key_proxy']} --keyserver #{keyserver} --recv

{key}"

==> default: 31: else ==> default: 32: command "apt-key adv --keyserver #{keyserver} --recv

{key}"

==> default: 33: end ==> default: 34: action :run ==> 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: retry_delay 2 ==> default: returns 0 ==> default: command "apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10" ==> default: retries 0 ==> default: action [:run] ==> default: cookbook_name :mtsw2e ==> default: backup 5 ==> default: not_if { #code block } ==> default: end ==> default: [2014-06-11T03:33:28+00:00] DEBUG: Re-raising exception: Mixlib::ShellOut::ShellCommandFailed - executeinstall-key 7F0CEB10 http://tmp/vagrant-chef-5/chef-solo-1/cookbooks/apt/providers/repository.rb%20line%2028 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.cAw9RaN9c5 --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: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/mixlib-shellout-1.1.0/lib/mixlib/shellout.rb:248:ininvalid!' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/mixlib-shellout-1.1.0/lib/mixlib/shellout.rb:234:in error!' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/shell_out.rb:36:inshell_out!' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider/execute.rb:62:in action_run' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:63:incall' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:63:in converge!' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:61:ineach' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:61:in converge!' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider.rb:136:inconverge' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider.rb:125:in run_action' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource.rb:593:inrun_action' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:49:in run_action' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:inconverge' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:in each' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:inconverge' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection.rb:94:in execute_each_resource' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:incall' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in call_iterator_block' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:instep' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in iterate' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:ineach_with_index' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection.rb:92:in execute_each_resource' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:80:inconverge' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:378:in converge' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:420:indo_run' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:176:in run' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:230:inrun_application' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:218:in loop' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:218:inrun_application' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application.rb:70:in run' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/chef-solo:25 ==> default: /opt/vagrant_ruby/bin/chef-solo:19:inload' ==> default: /opt/vagrant_ruby/bin/chef-solo:19 ==> default: [2014-06-11T03:33:28+00:00] ERROR: Running exception handlers ==> default: [2014-06-11T03:33:28+00:00] ERROR: Exception handlers complete ==> default: [2014-06-11T03:33:28+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out ==> default: [2014-06-11T03:33:28+00:00] DEBUG: Mixlib::ShellOut::ShellCommandFailed: executeinstall-key 7F0CEB10 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.cAw9RaN9c5 --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: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/mixlib-shellout-1.1.0/lib/mixlib/shellout.rb:248:in invalid!' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/mixlib-shellout-1.1.0/lib/mixlib/shellout.rb:234:inerror!' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/shell_out.rb:36:in shell_out!' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider/execute.rb:62:inaction_run' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:63:in call' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:63:inconverge!' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:61:in each' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:61:inconverge!' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider.rb:136:in converge' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider.rb:125:inrun_action' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource.rb:593:in run_action' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:49:inrun_action' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:in converge' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:ineach' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:in converge' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection.rb:94:inexecute_each_resource' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in call' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:incall_iterator_block' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in step' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:initerate' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in each_with_index' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection.rb:92:inexecute_each_resource' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:80:in converge' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:378:inconverge' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:420:in do_run' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:176:inrun' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:230:in run_application' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:218:inloop' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:218:in run_application' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application.rb:70:inrun' ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/chef-solo:25 ==> default: /opt/vagrant_ruby/bin/chef-solo:19:in `load' ==> default: /opt/vagrant_ruby/bin/chef-solo:19 ==> default: [2014-06-11T03:33:28+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: executeinstall-key 7F0CEB10 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.cAw9RaN9c5 --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 Chef never successfully completed! Any errors should be visible in the output above. Please fix your recipes so that they properly complete.

— Reply to this email directly or view it on GitHub https://github.com/ptwobrussell/Mining-the-Social-Web-2nd-Edition/issues/204 .

MyaThandar commented 10 years ago

Thanks your reply. Actually I would like to know how to solve this problem as fast as u could. Im the newbie of extraction tweets.

skyvory commented 9 years ago

Think I have a similar problem. Could you give me at least a temporary fix for this? I need this working as soon as possible. Here's my log:

Bringing machine 'default' up with 'virtualbox' provider... [default] Clearing any previously set forwarded ports... [default] Clearing any previously set network interfaces... [default] Preparing network interfaces based on configuration... [default] Forwarding ports... [default] -- 22 => 2222 (adapter 1) [default] -- 8888 => 8888 (adapter 1) [default] -- 5000 => 5000 (adapter 1) [default] -- 27017 => 27017 (adapter 1) [default] -- 27018 => 27018 (adapter 1) [default] -- 27019 => 27019 (adapter 1) [default] -- 28017 => 28017 (adapter 1) [default] Running 'pre-boot' VM customizations... [default] Booting VM... [default] Waiting for machine to boot. This may take a few minutes... [default] Machine booted and ready! [default] Mounting shared folders... [default] -- /vagrant [default] -- /tmp/vagrant-chef-1/chef-solo-1/cookbooks [default] VM already provisioned. Run vagrant provision or use --provision to force it skyvory@SummerdreamIII:~/git/mining$ vagrant provision [default] Running provisioner: chef_solo... Generating chef JSON and uploading... Running chef-solo... stdin: is not a tty [2014-12-13T10:06:00+00:00] INFO: * Chef 10.14.2 * [2014-12-13T10:06:01+00:00] DEBUG: Building node object for precise64 [2014-12-13T10:06:01+00:00] DEBUG: Extracting run list from JSON attributes provided on command line [2014-12-13T10:06:01+00:00] INFO: Setting the run_list to ["recipe[mtsw2e::default]"] from JSON [2014-12-13T10:06:01+00:00] DEBUG: Applying attributes from json file [2014-12-13T10:06:01+00:00] DEBUG: Platform is ubuntu version 12.04 [2014-12-13T10:06:01+00:00] INFO: Run List is [recipe[mtsw2e::default]] [2014-12-13T10:06:01+00:00] INFO: Run List expands to [mtsw2e::default] [2014-12-13T10:06:01+00:00] INFO: Starting Chef Run for precise64 [2014-12-13T10:06:01+00:00] INFO: Running start handlers [2014-12-13T10:06:01+00:00] INFO: Start handlers complete. [2014-12-13T10:06:01+00:00] DEBUG: No chefignore file found at /tmp/vagrant-chef-1/chef-solo-1/cookbooks/chefignore no files will be ignored [2014-12-13T10:06:01+00:00] DEBUG: Loading cookbook runit's library file: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/runit/libraries/provider_runit_service.rb [2014-12-13T10:06:01+00:00] DEBUG: Loading cookbook runit's library file: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/runit/libraries/default.rb [2014-12-13T10:06:01+00:00] DEBUG: Loading cookbook runit's library file: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/runit/libraries/resource_runit_service.rb [2014-12-13T10:06:01+00:00] DEBUG: Loading cookbook python's providers from /tmp/vagrant-chef-1/chef-solo-1/cookbooks/python/providers/virtualenv.rb [2014-12-13T10:06:01+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-1/chef-solo-1/cookbooks/python/providers/virtualenv.rb into a provider named python_virtualenv defined in Chef::Provider::PythonVirtualenv [2014-12-13T10:06:01+00:00] DEBUG: Loading cookbook python's providers from /tmp/vagrant-chef-1/chef-solo-1/cookbooks/python/providers/pip.rb [2014-12-13T10:06:01+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-1/chef-solo-1/cookbooks/python/providers/pip.rb into a provider named python_pip defined in Chef::Provider::PythonPip [2014-12-13T10:06:01+00:00] DEBUG: Loading cookbook yum's providers from /tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/providers/repository.rb [2014-12-13T10:06:01+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/providers/repository.rb into a provider named yum_repository defined in Chef::Provider::YumRepository [2014-12-13T10:06:01+00:00] DEBUG: Loading cookbook yum's providers from /tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/providers/key.rb [2014-12-13T10:06:01+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/providers/key.rb into a provider named yum_key defined in Chef::Provider::YumKey [2014-12-13T10:06:01+00:00] DEBUG: Loading cookbook apt's providers from /tmp/vagrant-chef-1/chef-solo-1/cookbooks/apt/providers/repository.rb [2014-12-13T10:06:01+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-1/chef-solo-1/cookbooks/apt/providers/repository.rb into a provider named apt_repository defined in Chef::Provider::AptRepository [2014-12-13T10:06:01+00:00] DEBUG: Loading cookbook apt's providers from /tmp/vagrant-chef-1/chef-solo-1/cookbooks/apt/providers/preference.rb [2014-12-13T10:06:01+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-1/chef-solo-1/cookbooks/apt/providers/preference.rb into a provider named apt_preference defined in Chef::Provider::AptPreference [2014-12-13T10:06:01+00:00] DEBUG: Loading cookbook python's resources from /tmp/vagrant-chef-1/chef-solo-1/cookbooks/python/resources/pip.rb [2014-12-13T10:06:01+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-1/chef-solo-1/cookbooks/python/resources/pip.rb into a resource named python_pip defined in Chef::Resource::PythonPip [2014-12-13T10:06:01+00:00] DEBUG: Loading cookbook python's resources from /tmp/vagrant-chef-1/chef-solo-1/cookbooks/python/resources/virtualenv.rb [2014-12-13T10:06:01+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-1/chef-solo-1/cookbooks/python/resources/virtualenv.rb into a resource named python_virtualenv defined in Chef::Resource::PythonVirtualenv [2014-12-13T10:06:01+00:00] DEBUG: Loading cookbook yum's resources from /tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/resources/key.rb [2014-12-13T10:06:01+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/resources/key.rb into a resource named yum_key defined in Chef::Resource::YumKey [2014-12-13T10:06:01+00:00] DEBUG: Loading cookbook yum's resources from /tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/resources/repository.rb [2014-12-13T10:06:01+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/resources/repository.rb into a resource named yum_repository defined in Chef::Resource::YumRepository [2014-12-13T10:06:01+00:00] DEBUG: Loading cookbook apt's resources from /tmp/vagrant-chef-1/chef-solo-1/cookbooks/apt/resources/preference.rb [2014-12-13T10:06:01+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-1/chef-solo-1/cookbooks/apt/resources/preference.rb into a resource named apt_preference defined in Chef::Resource::AptPreference [2014-12-13T10:06:01+00:00] DEBUG: Loading cookbook apt's resources from /tmp/vagrant-chef-1/chef-solo-1/cookbooks/apt/resources/repository.rb [2014-12-13T10:06:01+00:00] DEBUG: Loaded contents of /tmp/vagrant-chef-1/chef-solo-1/cookbooks/apt/resources/repository.rb into a resource named apt_repository defined in Chef::Resource::AptRepository [2014-12-13T10:06:01+00:00] DEBUG: Node precise64 loading cookbook python's attribute file /tmp/vagrant-chef-1/chef-solo-1/cookbooks/python/attributes/default.rb [2014-12-13T10:06:01+00:00] DEBUG: Node precise64 loading cookbook yum's attribute file /tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/attributes/remi.rb [2014-12-13T10:06:01+00:00] DEBUG: Node precise64 loading cookbook yum's attribute file /tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/attributes/epel.rb [2014-12-13T10:06:01+00:00] DEBUG: Node precise64 loading cookbook yum's attribute file /tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/attributes/default.rb [2014-12-13T10:06:01+00:00] DEBUG: Node precise64 loading cookbook yum's attribute file /tmp/vagrant-chef-1/chef-solo-1/cookbooks/yum/attributes/elrepo.rb [2014-12-13T10:06:01+00:00] DEBUG: Node precise64 loading cookbook runit's attribute file /tmp/vagrant-chef-1/chef-solo-1/cookbooks/runit/attributes/default.rb [2014-12-13T10:06:01+00:00] DEBUG: Node precise64 loading cookbook apt's attribute file /tmp/vagrant-chef-1/chef-solo-1/cookbooks/apt/attributes/default.rb [2014-12-13T10:06:01+00:00] DEBUG: Node precise64 loading cookbook build-essential's attribute file /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/attributes/default.rb [2014-12-13T10:06:01+00:00] DEBUG: Loading Recipe mtsw2e::default via include_recipe [2014-12-13T10:06:01+00:00] DEBUG: Found recipe default in cookbook mtsw2e [2014-12-13T10:06:01+00:00] DEBUG: Loading Recipe apt via include_recipe [2014-12-13T10:06:01+00:00] DEBUG: Found recipe default in cookbook apt [2014-12-13T10:06:01+00:00] DEBUG: Loading Recipe runit via include_recipe [2014-12-13T10:06:01+00:00] DEBUG: Found recipe default in cookbook runit [2014-12-13T10:06:01+00:00] DEBUG: Loading Recipe python via include_recipe [2014-12-13T10:06:01+00:00] DEBUG: Found recipe default in cookbook python [2014-12-13T10:06:01+00:00] DEBUG: Loading Recipe python::package via include_recipe [2014-12-13T10:06:01+00:00] DEBUG: Found recipe package in cookbook python [2014-12-13T10:06:01+00:00] DEBUG: Loading Recipe python::pip via include_recipe [2014-12-13T10:06:01+00:00] DEBUG: Found recipe pip in cookbook python [2014-12-13T10:06:01+00:00] DEBUG: Loading Recipe python::virtualenv via include_recipe [2014-12-13T10:06:01+00:00] DEBUG: Found recipe virtualenv in cookbook python [2014-12-13T10:06:01+00:00] DEBUG: I am not loading python::pip, because I have already seen it. [2014-12-13T10:06:01+00:00] DEBUG: Loading from cookbook_path: /tmp/vagrant-chef-1/chef-solo-1/cookbooks [2014-12-13T10:06:01+00:00] DEBUG: Converging node precise64 [2014-12-13T10:06:01+00:00] INFO: Processing execute[apt-get-update] action run (apt::default line 22) [2014-12-13T10:06:06+00:00] INFO: execute[apt-get-update] ran successfully [2014-12-13T10:06:06+00:00] INFO: Processing execute[apt-get update] action nothing (apt::default line 29) [2014-12-13T10:06:06+00:00] DEBUG: Doing nothing for execute[apt-get update] [2014-12-13T10:06:06+00:00] INFO: Processing execute[apt-get autoremove] action nothing (apt::default line 36) [2014-12-13T10:06:06+00:00] DEBUG: Doing nothing for execute[apt-get autoremove] [2014-12-13T10:06:06+00:00] INFO: Processing execute[apt-get autoclean] action nothing (apt::default line 42) [2014-12-13T10:06:06+00:00] DEBUG: Doing nothing for execute[apt-get autoclean] [2014-12-13T10:06:06+00:00] INFO: Processing package[update-notifier-common] action install (apt::default line 48) [2014-12-13T10:06:06+00:00] DEBUG: package[update-notifier-common] checking package status for update-notifier-common [2014-12-13T10:06:06+00:00] DEBUG: package[update-notifier-common] current version is nil [2014-12-13T10:06:06+00:00] DEBUG: package[update-notifier-common] candidate version is 0.119ubuntu8.5 [2014-12-13T10:06:06+00:00] DEBUG: Executing apt-get -q -y install update-notifier-common=0.119ubuntu8.5 [2014-12-13T10:06:07+00:00] DEBUG: ---- Begin output of apt-get -q -y install update-notifier-common=0.119ubuntu8.5 ---- [2014-12-13T10:06:07+00:00] DEBUG: STDOUT: Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: patch Suggested packages: diffutils-doc gksu The following NEW packages will be installed: patch update-notifier-common 0 upgraded, 2 newly installed, 0 to remove and 66 not upgraded. Need to get 303 kB of archives. After this operation, 2,214 kB of additional disk space will be used. Err http://us.archive.ubuntu.com/ubuntu/ precise/main patch amd64 2.6.1-3 Temporary failure resolving 'us.archive.ubuntu.com' Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main update-notifier-common all 0.119ubuntu8.5 Temporary failure resolving 'us.archive.ubuntu.com' [2014-12-13T10:06:07+00:00] DEBUG: STDERR: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/patch/patch_2.6.1-3_amd64.deb Temporary failure resolving 'us.archive.ubuntu.com' Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/u/update-notifier/update-notifier-common_0.119ubuntu8.5_all.deb Temporary failure resolving 'us.archive.ubuntu.com' E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? [2014-12-13T10:06:07+00:00] DEBUG: ---- End output of apt-get -q -y install update-notifier-common=0.119ubuntu8.5 ---- [2014-12-13T10:06:07+00:00] DEBUG: Ran apt-get -q -y install update-notifier-common=0.119ubuntu8.5 returned 100

Error executing action install on resource 'package[update-notifier-common]'

Chef::Exceptions::Exec

apt-get -q -y install update-notifier-common=0.119ubuntu8.5 returned 100, expected 0 ---- Begin output of apt-get -q -y install update-notifier-common=0.119ubuntu8.5 ---- STDOUT: Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: patch Suggested packages: diffutils-doc gksu The following NEW packages will be installed: patch update-notifier-common 0 upgraded, 2 newly installed, 0 to remove and 66 not upgraded. Need to get 303 kB of archives. After this operation, 2,214 kB of additional disk space will be used. Err http://us.archive.ubuntu.com/ubuntu/ precise/main patch amd64 2.6.1-3 Temporary failure resolving 'us.archive.ubuntu.com' Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main update-notifier-common all 0.119ubuntu8.5 Temporary failure resolving 'us.archive.ubuntu.com'STDERR: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/patch/patch_2.6.1-3_amd64.deb Temporary failure resolving 'us.archive.ubuntu.com' Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/u/update-notifier/update-notifier-common_0.119ubuntu8.5_all.deb Temporary failure resolving 'us.archive.ubuntu.com' E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? ---- End output of apt-get -q -y install update-notifier-common=0.119ubuntu8.5 ----

Resource Declaration:

In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/apt/recipes/default.rb

47: # provides /var/lib/apt/periodic/update-success-stamp on apt-get update 48: package "update-notifier-common" do 49: notifies :run, 'execute[apt-get-update]', :immediately 50: end 51:

Compiled Resource:

Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/apt/recipes/default.rb:48:in `from_file'

package("update-notifier-common") do retry_delay 2 retries 0 recipe_name "default" action :install cookbook_name :apt package_name "update-notifier-common" end

[2014-12-13T10:06:07+00:00] DEBUG: Re-raising exception: Chef::Exceptions::Exec - package[update-notifier-common](apt::default line 48) had an error: Chef::Exceptions::Exec: apt-get -q -y install update-notifier-common=0.119ubuntu8.5 returned 100, expected 0 ---- Begin output of apt-get -q -y install update-notifier-common=0.119ubuntu8.5 ---- STDOUT: Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: patch Suggested packages: diffutils-doc gksu The following NEW packages will be installed: patch update-notifier-common 0 upgraded, 2 newly installed, 0 to remove and 66 not upgraded. Need to get 303 kB of archives. After this operation, 2,214 kB of additional disk space will be used. Err http://us.archive.ubuntu.com/ubuntu/ precise/main patch amd64 2.6.1-3 Temporary failure resolving 'us.archive.ubuntu.com' Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main update-notifier-common all 0.119ubuntu8.5 Temporary failure resolving 'us.archive.ubuntu.com'STDERR: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/patch/patch_2.6.1-3_amd64.deb Temporary failure resolving 'us.archive.ubuntu.com' Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/u/update-notifier/update-notifier-common_0.119ubuntu8.5_all.deb Temporary failure resolving 'us.archive.ubuntu.com' E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? ---- End output of apt-get -q -y install update-notifier-common=0.119ubuntu8.5 ----

/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/command.rb:128:in handle_command_failures' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/command.rb:75:inrun_command' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/command.rb:143:in run_command_with_systems_locale' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider/package/apt.rb:97:ininstall_package' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider/package.rb:81:in action_install' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:63:incall' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:63:in converge!' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:61:ineach' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:61:in converge!' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider.rb:136:inconverge' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider.rb:125:in run_action' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource.rb:593:inrun_action' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:49:in run_action' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:inconverge' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:in each' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:inconverge' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection.rb:94:in execute_each_resource' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:incall' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in call_iterator_block' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:instep' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in iterate' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:ineach_with_index' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection.rb:92:in execute_each_resource' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:80:inconverge' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:378:in converge' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:420:indo_run' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:176:in run' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:230:inrun_application' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:218:in loop' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:218:inrun_application' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application.rb:70:in run' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/chef-solo:25 /opt/vagrant_ruby/bin/chef-solo:19:inload' /opt/vagrant_ruby/bin/chef-solo:19 [2014-12-13T10:06:07+00:00] ERROR: Running exception handlers [2014-12-13T10:06:07+00:00] ERROR: Exception handlers complete [2014-12-13T10:06:07+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out [2014-12-13T10:06:07+00:00] DEBUG: Chef::Exceptions::Exec: package[update-notifier-common](apt::default line 48) had an error: Chef::Exceptions::Exec: apt-get -q -y install update-notifier-common=0.119ubuntu8.5 returned 100, expected 0 ---- Begin output of apt-get -q -y install update-notifier-common=0.119ubuntu8.5 ---- STDOUT: Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: patch Suggested packages: diffutils-doc gksu The following NEW packages will be installed: patch update-notifier-common 0 upgraded, 2 newly installed, 0 to remove and 66 not upgraded. Need to get 303 kB of archives. After this operation, 2,214 kB of additional disk space will be used. Err http://us.archive.ubuntu.com/ubuntu/ precise/main patch amd64 2.6.1-3 Temporary failure resolving 'us.archive.ubuntu.com' Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main update-notifier-common all 0.119ubuntu8.5 Temporary failure resolving 'us.archive.ubuntu.com'STDERR: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/patch/patch_2.6.1-3_amd64.deb Temporary failure resolving 'us.archive.ubuntu.com' Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/u/update-notifier/update-notifier-common_0.119ubuntu8.5_all.deb Temporary failure resolving 'us.archive.ubuntu.com' E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? ---- End output of apt-get -q -y install update-notifier-common=0.119ubuntu8.5 ----

/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/command.rb:128:in handle_command_failures' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/command.rb:75:inrun_command' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/command.rb:143:in run_command_with_systems_locale' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider/package/apt.rb:97:ininstall_package' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider/package.rb:81:in action_install' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:63:incall' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:63:in converge!' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:61:ineach' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:61:in converge!' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider.rb:136:inconverge' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider.rb:125:in run_action' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource.rb:593:inrun_action' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:49:in run_action' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:inconverge' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:in each' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:inconverge' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection.rb:94:in execute_each_resource' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:incall' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in call_iterator_block' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:instep' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in iterate' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:ineach_with_index' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection.rb:92:in execute_each_resource' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:80:inconverge' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:378:in converge' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:420:indo_run' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:176:in run' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:230:inrun_application' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:218:in loop' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:218:inrun_application' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application.rb:70:in run' /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/chef-solo:25 /opt/vagrant_ruby/bin/chef-solo:19:inload' /opt/vagrant_ruby/bin/chef-solo:19 [2014-12-13T10:06:07+00:00] FATAL: Chef::Exceptions::Exec: package[update-notifier-common](apt::default line 48) had an error: Chef::Exceptions::Exec: apt-get -q -y install update-notifier-common=0.119ubuntu8.5 returned 100, expected 0 ---- Begin output of apt-get -q -y install update-notifier-common=0.119ubuntu8.5 ---- STDOUT: Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: patch Suggested packages: diffutils-doc gksu The following NEW packages will be installed: patch update-notifier-common 0 upgraded, 2 newly installed, 0 to remove and 66 not upgraded. Need to get 303 kB of archives. After this operation, 2,214 kB of additional disk space will be used. Err http://us.archive.ubuntu.com/ubuntu/ precise/main patch amd64 2.6.1-3 Temporary failure resolving 'us.archive.ubuntu.com' Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main update-notifier-common all 0.119ubuntu8.5 Temporary failure resolving 'us.archive.ubuntu.com'STDERR: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/patch/patch_2.6.1-3_amd64.deb Temporary failure resolving 'us.archive.ubuntu.com' Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/u/update-notifier/update-notifier-common_0.119ubuntu8.5_all.deb Temporary failure resolving 'us.archive.ubuntu.com' E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? ---- End output of apt-get -q -y install update-notifier-common=0.119ubuntu8.5 ----

Chef never successfully completed! Any errors should be visible in the output above. Please fix your recipes so that they properly complete.

DeBelle commented 9 years ago

Same problem for me I think, how do I solve this......

anammari commented 9 years ago

Same problem here. Here is the log:

==> default: ================================================================================ ==> default: Error executing action run on resource 'execute[install-setuptools]' ==> default: ================================================================================ ==> default: ==> default: ==> default: Mixlib::ShellOut::ShellCommandFailed ==> default: ------------------------------------ ==> default: 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: ==> 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/113e6388a9c7a93a1e2ad48d1fc60c1b/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: 51: #{node['python']['binary']} ez_setup.py ==> default: 52: EOF ==> default: 53: not_if "#{node['python']['binary']} -c 'import setuptools'" ==> default: 54: end ==> default: ==> default: 55: ==> default: ==> default: ==> default: ==> default: Compiled Resource: ==> default: ------------------ ==> default: # Declared in /tmp/vagrant-chef/113e6388a9c7a93a1e2ad48d1fc60c1b/cookbooks/python/recipes/pip.rb:48:in from_file' ==> default: ==> default: ==> default: execute("install-setuptools") do ==> default: action "run" ==> default: retries 0 ==> default: retry_delay 2 ==> default: ==> default: default_guard_interpreter :execute ==> default: ==> default: command " /bin/python ez_setup.py\n" ==> default: backup 5 ==> default: cwd "/var/chef/cache" ==> default: returns 0 ==> default: declared_type :execute ==> default: cookbook_name :python ==> default: recipe_name "pip" ==> default: ==> default: not_if "/bin/python -c 'import setuptools'" ==> default: ==> default: end ==> default: ==> default: ==> default: [2015-02-12T21:44:13+00:00] INFO: Running queued delayed notifications before re-raising exception ==> default: [2015-02-12T21:44:13+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-02-12T21:44:13+00:00] ERROR: Running exception handlers ==> default: [2015-02-12T21:44:13+00:00] ERROR: Exception handlers complete ==> default: [2015-02-12T21:44:13+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out ==> default: [2015-02-12T21:44:13+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-02-12T21:44:13+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-02-12T21:44: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.