Skip to content

Instantly share code, notes, and snippets.

@derekperkins
Created January 7, 2014 02:04
Show Gist options
  • Save derekperkins/8293565 to your computer and use it in GitHub Desktop.
Save derekperkins/8293565 to your computer and use it in GitHub Desktop.
Vagrant provisioning error
[2014-01-07T01:32:36+00:00] INFO: execute[switch-db] ran successfully
[2014-01-07T01:32:36+00:00] INFO: execute[grant-permissions] ran successfully
[2014-01-07T01:32:37+00:00] INFO: execute[grant-permissions] ran successfully
[2014-01-07T01:32:37+00:00] INFO: cookbook_file[/var/chef/cache/nozzleapp.sql] created file /var/chef/cache/nozzleapp.sql
================================================================================
Error executing action `create` on resource 'cookbook_file[/var/chef/cache/nozzleapp.sql]'
================================================================================
Chef::Exceptions::FileNotFound
------------------------------
Cookbook 'sitecrawler' (0.1.1) does not contain a file at any of these locations:
files/ubuntu-12.04/nozzleapp.sql
files/ubuntu/nozzleapp.sql
files/default/nozzleapp.sql
This cookbook _does_ contain: ['crawler.sql']
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/sitecrawler/recipes/default.rb
11: cookbook_file "#{Chef::Config[:file_cache_path]}/#{node['application']['config']['db_name']}.sql" do
12: content "#{node['application']['config']['db_name']}.sql"
13: end
14:
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/sitecrawler/recipes/default.rb:11:in `from_file'
cookbook_file("/var/chef/cache/nozzleapp.sql") do
provider Chef::Provider::CookbookFile
action "create"
retries 0
retry_delay 2
path "/var/chef/cache/nozzleapp.sql"
backup 5
atomic_update true
source "nozzleapp.sql"
cookbook_name "sitecrawler"
recipe_name "default"
content "nozzleapp.sql"
end
[2014-01-07T01:32:40+00:00] INFO: Running queued delayed notifications before re-raising exception
[2014-01-07T01:32:40+00:00] INFO: ruby_block[sysctl config notifier] sending create action to template[/etc/sysctl.d/99-chef-attributes.conf] (delayed)
[2014-01-07T01:32:41+00:00] INFO: template[/etc/sysctl.d/99-chef-attributes.conf] created file /etc/sysctl.d/99-chef-attributes.conf
[2014-01-07T01:32:41+00:00] INFO: template[/etc/sysctl.d/99-chef-attributes.conf] updated file contents /etc/sysctl.d/99-chef-attributes.conf
[2014-01-07T01:32:41+00:00] INFO: template[/etc/sysctl.d/99-chef-attributes.conf] mode changed to 644
[2014-01-07T01:32:41+00:00] INFO: template[/etc/sysctl.d/99-chef-attributes.conf] sending start action to service[procps] (immediate)
[2014-01-07T01:32:44+00:00] INFO: service[procps] started
[2014-01-07T01:32:44+00:00] INFO: execute[nxensite nozzle.conf] sending reload action to service[nginx] (delayed)
[2014-01-07T01:32:45+00:00] INFO: service[nginx] reloaded
[2014-01-07T01:32:45+00:00] ERROR: Running exception handlers
[2014-01-07T01:32:45+00:00] ERROR: Exception handlers complete
[2014-01-07T01:32:48+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2014-01-07T01:32:48+00:00] INFO: Sending resource update report (run-id: 7de7d1dc-d605-48f0-a5e6-1a59f72dc850)
[2014-01-07T01:32:49+00:00] ERROR: cookbook_file[/var/chef/cache/nozzleapp.sql] (sitecrawler::default line 11) had an error: Chef::Exceptions::FileNotFound: Cookbook 'sitecrawler' (0.1.1) does not contain a file at any of these locations:
files/ubuntu-12.04/nozzleapp.sql
files/ubuntu/nozzleapp.sql
files/default/nozzleapp.sql
This cookbook _does_ contain: ['crawler.sql']
[2014-01-07T01:32:52+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