【发布时间】:2013-10-26 18:57:08
【问题描述】:
谁有安装石墨食谱的运气? 我已经尝试过 opscode 社区一和最新的重水社区一但没有运气 例如当我尝试运行时,heavywater 会出现以下异常:
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 /root/monitoring/cookbooks/graphite/recipes/carbon_cache.rb:28:in `from_file'
【问题讨论】:
-
您尝试过其他 Graphite 食谱吗?无耻的自插:github.com/cmur2/chef-graphite - 为了更灵活的配置和理解,我自己写了。
-
Cmur2 我希望使用社区食谱。当社区食谱更新时,这将确保我的可维护性
-
有充分的理由,您能否提供更多详细信息,例如您正在使用哪些与石墨相关的节点属性等以及更完整的堆栈跟踪错误消息?
-
更新了相关异常详情的问题
-
您是否使用 runit 来管理您的操作系统服务?至少 the cookbook 假设了这一点并且之后没有找到 runit - 也许您应该更改
node['graphite']['carbon']['service_type']以反映您的偏好。
标签: chef-infra graphite