Skip to content

Instantly share code, notes, and snippets.

@derekperkins
Created October 13, 2013 21:21
Show Gist options
  • Save derekperkins/6967559 to your computer and use it in GitHub Desktop.
Save derekperkins/6967559 to your computer and use it in GitHub Desktop.
Provision error
[2013-10-13T21:11:58+00:00] INFO: execute[apt-get-update-build-essentials] ran successfully
[2013-10-13T21:12:23+00:00] WARN: Cloning resource attributes for package[build-essential] from prior resource (CHEF-3694)
[2013-10-13T21:12:23+00:00] WARN: Previous package[build-essential]: /var/chef/cache/cookbooks/build-essential/recipes/debian.rb:40:in `block in from_file'
[2013-10-13T21:12:23+00:00] WARN: Current package[build-essential]: /var/chef/cache/cookbooks/mysql/recipes/client.rb:46:in `block in from_file'
================================================================================
Recipe Compile Error in /var/chef/cache/cookbooks/mysql/recipes/server.rb
================================================================================
Net::HTTPServerException
------------------------
403 "Forbidden"
Cookbook Trace:
---------------
/var/chef/cache/cookbooks/mysql/recipes/server.rb:42:in `from_file'
Relevant File Content:
----------------------
/var/chef/cache/cookbooks/mysql/recipes/server.rb:
35: ].join(' '))
36: end
37: else
38: # generate all passwords
39: node.set_unless['mysql']['server_debian_password'] = secure_password
40: node.set_unless['mysql']['server_root_password'] = secure_password
41: node.set_unless['mysql']['server_repl_password'] = secure_password
42>> node.save
43: end
44:
45: if platform_family?(%w{debian})
46:
47: directory "/var/cache/local/preseeding" do
48: owner "root"
49: group node['mysql']['root_group']
50: mode 0755
51: recursive true
[2013-10-13T21:12:24+00:00] ERROR: Running exception handlers
[2013-10-13T21:12:24+00:00] ERROR: Exception handlers complete
[2013-10-13T21:12:24+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2013-10-13T21:12:24+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment