Created
December 9, 2013 18:30
-
-
Save dsdobrzynski/7877893 to your computer and use it in GitHub Desktop.
apt-get update 404 causes vagrant provision to error out
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vagrant provision | |
| /Users/dsdobrzynski/.vagrant.d/gems/gems/vagrant-berkshelf-1.3.4/lib/berkshelf/vagrant/action/load_shelf.rb:37:in `initialize': No such file or directory - .vagrant/machines/default/berkshelf (Errno::ENOENT) | |
| from /Users/dsdobrzynski/.vagrant.d/gems/gems/vagrant-berkshelf-1.3.4/lib/berkshelf/vagrant/action/load_shelf.rb:37:in `open' | |
| from /Users/dsdobrzynski/.vagrant.d/gems/gems/vagrant-berkshelf-1.3.4/lib/berkshelf/vagrant/action/load_shelf.rb:37:in `cache_shelf' | |
| from /Users/dsdobrzynski/.vagrant.d/gems/gems/vagrant-berkshelf-1.3.4/lib/berkshelf/vagrant/action/load_shelf.rb:23:in `call' | |
| from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call' | |
| from /Users/dsdobrzynski/.vagrant.d/gems/gems/vagrant-berkshelf-1.3.4/lib/berkshelf/vagrant/action/set_ui.rb:12:in `call' | |
| from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call' | |
| from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builtin/env_set.rb:19:in `call' | |
| from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call' | |
| from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in `call' | |
| from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/warden.rb:34:in `call' | |
| from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/builder.rb:116:in `call' | |
| from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/runner.rb:61:in `block in run' | |
| from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/util/busy.rb:19:in `busy' | |
| from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/action/runner.rb:61:in `run' | |
| from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/machine.rb:147:in `action' | |
| from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/commands/provision/command.rb:26:in `block in execute' | |
| from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/plugin/v2/command.rb:185:in `block in with_target_vms' | |
| from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/plugin/v2/command.rb:183:in `each' | |
| from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/plugin/v2/command.rb:183:in `with_target_vms' | |
| from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/plugins/commands/provision/command.rb:25:in `execute' | |
| from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/cli.rb:38:in `execute' | |
| from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/lib/vagrant/environment.rb:478:in `cli' | |
| from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.5/bin/vagrant:96:in `<top (required)>' | |
| from /Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:in `load' | |
| from /Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:in `<main>' | |
| |ruby-2.0.0-p247| Douglass-MacBook-Pro in ~/Work/gc-forum/build | |
| ± |promet ✗| → cd .. | |
| |ruby-2.0.0-p247| Douglass-MacBook-Pro in ~/Work/gc-forum | |
| ± |promet ✗| → vagrant provision | |
| [Berkshelf] This version of the Berkshelf plugin has not been fully tested on this version of Vagrant. | |
| [Berkshelf] You should check for a newer version of vagrant-berkshelf. | |
| [Berkshelf] If you encounter any errors with this version, please report them at https://github.com/RiotGames/vagrant-berkshelf/issues | |
| [Berkshelf] You can also join the discussion in #berkshelf on Freenode. | |
| [Berkshelf] Updating Vagrant's berkshelf: '/Users/dsdobrzynski/.berkshelf/default/vagrant/berkshelf-20131209-10510-g4humd-default' | |
| [Berkshelf] Installing drupal (0.1.1) from git: 'git://github.com/promet/drupal_cookbook.git' with branch: 'master' at ref: '0e3d00e7189d049ecacd7e3057e6d2d631ed254f' | |
| [Berkshelf] Installing solo-helper (0.0.1) from git: 'https://github.com/glennpratt/solo-helper_cookbook.git' with branch: 'master' at ref: '183b6e411c930ac8e7c638ad3cb10cae6a8af8fc' | |
| [Berkshelf] Using mysql (3.0.12) | |
| [Berkshelf] Using apt (2.0.0) | |
| [Berkshelf] Using database (1.5.2) | |
| [Berkshelf] Using postgresql (3.0.2) | |
| [Berkshelf] Using build-essential (1.4.0) | |
| [Berkshelf] Using openssl (1.1.0) | |
| [Berkshelf] Using aws (0.101.2) | |
| [Berkshelf] Using xfs (1.1.0) | |
| [Berkshelf] Installing apache2 (1.8.4) from site: 'http://cookbooks.opscode.com/api/v1/cookbooks' | |
| [Berkshelf] Using git (2.7.0) | |
| [Berkshelf] Using dmg (1.1.0) | |
| [Berkshelf] Using yum (2.3.0) | |
| [Berkshelf] Using windows (1.10.0) | |
| [Berkshelf] Using chef_handler (1.1.4) | |
| [Berkshelf] Using runit (1.1.6) | |
| [Berkshelf] Installing php (1.2.6) from site: 'http://cookbooks.opscode.com/api/v1/cookbooks' | |
| [Berkshelf] Using xml (1.1.2) | |
| [Berkshelf] Using memcached (1.4.0) | |
| [Berkshelf] Using postfix (3.0.2) | |
| [Berkshelf] Using hostsfile (1.0.2) | |
| [default] Chef 11.8.2 Omnibus package is already installed. | |
| [default] Running provisioner: chef_solo... | |
| Generating chef JSON and uploading... | |
| Running chef-solo... | |
| stdin: is not a tty | |
| [2013-12-09T18:06:47+00:00] INFO: Forking chef instance to converge... | |
| [2013-12-09T18:06:47+00:00] INFO: *** Chef 11.8.2 *** | |
| [2013-12-09T18:06:47+00:00] INFO: Chef-client pid: 25610 | |
| [2013-12-09T18:06:49+00:00] INFO: Setting the run_list to ["recipe[solo-helper]", "recipe[drupal::default]", "recipe[drupal::node_sites]", "recipe[drupal::drush]"] from JSON | |
| [2013-12-09T18:06:49+00:00] INFO: Run List is [recipe[solo-helper], recipe[drupal::default], recipe[drupal::node_sites], recipe[drupal::drush]] | |
| [2013-12-09T18:06:49+00:00] INFO: Run List expands to [solo-helper, drupal::default, drupal::node_sites, drupal::drush] | |
| [2013-12-09T18:06:49+00:00] INFO: Starting Chef Run for loggia.dev | |
| [2013-12-09T18:06:49+00:00] INFO: Running start handlers | |
| [2013-12-09T18:06:49+00:00] INFO: Start handlers complete. | |
| [2013-12-09T18:06:50+00:00] WARN: Cloning resource attributes for service[apache2] from prior resource (CHEF-3694) | |
| [2013-12-09T18:06:50+00:00] WARN: Previous service[apache2]: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/apache2/recipes/default.rb:24:in `from_file' | |
| [2013-12-09T18:06:50+00:00] WARN: Current service[apache2]: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/apache2/recipes/default.rb:210:in `from_file' | |
| [2013-12-09T18:07:03+00:00] ERROR: Running exception handlers | |
| [2013-12-09T18:07:03+00:00] ERROR: Exception handlers complete | |
| [2013-12-09T18:07:03+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out | |
| [2013-12-09T18:07:03+00:00] ERROR: execute[apt-get-update-build-essentials] (build-essential::debian line 22) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100' | |
| ---- Begin output of apt-get update ---- | |
| STDOUT: Hit http://mirrors.kernel.org wheezy Release.gpg | |
| Hit http://mirrors.kernel.org wheezy-updates Release.gpg | |
| Hit http://mirrors.kernel.org wheezy Release | |
| Hit http://mirrors.kernel.org wheezy-updates Release | |
| Hit http://mirrors.kernel.org wheezy/main Sources | |
| Hit http://mirrors.kernel.org wheezy/main amd64 Packages | |
| Hit http://mirrors.kernel.org wheezy/main Translation-en | |
| Hit http://mirrors.kernel.org wheezy-updates/main Sources | |
| Hit http://mirrors.kernel.org wheezy-updates/main amd64 Packages/DiffIndex | |
| Hit http://mirrors.kernel.org wheezy-updates/main Translation-en/DiffIndex | |
| Ign http://packages.dotdeb.org wheezy-php54 Release.gpg | |
| Hit http://packages.dotdeb.org wheezy Release.gpg | |
| Ign http://packages.dotdeb.org wheezy-php54 Release | |
| Hit http://packages.dotdeb.org wheezy Release | |
| Get:1 http://security.debian.org wheezy/updates Release.gpg [836 B] | |
| Get:2 http://security.debian.org wheezy/updates Release [102 kB] | |
| Get:3 http://security.debian.org wheezy/updates/main Sources [70.1 kB] | |
| Hit http://packages.dotdeb.org wheezy/all Sources | |
| Get:4 http://security.debian.org wheezy/updates/main amd64 Packages [132 kB] | |
| Get:5 http://security.debian.org wheezy/updates/main Translation-en [77.0 kB] | |
| Hit http://packages.dotdeb.org wheezy/all amd64 Packages | |
| Err http://packages.dotdeb.org wheezy-php54/all Sources | |
| 404 Not Found | |
| Err http://packages.dotdeb.org wheezy-php54/all amd64 Packages | |
| 404 Not Found | |
| Ign http://packages.dotdeb.org wheezy-php54/all Translation-en | |
| Ign http://packages.dotdeb.org wheezy/all Translation-en | |
| Fetched 382 kB in 12s (31.1 kB/s) | |
| STDERR: W: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php54/all/source/Sources 404 Not Found | |
| W: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php54/all/binary-amd64/Packages 404 Not Found | |
| E: Some index files failed to download. They have been ignored, or old ones used instead. | |
| ---- End output of apt-get update ---- | |
| Ran apt-get update returned 100 | |
| ================================================================================ | |
| Error executing action `run` on resource 'execute[apt-get-update-build-essentials]' | |
| ================================================================================ | |
| Mixlib::ShellOut::ShellCommandFailed | |
| ------------------------------------ | |
| Expected process to exit with [0], but received '100' | |
| ---- Begin output of apt-get update ---- | |
| STDOUT: Hit http://mirrors.kernel.org wheezy Release.gpg | |
| Hit http://mirrors.kernel.org wheezy-updates Release.gpg | |
| Hit http://mirrors.kernel.org wheezy Release | |
| Hit http://mirrors.kernel.org wheezy-updates Release | |
| Hit http://mirrors.kernel.org wheezy/main Sources | |
| Hit http://mirrors.kernel.org wheezy/main amd64 Packages | |
| Hit http://mirrors.kernel.org wheezy/main Translation-en | |
| Hit http://mirrors.kernel.org wheezy-updates/main Sources | |
| Hit http://mirrors.kernel.org wheezy-updates/main amd64 Packages/DiffIndex | |
| Hit http://mirrors.kernel.org wheezy-updates/main Translation-en/DiffIndex | |
| Ign http://packages.dotdeb.org wheezy-php54 Release.gpg | |
| Hit http://packages.dotdeb.org wheezy Release.gpg | |
| Ign http://packages.dotdeb.org wheezy-php54 Release | |
| Hit http://packages.dotdeb.org wheezy Release | |
| Get:1 http://security.debian.org wheezy/updates Release.gpg [836 B] | |
| Get:2 http://security.debian.org wheezy/updates Release [102 kB] | |
| Get:3 http://security.debian.org wheezy/updates/main Sources [70.1 kB] | |
| Hit http://packages.dotdeb.org wheezy/all Sources | |
| Get:4 http://security.debian.org wheezy/updates/main amd64 Packages [132 kB] | |
| Get:5 http://security.debian.org wheezy/updates/main Translation-en [77.0 kB] | |
| Hit http://packages.dotdeb.org wheezy/all amd64 Packages | |
| Err http://packages.dotdeb.org wheezy-php54/all Sources | |
| 404 Not Found | |
| Err http://packages.dotdeb.org wheezy-php54/all amd64 Packages | |
| 404 Not Found | |
| Ign http://packages.dotdeb.org wheezy-php54/all Translation-en | |
| Ign http://packages.dotdeb.org wheezy/all Translation-en | |
| Fetched 382 kB in 12s (31.1 kB/s) | |
| STDERR: W: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php54/all/source/Sources 404 Not Found | |
| W: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php54/all/binary-amd64/Packages 404 Not Found | |
| E: Some index files failed to download. They have been ignored, or old ones used instead. | |
| ---- End output of apt-get update ---- | |
| Ran apt-get update returned 100 | |
| Cookbook Trace: | |
| --------------- | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/debian.rb:30:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/default.rb:21:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/mysql/recipes/ruby.rb:24:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/database/recipes/mysql.rb:20:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/drupal/recipes/default.rb:48:in `from_file' | |
| Resource Declaration: | |
| --------------------- | |
| # In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/debian.rb | |
| 22: execute "apt-get-update-build-essentials" do | |
| 23: command "apt-get update" | |
| 24: action :nothing | |
| 25: # tip: to suppress this running every time, just use the apt cookbook | |
| 26: not_if do | |
| 27: ::File.exists?('/var/lib/apt/periodic/update-success-stamp') && | |
| 28: ::File.mtime('/var/lib/apt/periodic/update-success-stamp') > Time.now - 86400*2 | |
| 29: end | |
| 30: end.run_action(:run) if node['build_essential']['compiletime'] | |
| 31: | |
| 32: %w{ | |
| 33: autoconf | |
| 34: binutils-doc | |
| 35: bison | |
| 36: build-essential | |
| 37: flex | |
| 38: }.each do |pkg| | |
| 39: | |
| 40: r = package pkg do | |
| 41: action( node['build_essential']['compiletime'] ? :nothing : :install ) | |
| 42: end | |
| 43: r.run_action(:install) if node['build_essential']['compiletime'] | |
| 44: | |
| 45: end | |
| Compiled Resource: | |
| ------------------ | |
| # Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/debian.rb:22:in `from_file' | |
| execute("apt-get-update-build-essentials") do | |
| action [:nothing] | |
| retries 0 | |
| retry_delay 2 | |
| command "apt-get update" | |
| backup 5 | |
| returns 0 | |
| cookbook_name :"build-essential" | |
| recipe_name "debian" | |
| not_if { #code block } | |
| end | |
| ================================================================================ | |
| Recipe Compile Error in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/drupal/recipes/default.rb | |
| ================================================================================ | |
| Mixlib::ShellOut::ShellCommandFailed | |
| ------------------------------------ | |
| execute[apt-get-update-build-essentials] (build-essential::debian line 22) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100' | |
| ---- Begin output of apt-get update ---- | |
| STDOUT: Hit http://mirrors.kernel.org wheezy Release.gpg | |
| Hit http://mirrors.kernel.org wheezy-updates Release.gpg | |
| Hit http://mirrors.kernel.org wheezy Release | |
| Hit http://mirrors.kernel.org wheezy-updates Release | |
| Hit http://mirrors.kernel.org wheezy/main Sources | |
| Hit http://mirrors.kernel.org wheezy/main amd64 Packages | |
| Hit http://mirrors.kernel.org wheezy/main Translation-en | |
| Hit http://mirrors.kernel.org wheezy-updates/main Sources | |
| Hit http://mirrors.kernel.org wheezy-updates/main amd64 Packages/DiffIndex | |
| Hit http://mirrors.kernel.org wheezy-updates/main Translation-en/DiffIndex | |
| Ign http://packages.dotdeb.org wheezy-php54 Release.gpg | |
| Hit http://packages.dotdeb.org wheezy Release.gpg | |
| Ign http://packages.dotdeb.org wheezy-php54 Release | |
| Hit http://packages.dotdeb.org wheezy Release | |
| Get:1 http://security.debian.org wheezy/updates Release.gpg [836 B] | |
| Get:2 http://security.debian.org wheezy/updates Release [102 kB] | |
| Get:3 http://security.debian.org wheezy/updates/main Sources [70.1 kB] | |
| Hit http://packages.dotdeb.org wheezy/all Sources | |
| Get:4 http://security.debian.org wheezy/updates/main amd64 Packages [132 kB] | |
| Get:5 http://security.debian.org wheezy/updates/main Translation-en [77.0 kB] | |
| Hit http://packages.dotdeb.org wheezy/all amd64 Packages | |
| Err http://packages.dotdeb.org wheezy-php54/all Sources | |
| 404 Not Found | |
| Err http://packages.dotdeb.org wheezy-php54/all amd64 Packages | |
| 404 Not Found | |
| Ign http://packages.dotdeb.org wheezy-php54/all Translation-en | |
| Ign http://packages.dotdeb.org wheezy/all Translation-en | |
| Fetched 382 kB in 12s (31.1 kB/s) | |
| STDERR: W: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php54/all/source/Sources 404 Not Found | |
| W: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php54/all/binary-amd64/Packages 404 Not Found | |
| E: Some index files failed to download. They have been ignored, or old ones used instead. | |
| ---- End output of apt-get update ---- | |
| Ran apt-get update returned 100 | |
| Cookbook Trace: | |
| --------------- | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/debian.rb:30:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/default.rb:21:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/mysql/recipes/ruby.rb:24:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/database/recipes/mysql.rb:20:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/drupal/recipes/default.rb:48:in `from_file' | |
| Relevant File Content: | |
| ---------------------- | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/debian.rb: | |
| 23: command "apt-get update" | |
| 24: action :nothing | |
| 25: # tip: to suppress this running every time, just use the apt cookbook | |
| 26: not_if do | |
| 27: ::File.exists?('/var/lib/apt/periodic/update-success-stamp') && | |
| 28: ::File.mtime('/var/lib/apt/periodic/update-success-stamp') > Time.now - 86400*2 | |
| 29: end | |
| 30>> end.run_action(:run) if node['build_essential']['compiletime'] | |
| 31: | |
| 32: %w{ | |
| 33: autoconf | |
| 34: binutils-doc | |
| 35: bison | |
| 36: build-essential | |
| 37: flex | |
| 38: }.each do |pkg| | |
| 39: | |
| [2013-12-09T18:06:47+00:00] INFO: Forking chef instance to converge... | |
| [2013-12-09T18:07:03+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. | |
| |ruby-2.0.0-p247| Douglass-MacBook-Pro in ~/Work/gc-forum | |
| ± |promet ✗| → vagrant halt | |
| [default] Attempting graceful shutdown of VM... | |
| |ruby-2.0.0-p247| Douglass-MacBook-Pro in ~/Work/gc-forum | |
| ± |promet ✗| → git status | |
| # On branch promet | |
| # Changes not staged for commit: | |
| # (use "git add <file>..." to update what will be committed) | |
| # (use "git checkout -- <file>..." to discard changes in working directory) | |
| # | |
| # modified: Berksfile.lock | |
| # modified: Vagrantfile | |
| # | |
| # Untracked files: | |
| # (use "git add <file>..." to include in what will be committed) | |
| # | |
| # www/sites/all/modules/views_data_export/ | |
| no changes added to commit (use "git add" and/or "git commit -a") | |
| |ruby-2.0.0-p247| Douglass-MacBook-Pro in ~/Work/gc-forum | |
| ± |promet ✗| → rm www/sites/default/se | |
| settings.conf.d/ settings.php | |
| |ruby-2.0.0-p247| Douglass-MacBook-Pro in ~/Work/gc-forum | |
| ± |promet ✗| → rm www/sites/default/settings.php | |
| |ruby-2.0.0-p247| Douglass-MacBook-Pro in ~/Work/gc-forum | |
| ± |promet ✗| → git status | |
| # On branch promet | |
| # Changes not staged for commit: | |
| # (use "git add <file>..." to update what will be committed) | |
| # (use "git checkout -- <file>..." to discard changes in working directory) | |
| # | |
| # modified: Berksfile.lock | |
| # modified: Vagrantfile | |
| # | |
| # Untracked files: | |
| # (use "git add <file>..." to include in what will be committed) | |
| # | |
| # www/sites/all/modules/views_data_export/ | |
| no changes added to commit (use "git add" and/or "git commit -a") | |
| |ruby-2.0.0-p247| Douglass-MacBook-Pro in ~/Work/gc-forum | |
| ± |promet ✗| → vagrant up | |
| Bringing machine 'default' up with 'virtualbox' provider... | |
| [default] Clearing any previously set forwarded ports... | |
| [Berkshelf] This version of the Berkshelf plugin has not been fully tested on this version of Vagrant. | |
| [Berkshelf] You should check for a newer version of vagrant-berkshelf. | |
| [Berkshelf] If you encounter any errors with this version, please report them at https://github.com/RiotGames/vagrant-berkshelf/issues | |
| [Berkshelf] You can also join the discussion in #berkshelf on Freenode. | |
| [Berkshelf] Updating Vagrant's berkshelf: '/Users/dsdobrzynski/.berkshelf/default/vagrant/berkshelf-20131209-10510-g4humd-default' | |
| [Berkshelf] Installing drupal (0.1.1) from git: 'git://github.com/promet/drupal_cookbook.git' with branch: 'master' at ref: '0e3d00e7189d049ecacd7e3057e6d2d631ed254f' | |
| [Berkshelf] Installing solo-helper (0.0.1) from git: 'https://github.com/glennpratt/solo-helper_cookbook.git' with branch: 'master' at ref: '183b6e411c930ac8e7c638ad3cb10cae6a8af8fc' | |
| [Berkshelf] Using mysql (3.0.12) | |
| [Berkshelf] Using apt (2.0.0) | |
| [Berkshelf] Using database (1.5.2) | |
| [Berkshelf] Using postgresql (3.0.2) | |
| [Berkshelf] Using build-essential (1.4.0) | |
| [Berkshelf] Using openssl (1.1.0) | |
| [Berkshelf] Using aws (0.101.2) | |
| [Berkshelf] Using xfs (1.1.0) | |
| [Berkshelf] Installing apache2 (1.8.4) from site: 'http://cookbooks.opscode.com/api/v1/cookbooks' | |
| [Berkshelf] Using git (2.7.0) | |
| [Berkshelf] Using dmg (1.1.0) | |
| [Berkshelf] Using yum (2.3.0) | |
| [Berkshelf] Using windows (1.10.0) | |
| [Berkshelf] Using chef_handler (1.1.4) | |
| [Berkshelf] Using runit (1.1.6) | |
| [Berkshelf] Installing php (1.2.6) from site: 'http://cookbooks.opscode.com/api/v1/cookbooks' | |
| [Berkshelf] Using xml (1.1.2) | |
| [Berkshelf] Using memcached (1.4.0) | |
| [Berkshelf] Using postfix (3.0.2) | |
| [Berkshelf] Using hostsfile (1.0.2) | |
| [default] Creating shared folders metadata... | |
| [default] Clearing any previously set network interfaces... | |
| [default] Preparing network interfaces based on configuration... | |
| [default] Forwarding ports... | |
| [default] -- 22 => 2222 (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] The guest additions on this VM do not match the installed version of | |
| VirtualBox! In most cases this is fine, but in rare cases it can | |
| cause things such as shared folders to not work properly. If you see | |
| shared folder errors, please update the guest additions within the | |
| virtual machine and reload your VM. | |
| Guest Additions Version: 4.2.16 | |
| VirtualBox Version: 4.3 | |
| [default] Setting hostname... | |
| [default] Configuring and enabling network interfaces... | |
| [default] Mounting shared folders... | |
| [default] -- /vagrant | |
| [default] -- /tmp/vagrant-chef-1/chef-solo-1/cookbooks | |
| [default] Exporting NFS shared folders... | |
| Preparing to edit /etc/exports. Administrator privileges will be required... | |
| Password: | |
| [default] Mounting NFS shared folders... | |
| [default] Chef 11.8.2 Omnibus package is already installed. | |
| |ruby-2.0.0-p247| Douglass-MacBook-Pro in ~/Work/gc-forum | |
| ± |promet ✗| → vagrant provision | |
| [Berkshelf] This version of the Berkshelf plugin has not been fully tested on this version of Vagrant. | |
| [Berkshelf] You should check for a newer version of vagrant-berkshelf. | |
| [Berkshelf] If you encounter any errors with this version, please report them at https://github.com/RiotGames/vagrant-berkshelf/issues | |
| [Berkshelf] You can also join the discussion in #berkshelf on Freenode. | |
| [Berkshelf] Updating Vagrant's berkshelf: '/Users/dsdobrzynski/.berkshelf/default/vagrant/berkshelf-20131209-10510-g4humd-default' | |
| [Berkshelf] Installing drupal (0.1.1) from git: 'git://github.com/promet/drupal_cookbook.git' with branch: 'master' at ref: '0e3d00e7189d049ecacd7e3057e6d2d631ed254f' | |
| [Berkshelf] Installing solo-helper (0.0.1) from git: 'https://github.com/glennpratt/solo-helper_cookbook.git' with branch: 'master' at ref: '183b6e411c930ac8e7c638ad3cb10cae6a8af8fc' | |
| [Berkshelf] Using mysql (3.0.12) | |
| [Berkshelf] Using apt (2.0.0) | |
| [Berkshelf] Using database (1.5.2) | |
| [Berkshelf] Using postgresql (3.0.2) | |
| [Berkshelf] Using build-essential (1.4.0) | |
| [Berkshelf] Using openssl (1.1.0) | |
| [Berkshelf] Using aws (0.101.2) | |
| [Berkshelf] Using xfs (1.1.0) | |
| [Berkshelf] Installing apache2 (1.8.4) from site: 'http://cookbooks.opscode.com/api/v1/cookbooks' | |
| [Berkshelf] Using git (2.7.0) | |
| [Berkshelf] Using dmg (1.1.0) | |
| [Berkshelf] Using yum (2.3.0) | |
| [Berkshelf] Using windows (1.10.0) | |
| [Berkshelf] Using chef_handler (1.1.4) | |
| [Berkshelf] Using runit (1.1.6) | |
| [Berkshelf] Installing php (1.2.6) from site: 'http://cookbooks.opscode.com/api/v1/cookbooks' | |
| [Berkshelf] Using xml (1.1.2) | |
| [Berkshelf] Using memcached (1.4.0) | |
| [Berkshelf] Using postfix (3.0.2) | |
| [Berkshelf] Using hostsfile (1.0.2) | |
| [default] Chef 11.8.2 Omnibus package is already installed. | |
| [default] Running provisioner: chef_solo... | |
| Generating chef JSON and uploading... | |
| Running chef-solo... | |
| stdin: is not a tty | |
| [2013-12-09T18:12:35+00:00] INFO: Forking chef instance to converge... | |
| [2013-12-09T18:12:35+00:00] INFO: *** Chef 11.8.2 *** | |
| [2013-12-09T18:12:35+00:00] INFO: Chef-client pid: 3719 | |
| [2013-12-09T18:12:40+00:00] INFO: Setting the run_list to ["recipe[solo-helper]", "recipe[drupal::default]", "recipe[drupal::node_sites]", "recipe[drupal::drush]"] from JSON | |
| [2013-12-09T18:12:40+00:00] INFO: Run List is [recipe[solo-helper], recipe[drupal::default], recipe[drupal::node_sites], recipe[drupal::drush]] | |
| [2013-12-09T18:12:40+00:00] INFO: Run List expands to [solo-helper, drupal::default, drupal::node_sites, drupal::drush] | |
| [2013-12-09T18:12:40+00:00] INFO: Starting Chef Run for loggia.dev | |
| [2013-12-09T18:12:40+00:00] INFO: Running start handlers | |
| [2013-12-09T18:12:40+00:00] INFO: Start handlers complete. | |
| [2013-12-09T18:12:41+00:00] WARN: Cloning resource attributes for service[apache2] from prior resource (CHEF-3694) | |
| [2013-12-09T18:12:41+00:00] WARN: Previous service[apache2]: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/apache2/recipes/default.rb:24:in `from_file' | |
| [2013-12-09T18:12:41+00:00] WARN: Current service[apache2]: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/apache2/recipes/default.rb:210:in `from_file' | |
| [2013-12-09T18:12:53+00:00] ERROR: Running exception handlers | |
| [2013-12-09T18:12:53+00:00] ERROR: Exception handlers complete | |
| [2013-12-09T18:12:53+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out | |
| [2013-12-09T18:12:53+00:00] ERROR: execute[apt-get-update-build-essentials] (build-essential::debian line 22) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100' | |
| ---- Begin output of apt-get update ---- | |
| STDOUT: Hit http://mirrors.kernel.org wheezy Release.gpg | |
| Hit http://mirrors.kernel.org wheezy-updates Release.gpg | |
| Hit http://mirrors.kernel.org wheezy Release | |
| Ign http://packages.dotdeb.org wheezy-php54 Release.gpg | |
| Hit http://mirrors.kernel.org wheezy-updates Release | |
| Hit http://mirrors.kernel.org wheezy/main Sources | |
| Hit http://mirrors.kernel.org wheezy/main amd64 Packages | |
| Hit http://mirrors.kernel.org wheezy/main Translation-en | |
| Hit http://mirrors.kernel.org wheezy-updates/main Sources | |
| Hit http://mirrors.kernel.org wheezy-updates/main amd64 Packages/DiffIndex | |
| Hit http://mirrors.kernel.org wheezy-updates/main Translation-en/DiffIndex | |
| Hit http://packages.dotdeb.org wheezy Release.gpg | |
| Ign http://packages.dotdeb.org wheezy-php54 Release | |
| Hit http://packages.dotdeb.org wheezy Release | |
| Hit http://packages.dotdeb.org wheezy/all Sources | |
| Hit http://packages.dotdeb.org wheezy/all amd64 Packages | |
| Hit http://security.debian.org wheezy/updates Release.gpg | |
| Hit http://security.debian.org wheezy/updates Release | |
| Hit http://security.debian.org wheezy/updates/main Sources | |
| Hit http://security.debian.org wheezy/updates/main amd64 Packages | |
| Hit http://security.debian.org wheezy/updates/main Translation-en | |
| Err http://packages.dotdeb.org wheezy-php54/all Sources | |
| 404 Not Found | |
| Err http://packages.dotdeb.org wheezy-php54/all amd64 Packages | |
| 404 Not Found | |
| Ign http://packages.dotdeb.org wheezy-php54/all Translation-en | |
| Ign http://packages.dotdeb.org wheezy/all Translation-en | |
| STDERR: W: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php54/all/source/Sources 404 Not Found | |
| W: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php54/all/binary-amd64/Packages 404 Not Found | |
| E: Some index files failed to download. They have been ignored, or old ones used instead. | |
| ---- End output of apt-get update ---- | |
| Ran apt-get update returned 100 | |
| ================================================================================ | |
| Error executing action `run` on resource 'execute[apt-get-update-build-essentials]' | |
| ================================================================================ | |
| Mixlib::ShellOut::ShellCommandFailed | |
| ------------------------------------ | |
| Expected process to exit with [0], but received '100' | |
| ---- Begin output of apt-get update ---- | |
| STDOUT: Hit http://mirrors.kernel.org wheezy Release.gpg | |
| Hit http://mirrors.kernel.org wheezy-updates Release.gpg | |
| Hit http://mirrors.kernel.org wheezy Release | |
| Ign http://packages.dotdeb.org wheezy-php54 Release.gpg | |
| Hit http://mirrors.kernel.org wheezy-updates Release | |
| Hit http://mirrors.kernel.org wheezy/main Sources | |
| Hit http://mirrors.kernel.org wheezy/main amd64 Packages | |
| Hit http://mirrors.kernel.org wheezy/main Translation-en | |
| Hit http://mirrors.kernel.org wheezy-updates/main Sources | |
| Hit http://mirrors.kernel.org wheezy-updates/main amd64 Packages/DiffIndex | |
| Hit http://mirrors.kernel.org wheezy-updates/main Translation-en/DiffIndex | |
| Hit http://packages.dotdeb.org wheezy Release.gpg | |
| Ign http://packages.dotdeb.org wheezy-php54 Release | |
| Hit http://packages.dotdeb.org wheezy Release | |
| Hit http://packages.dotdeb.org wheezy/all Sources | |
| Hit http://packages.dotdeb.org wheezy/all amd64 Packages | |
| Hit http://security.debian.org wheezy/updates Release.gpg | |
| Hit http://security.debian.org wheezy/updates Release | |
| Hit http://security.debian.org wheezy/updates/main Sources | |
| Hit http://security.debian.org wheezy/updates/main amd64 Packages | |
| Hit http://security.debian.org wheezy/updates/main Translation-en | |
| Err http://packages.dotdeb.org wheezy-php54/all Sources | |
| 404 Not Found | |
| Err http://packages.dotdeb.org wheezy-php54/all amd64 Packages | |
| 404 Not Found | |
| Ign http://packages.dotdeb.org wheezy-php54/all Translation-en | |
| Ign http://packages.dotdeb.org wheezy/all Translation-en | |
| STDERR: W: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php54/all/source/Sources 404 Not Found | |
| W: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php54/all/binary-amd64/Packages 404 Not Found | |
| E: Some index files failed to download. They have been ignored, or old ones used instead. | |
| ---- End output of apt-get update ---- | |
| Ran apt-get update returned 100 | |
| Cookbook Trace: | |
| --------------- | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/debian.rb:30:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/default.rb:21:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/mysql/recipes/ruby.rb:24:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/database/recipes/mysql.rb:20:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/drupal/recipes/default.rb:48:in `from_file' | |
| Resource Declaration: | |
| --------------------- | |
| # In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/debian.rb | |
| 22: execute "apt-get-update-build-essentials" do | |
| 23: command "apt-get update" | |
| 24: action :nothing | |
| 25: # tip: to suppress this running every time, just use the apt cookbook | |
| 26: not_if do | |
| 27: ::File.exists?('/var/lib/apt/periodic/update-success-stamp') && | |
| 28: ::File.mtime('/var/lib/apt/periodic/update-success-stamp') > Time.now - 86400*2 | |
| 29: end | |
| 30: end.run_action(:run) if node['build_essential']['compiletime'] | |
| 31: | |
| 32: %w{ | |
| 33: autoconf | |
| 34: binutils-doc | |
| 35: bison | |
| 36: build-essential | |
| 37: flex | |
| 38: }.each do |pkg| | |
| 39: | |
| 40: r = package pkg do | |
| 41: action( node['build_essential']['compiletime'] ? :nothing : :install ) | |
| 42: end | |
| 43: r.run_action(:install) if node['build_essential']['compiletime'] | |
| 44: | |
| 45: end | |
| Compiled Resource: | |
| ------------------ | |
| # Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/debian.rb:22:in `from_file' | |
| execute("apt-get-update-build-essentials") do | |
| action [:nothing] | |
| retries 0 | |
| retry_delay 2 | |
| command "apt-get update" | |
| backup 5 | |
| returns 0 | |
| cookbook_name :"build-essential" | |
| recipe_name "debian" | |
| not_if { #code block } | |
| end | |
| ================================================================================ | |
| Recipe Compile Error in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/drupal/recipes/default.rb | |
| ================================================================================ | |
| Mixlib::ShellOut::ShellCommandFailed | |
| ------------------------------------ | |
| execute[apt-get-update-build-essentials] (build-essential::debian line 22) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100' | |
| ---- Begin output of apt-get update ---- | |
| STDOUT: Hit http://mirrors.kernel.org wheezy Release.gpg | |
| Hit http://mirrors.kernel.org wheezy-updates Release.gpg | |
| Hit http://mirrors.kernel.org wheezy Release | |
| Ign http://packages.dotdeb.org wheezy-php54 Release.gpg | |
| Hit http://mirrors.kernel.org wheezy-updates Release | |
| Hit http://mirrors.kernel.org wheezy/main Sources | |
| Hit http://mirrors.kernel.org wheezy/main amd64 Packages | |
| Hit http://mirrors.kernel.org wheezy/main Translation-en | |
| Hit http://mirrors.kernel.org wheezy-updates/main Sources | |
| Hit http://mirrors.kernel.org wheezy-updates/main amd64 Packages/DiffIndex | |
| Hit http://mirrors.kernel.org wheezy-updates/main Translation-en/DiffIndex | |
| Hit http://packages.dotdeb.org wheezy Release.gpg | |
| Ign http://packages.dotdeb.org wheezy-php54 Release | |
| Hit http://packages.dotdeb.org wheezy Release | |
| Hit http://packages.dotdeb.org wheezy/all Sources | |
| Hit http://packages.dotdeb.org wheezy/all amd64 Packages | |
| Hit http://security.debian.org wheezy/updates Release.gpg | |
| Hit http://security.debian.org wheezy/updates Release | |
| Hit http://security.debian.org wheezy/updates/main Sources | |
| Hit http://security.debian.org wheezy/updates/main amd64 Packages | |
| Hit http://security.debian.org wheezy/updates/main Translation-en | |
| Err http://packages.dotdeb.org wheezy-php54/all Sources | |
| 404 Not Found | |
| Err http://packages.dotdeb.org wheezy-php54/all amd64 Packages | |
| 404 Not Found | |
| Ign http://packages.dotdeb.org wheezy-php54/all Translation-en | |
| Ign http://packages.dotdeb.org wheezy/all Translation-en | |
| STDERR: W: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php54/all/source/Sources 404 Not Found | |
| W: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php54/all/binary-amd64/Packages 404 Not Found | |
| E: Some index files failed to download. They have been ignored, or old ones used instead. | |
| ---- End output of apt-get update ---- | |
| Ran apt-get update returned 100 | |
| Cookbook Trace: | |
| --------------- | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/debian.rb:30:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/default.rb:21:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/mysql/recipes/ruby.rb:24:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/database/recipes/mysql.rb:20:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/drupal/recipes/default.rb:48:in `from_file' | |
| Relevant File Content: | |
| ---------------------- | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/debian.rb: | |
| 23: command "apt-get update" | |
| 24: action :nothing | |
| 25: # tip: to suppress this running every time, just use the apt cookbook | |
| 26: not_if do | |
| 27: ::File.exists?('/var/lib/apt/periodic/update-success-stamp') && | |
| 28: ::File.mtime('/var/lib/apt/periodic/update-success-stamp') > Time.now - 86400*2 | |
| 29: end | |
| 30>> end.run_action(:run) if node['build_essential']['compiletime'] | |
| 31: | |
| 32: %w{ | |
| 33: autoconf | |
| 34: binutils-doc | |
| 35: bison | |
| 36: build-essential | |
| 37: flex | |
| 38: }.each do |pkg| | |
| 39: | |
| [2013-12-09T18:12:35+00:00] INFO: Forking chef instance to converge... | |
| [2013-12-09T18:12:53+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. | |
| |ruby-2.0.0-p247| Douglass-MacBook-Pro in ~/Work/gc-forum | |
| ± |promet ✗| → ls www/sites/default/ | |
| files settings.conf.d | |
| |ruby-2.0.0-p247| Douglass-MacBook-Pro in ~/Work/gc-forum | |
| ± |promet ✗| → nano www/sites/default/settings.php | |
| |ruby-2.0.0-p247| Douglass-MacBook-Pro in ~/Work/gc-forum | |
| ± |promet ✗| → vagrant provision | |
| [Berkshelf] This version of the Berkshelf plugin has not been fully tested on this version of Vagrant. | |
| [Berkshelf] You should check for a newer version of vagrant-berkshelf. | |
| [Berkshelf] If you encounter any errors with this version, please report them at https://github.com/RiotGames/vagrant-berkshelf/issues | |
| [Berkshelf] You can also join the discussion in #berkshelf on Freenode. | |
| [Berkshelf] Updating Vagrant's berkshelf: '/Users/dsdobrzynski/.berkshelf/default/vagrant/berkshelf-20131209-10510-g4humd-default' | |
| [Berkshelf] Installing drupal (0.1.1) from git: 'git://github.com/promet/drupal_cookbook.git' with branch: 'master' at ref: '0e3d00e7189d049ecacd7e3057e6d2d631ed254f' | |
| [Berkshelf] Installing solo-helper (0.0.1) from git: 'https://github.com/glennpratt/solo-helper_cookbook.git' with branch: 'master' at ref: '183b6e411c930ac8e7c638ad3cb10cae6a8af8fc' | |
| [Berkshelf] Using mysql (3.0.12) | |
| [Berkshelf] Using apt (2.0.0) | |
| [Berkshelf] Using database (1.5.2) | |
| [Berkshelf] Using postgresql (3.0.2) | |
| [Berkshelf] Using build-essential (1.4.0) | |
| [Berkshelf] Using openssl (1.1.0) | |
| [Berkshelf] Using aws (0.101.2) | |
| [Berkshelf] Using xfs (1.1.0) | |
| [Berkshelf] Installing apache2 (1.8.4) from site: 'http://cookbooks.opscode.com/api/v1/cookbooks' | |
| [Berkshelf] Using git (2.7.0) | |
| [Berkshelf] Using dmg (1.1.0) | |
| [Berkshelf] Using yum (2.3.0) | |
| [Berkshelf] Using windows (1.10.0) | |
| [Berkshelf] Using chef_handler (1.1.4) | |
| [Berkshelf] Using runit (1.1.6) | |
| [Berkshelf] Installing php (1.2.6) from site: 'http://cookbooks.opscode.com/api/v1/cookbooks' | |
| [Berkshelf] Using xml (1.1.2) | |
| [Berkshelf] Using memcached (1.4.0) | |
| [Berkshelf] Using postfix (3.0.2) | |
| [Berkshelf] Using hostsfile (1.0.2) | |
| [default] Chef 11.8.2 Omnibus package is already installed. | |
| [default] Running provisioner: chef_solo... | |
| Generating chef JSON and uploading... | |
| Running chef-solo... | |
| stdin: is not a tty | |
| [2013-12-09T18:16:52+00:00] INFO: Forking chef instance to converge... | |
| [2013-12-09T18:16:52+00:00] INFO: *** Chef 11.8.2 *** | |
| [2013-12-09T18:16:52+00:00] INFO: Chef-client pid: 3936 | |
| [2013-12-09T18:16:52+00:00] INFO: Setting the run_list to ["recipe[solo-helper]", "recipe[drupal::default]", "recipe[drupal::node_sites]", "recipe[drupal::drush]"] from JSON | |
| [2013-12-09T18:16:52+00:00] INFO: Run List is [recipe[solo-helper], recipe[drupal::default], recipe[drupal::node_sites], recipe[drupal::drush]] | |
| [2013-12-09T18:16:52+00:00] INFO: Run List expands to [solo-helper, drupal::default, drupal::node_sites, drupal::drush] | |
| [2013-12-09T18:16:52+00:00] INFO: Starting Chef Run for loggia.dev | |
| [2013-12-09T18:16:52+00:00] INFO: Running start handlers | |
| [2013-12-09T18:16:52+00:00] INFO: Start handlers complete. | |
| [2013-12-09T18:16:53+00:00] WARN: Cloning resource attributes for service[apache2] from prior resource (CHEF-3694) | |
| [2013-12-09T18:16:53+00:00] WARN: Previous service[apache2]: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/apache2/recipes/default.rb:24:in `from_file' | |
| [2013-12-09T18:16:53+00:00] WARN: Current service[apache2]: /tmp/vagrant-chef-1/chef-solo-1/cookbooks/apache2/recipes/default.rb:210:in `from_file' | |
| [2013-12-09T18:17:03+00:00] ERROR: Running exception handlers | |
| [2013-12-09T18:17:03+00:00] ERROR: Exception handlers complete | |
| [2013-12-09T18:17:03+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out | |
| [2013-12-09T18:17:03+00:00] ERROR: execute[apt-get-update-build-essentials] (build-essential::debian line 22) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100' | |
| ---- Begin output of apt-get update ---- | |
| STDOUT: Hit http://mirrors.kernel.org wheezy Release.gpg | |
| Hit http://security.debian.org wheezy/updates Release.gpg | |
| Hit http://mirrors.kernel.org wheezy-updates Release.gpg | |
| Hit http://security.debian.org wheezy/updates Release | |
| Hit http://mirrors.kernel.org wheezy Release | |
| Hit http://security.debian.org wheezy/updates/main Sources | |
| Ign http://packages.dotdeb.org wheezy-php54 Release.gpg | |
| Hit http://mirrors.kernel.org wheezy-updates Release | |
| Hit http://security.debian.org wheezy/updates/main amd64 Packages | |
| Hit http://mirrors.kernel.org wheezy/main Sources | |
| Hit http://security.debian.org wheezy/updates/main Translation-en | |
| Hit http://mirrors.kernel.org wheezy/main amd64 Packages | |
| Hit http://packages.dotdeb.org wheezy Release.gpg | |
| Hit http://mirrors.kernel.org wheezy/main Translation-en | |
| Hit http://mirrors.kernel.org wheezy-updates/main Sources | |
| Ign http://packages.dotdeb.org wheezy-php54 Release | |
| Hit http://mirrors.kernel.org wheezy-updates/main amd64 Packages/DiffIndex | |
| Hit http://mirrors.kernel.org wheezy-updates/main Translation-en/DiffIndex | |
| Hit http://packages.dotdeb.org wheezy Release | |
| Hit http://packages.dotdeb.org wheezy/all Sources | |
| Hit http://packages.dotdeb.org wheezy/all amd64 Packages | |
| Err http://packages.dotdeb.org wheezy-php54/all Sources | |
| 404 Not Found | |
| Err http://packages.dotdeb.org wheezy-php54/all amd64 Packages | |
| 404 Not Found | |
| Ign http://packages.dotdeb.org wheezy-php54/all Translation-en | |
| Ign http://packages.dotdeb.org wheezy/all Translation-en | |
| STDERR: W: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php54/all/source/Sources 404 Not Found | |
| W: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php54/all/binary-amd64/Packages 404 Not Found | |
| E: Some index files failed to download. They have been ignored, or old ones used instead. | |
| ---- End output of apt-get update ---- | |
| Ran apt-get update returned 100 | |
| ================================================================================ | |
| Error executing action `run` on resource 'execute[apt-get-update-build-essentials]' | |
| ================================================================================ | |
| Mixlib::ShellOut::ShellCommandFailed | |
| ------------------------------------ | |
| Expected process to exit with [0], but received '100' | |
| ---- Begin output of apt-get update ---- | |
| STDOUT: Hit http://mirrors.kernel.org wheezy Release.gpg | |
| Hit http://security.debian.org wheezy/updates Release.gpg | |
| Hit http://mirrors.kernel.org wheezy-updates Release.gpg | |
| Hit http://security.debian.org wheezy/updates Release | |
| Hit http://mirrors.kernel.org wheezy Release | |
| Hit http://security.debian.org wheezy/updates/main Sources | |
| Ign http://packages.dotdeb.org wheezy-php54 Release.gpg | |
| Hit http://mirrors.kernel.org wheezy-updates Release | |
| Hit http://security.debian.org wheezy/updates/main amd64 Packages | |
| Hit http://mirrors.kernel.org wheezy/main Sources | |
| Hit http://security.debian.org wheezy/updates/main Translation-en | |
| Hit http://mirrors.kernel.org wheezy/main amd64 Packages | |
| Hit http://packages.dotdeb.org wheezy Release.gpg | |
| Hit http://mirrors.kernel.org wheezy/main Translation-en | |
| Hit http://mirrors.kernel.org wheezy-updates/main Sources | |
| Ign http://packages.dotdeb.org wheezy-php54 Release | |
| Hit http://mirrors.kernel.org wheezy-updates/main amd64 Packages/DiffIndex | |
| Hit http://mirrors.kernel.org wheezy-updates/main Translation-en/DiffIndex | |
| Hit http://packages.dotdeb.org wheezy Release | |
| Hit http://packages.dotdeb.org wheezy/all Sources | |
| Hit http://packages.dotdeb.org wheezy/all amd64 Packages | |
| Err http://packages.dotdeb.org wheezy-php54/all Sources | |
| 404 Not Found | |
| Err http://packages.dotdeb.org wheezy-php54/all amd64 Packages | |
| 404 Not Found | |
| Ign http://packages.dotdeb.org wheezy-php54/all Translation-en | |
| Ign http://packages.dotdeb.org wheezy/all Translation-en | |
| STDERR: W: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php54/all/source/Sources 404 Not Found | |
| W: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php54/all/binary-amd64/Packages 404 Not Found | |
| E: Some index files failed to download. They have been ignored, or old ones used instead. | |
| ---- End output of apt-get update ---- | |
| Ran apt-get update returned 100 | |
| Cookbook Trace: | |
| --------------- | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/debian.rb:30:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/default.rb:21:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/mysql/recipes/ruby.rb:24:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/database/recipes/mysql.rb:20:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/drupal/recipes/default.rb:48:in `from_file' | |
| Resource Declaration: | |
| --------------------- | |
| # In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/debian.rb | |
| 22: execute "apt-get-update-build-essentials" do | |
| 23: command "apt-get update" | |
| 24: action :nothing | |
| 25: # tip: to suppress this running every time, just use the apt cookbook | |
| 26: not_if do | |
| 27: ::File.exists?('/var/lib/apt/periodic/update-success-stamp') && | |
| 28: ::File.mtime('/var/lib/apt/periodic/update-success-stamp') > Time.now - 86400*2 | |
| 29: end | |
| 30: end.run_action(:run) if node['build_essential']['compiletime'] | |
| 31: | |
| 32: %w{ | |
| 33: autoconf | |
| 34: binutils-doc | |
| 35: bison | |
| 36: build-essential | |
| 37: flex | |
| 38: }.each do |pkg| | |
| 39: | |
| 40: r = package pkg do | |
| 41: action( node['build_essential']['compiletime'] ? :nothing : :install ) | |
| 42: end | |
| 43: r.run_action(:install) if node['build_essential']['compiletime'] | |
| 44: | |
| 45: end | |
| Compiled Resource: | |
| ------------------ | |
| # Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/debian.rb:22:in `from_file' | |
| execute("apt-get-update-build-essentials") do | |
| action [:nothing] | |
| retries 0 | |
| retry_delay 2 | |
| command "apt-get update" | |
| backup 5 | |
| returns 0 | |
| cookbook_name :"build-essential" | |
| recipe_name "debian" | |
| not_if { #code block } | |
| end | |
| ================================================================================ | |
| Recipe Compile Error in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/drupal/recipes/default.rb | |
| ================================================================================ | |
| Mixlib::ShellOut::ShellCommandFailed | |
| ------------------------------------ | |
| execute[apt-get-update-build-essentials] (build-essential::debian line 22) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100' | |
| ---- Begin output of apt-get update ---- | |
| STDOUT: Hit http://mirrors.kernel.org wheezy Release.gpg | |
| Hit http://security.debian.org wheezy/updates Release.gpg | |
| Hit http://mirrors.kernel.org wheezy-updates Release.gpg | |
| Hit http://security.debian.org wheezy/updates Release | |
| Hit http://mirrors.kernel.org wheezy Release | |
| Hit http://security.debian.org wheezy/updates/main Sources | |
| Ign http://packages.dotdeb.org wheezy-php54 Release.gpg | |
| Hit http://mirrors.kernel.org wheezy-updates Release | |
| Hit http://security.debian.org wheezy/updates/main amd64 Packages | |
| Hit http://mirrors.kernel.org wheezy/main Sources | |
| Hit http://security.debian.org wheezy/updates/main Translation-en | |
| Hit http://mirrors.kernel.org wheezy/main amd64 Packages | |
| Hit http://packages.dotdeb.org wheezy Release.gpg | |
| Hit http://mirrors.kernel.org wheezy/main Translation-en | |
| Hit http://mirrors.kernel.org wheezy-updates/main Sources | |
| Ign http://packages.dotdeb.org wheezy-php54 Release | |
| Hit http://mirrors.kernel.org wheezy-updates/main amd64 Packages/DiffIndex | |
| Hit http://mirrors.kernel.org wheezy-updates/main Translation-en/DiffIndex | |
| Hit http://packages.dotdeb.org wheezy Release | |
| Hit http://packages.dotdeb.org wheezy/all Sources | |
| Hit http://packages.dotdeb.org wheezy/all amd64 Packages | |
| Err http://packages.dotdeb.org wheezy-php54/all Sources | |
| 404 Not Found | |
| Err http://packages.dotdeb.org wheezy-php54/all amd64 Packages | |
| 404 Not Found | |
| Ign http://packages.dotdeb.org wheezy-php54/all Translation-en | |
| Ign http://packages.dotdeb.org wheezy/all Translation-en | |
| STDERR: W: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php54/all/source/Sources 404 Not Found | |
| W: Failed to fetch http://packages.dotdeb.org/dists/wheezy-php54/all/binary-amd64/Packages 404 Not Found | |
| E: Some index files failed to download. They have been ignored, or old ones used instead. | |
| ---- End output of apt-get update ---- | |
| Ran apt-get update returned 100 | |
| Cookbook Trace: | |
| --------------- | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/debian.rb:30:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/default.rb:21:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/mysql/recipes/ruby.rb:24:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/database/recipes/mysql.rb:20:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/drupal/recipes/default.rb:48:in `from_file' | |
| Relevant File Content: | |
| ---------------------- | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/build-essential/recipes/debian.rb: | |
| 23: command "apt-get update" | |
| 24: action :nothing | |
| 25: # tip: to suppress this running every time, just use the apt cookbook | |
| 26: not_if do | |
| 27: ::File.exists?('/var/lib/apt/periodic/update-success-stamp') && | |
| 28: ::File.mtime('/var/lib/apt/periodic/update-success-stamp') > Time.now - 86400*2 | |
| 29: end | |
| 30>> end.run_action(:run) if node['build_essential']['compiletime'] | |
| 31: | |
| 32: %w{ | |
| 33: autoconf | |
| 34: binutils-doc | |
| 35: bison | |
| 36: build-essential | |
| 37: flex | |
| 38: }.each do |pkg| | |
| 39: | |
| [2013-12-09T18:16:52+00:00] INFO: Forking chef instance to converge... | |
| [2013-12-09T18:17:03+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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment