Skip to content

Instantly share code, notes, and snippets.

@thomascate
Created September 23, 2013 18:02
Show Gist options
  • Save thomascate/6674475 to your computer and use it in GitHub Desktop.
Save thomascate/6674475 to your computer and use it in GitHub Desktop.
maas failure
67.207.159.186
67.207.159.186 ================================================================================
67.207.159.186
67.207.159.186 Recipe Compile Error in /var/chef/cache/cookbooks/30041-Webserver/recipes/default.rb
67.207.159.186
67.207.159.186 ================================================================================
67.207.159.186
67.207.159.186
67.207.159.186
67.207.159.186
67.207.159.186 NameError
67.207.159.186
67.207.159.186 ---------
67.207.159.186
67.207.159.186 Cannot find a resource for apt_repository on ubuntu version 12.04
67.207.159.186
67.207.159.186
67.207.159.186
67.207.159.186
67.207.159.186 Cookbook Trace:
67.207.159.186
67.207.159.186 ---------------
67.207.159.186
67.207.159.186 /var/chef/cache/cookbooks/cloud_monitoring/recipes/agent.rb:4:in `from_file'
67.207.159.186 /var/chef/cache/cookbooks/30041-Webserver/recipes/default.rb:17:in `from_file'
67.207.159.186
67.207.159.186
67.207.159.186
67.207.159.186
67.207.159.186 Relevant File Content:
67.207.159.186
67.207.159.186 ----------------------
67.207.159.186
67.207.159.186 /var/chef/cache/cookbooks/cloud_monitoring/recipes/agent.rb:
67.207.159.186
67.207.159.186 1: case node['platform']
67.207.159.186 2: when "ubuntu", "debian"
67.207.159.186 3:
67.207.159.186 4>> apt_repository "cloud-monitoring" do
67.207.159.186 5:
67.207.159.186 6: if node['platform'] == 'ubuntu'
67.207.159.186 7: uri "http://stable.packages.cloudmonitoring.rackspace.com/ubuntu-#{node['platform_version']}-#{node['kernel']['machine']}"
67.207.159.186 8: elsif node['platform'] =='debian'
67.207.159.186 9: uri "http://stable.packages.cloudmonitoring.rackspace.com/debian-#{node['lsb']['codename']}-#{node['kernel']['machine']}"
67.207.159.186 10: end
67.207.159.186 11:
67.207.159.186 12: distribution "cloudmonitoring"
67.207.159.186 13: components ["main"]
67.207.159.186
67.207.159.186
67.207.159.186
67.207.159.186
67.207.159.186
67.207.159.186 [2013-09-23T18:01:46+00:00] ERROR: Running exception handlers
67.207.159.186 [2013-09-23T18:01:46+00:00] ERROR: Exception handlers complete
67.207.159.186 [2013-09-23T18:01:46+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
67.207.159.186 Chef Client failed. 0 resources updated
67.207.159.186
67.207.159.186 [2013-09-23T18:01:46+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