[chef] graphite giving error Chef::Exceptions::ResourceNotFound


Chronological Thread 
  • From: S Ahmed < >
  • To:
  • Subject: [chef] graphite giving error Chef::Exceptions::ResourceNotFound
  • Date: Wed, 9 Oct 2013 16:02:26 -0400

[2013-10-09T20:00:34+00:00] INFO: *** Chef 10.14.2 ***
[2013-10-09T20:00:34+00:00] INFO: Setting the run_list to ["recipe[graphite]"] from JSON
[2013-10-09T20:00:34+00:00] INFO: Run List is [recipe[graphite]]
[2013-10-09T20:00:34+00:00] INFO: Run List expands to [graphite]
[2013-10-09T20:00:34+00:00] INFO: Starting Chef Run for precise32
[2013-10-09T20:00:34+00:00] INFO: Running start handlers
[2013-10-09T20:00:34+00:00] INFO: Start handlers complete.
[2013-10-09T20:00:35+00:00] INFO: Missing gem 'mysql'
[2013-10-09T20:00:35+00:00] WARN: Missing gem 'rvm'
[2013-10-09T20:00:35+00:00] WARN: This recipe uses encrypted data bags for graphite password but no encrypted data bag name is specified - fallback to node attribute.
[2013-10-09T20:00:35+00:00] ERROR: Running exception handlers
[2013-10-09T20:00:35+00:00] ERROR: Exception handlers complete
[2013-10-09T20:00:35+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2013-10-09T20:00:35+00:00] FATAL: Chef::Exceptions::ResourceNotFound: resource template[/opt/graphite/conf/storage-schemas.conf] is configured to notify resource runit_service[carbon-cache] with action restart, but runit_service[carbon-cache] cannot be found in the resource collection. template[/opt/graphite/conf/storage-schemas.conf] is defined in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/graphite/recipes/carbon_cache.rb:28:in `from_file'

I am using vagrant
preceise32

config.vm.provision :chef_solo do |chef|
    chef.cookbooks_path = ["cookbooks"]
    chef.add_recipe "graphite"
end


What am I doing wrong here?



Archive powered by MHonArc 2.6.16.

§