Skip to content

Instantly share code, notes, and snippets.

@derekperkins
Created October 10, 2013 04:32
Show Gist options
  • Save derekperkins/6913080 to your computer and use it in GitHub Desktop.
Save derekperkins/6913080 to your computer and use it in GitHub Desktop.
ElasticSearch vagrant provision error
[2013-10-10T04:21:04+00:00] WARN: Cloning resource attributes for execute[grant-permissions] from prior resource (CHEF-3694)
[2013-10-10T04:21:04+00:00] WARN: Previous execute[grant-permissions]: /var/chef/cache/cookbooks/nozzle/recipes/database.rb:13:in `from_file'
[2013-10-10T04:21:04+00:00] WARN: Current execute[grant-permissions]: /var/chef/cache/cookbooks/nozzle/recipes/database.rb:17:in `from_file'
[2013-10-10T04:21:04+00:00] INFO: Found chef-client in /usr/bin/chef-client
================================================================================
Error executing action `install` on resource 'dpkg_package[/var/chef/cache/elasticsearch-0.90.3.deb]'
================================================================================
Chef::Exceptions::Exec
----------------------
dpkg -i /var/chef/cache/elasticsearch-0.90.3.deb returned 1, expected 0
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/elasticsearch/recipes/deb.rb
9: dpkg_package "#{Chef::Config[:file_cache_path]}/#{filename}" do
10: action :install
11: end
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/elasticsearch/recipes/deb.rb:9:in `from_file'
dpkg_package("/var/chef/cache/elasticsearch-0.90.3.deb") do
provider Chef::Provider::Package::Dpkg
action [:install]
retries 0
retry_delay 2
package_name "/var/chef/cache/elasticsearch-0.90.3.deb"
source "/var/chef/cache/elasticsearch-0.90.3.deb"
version "0.90.3"
cookbook_name "elasticsearch"
recipe_name "deb"
end
[2013-10-10T04:21:35+00:00] INFO: Running queued delayed notifications before re-raising exception
[2013-10-10T04:21:35+00:00] ERROR: Running exception handlers
[2013-10-10T04:21:35+00:00] ERROR: Exception handlers complete
[2013-10-10T04:21:35+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2013-10-10T04:21:35+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