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


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

Ok so say I download that in my cookbooks like:

/cookbooks/runit_graphite/

How can I have graphite use this version and all my other cookbooks use the latest version, is this possible?


On Wed, Oct 9, 2013 at 4:08 PM, Akzhan Abdulin < " target="_blank"> > wrote:
May be graphite cookbook requires obsolete version of runit cookbook?


2013/10/10 S Ahmed < " target="_blank"> >
[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.

§