Skip to content

Instantly share code, notes, and snippets.

@cdimartino
Created July 10, 2013 18:55
Show Gist options
  • Save cdimartino/5969048 to your computer and use it in GitHub Desktop.
Save cdimartino/5969048 to your computer and use it in GitHub Desktop.
[2013-07-10T18:21:25+00:00] INFO: Processing link[/usr/bin/nodetool] action create (cassandra::0.6 line 126)
[2013-07-10T18:21:25+00:00] INFO: Processing link[/usr/bin/clustertool] action create (cassandra::0.6 line 126)
[2013-07-10T18:21:25+00:00] INFO: Processing service[cassandra] action nothing (dynamically defined)
[2013-07-10T18:21:25+00:00] INFO: Processing runit_service[cassandra] action enable (cassandra::0.6 line 133)
================================================================================
Error executing action `enable` on resource 'runit_service[cassandra]'
================================================================================
NameError
---------
Cannot find a resource for load_new_resource_state on ubuntu version 10.10
Cookbook Trace:
---------------
/var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:93:in `action_enable'
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/cassandra/recipes/0.6.rb
133: runit_service "cassandra" do
134: action [ :enable, :start ]
135: end
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/cassandra/recipes/0.6.rb:133:in `from_file'
runit_service("cassandra") do
provider Chef::Provider::Service::Runit
action [:enable, :start]
supports {:restart=>true, :reload=>true, :status=>true}
retries 0
retry_delay 2
service_name "cassandra"
pattern "cassandra"
status_command "/usr/bin/sv status /etc/service"
startup_type :automatic
sv_bin "/usr/bin/sv"
sv_dir "/etc/sv"
service_dir "/etc/service"
log true
restart_on_update true
run_template_name "cassandra"
log_template_name "cassandra"
finish_script_template_name "cassandra"
sv_templates true
service_mirror # Declared in
service("cassandra") do
provider Chef::Provider::Service::Simple
action [:nothing]
supports {:restart=>true, :reload=>true, :status=>true}
retries 0
retry_delay 2
service_name "cassandra"
pattern "cassandra"
start_command "/usr/bin/sv start /etc/service/cassandra"
stop_command "/usr/bin/sv stop /etc/service/cassandra"
status_command "/usr/bin/sv status /etc/service/cassandra"
restart_command "/usr/bin/sv restart /etc/service/cassandra"
startup_type :automatic
end
cookbook_name "cassandra"
recipe_name "0.6"
end
[2013-07-10T18:21:25+00:00] ERROR: Running exception handlers
[2013-07-10T18:21:26+00:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
[2013-07-10T18:21:26+00:00] ERROR: Exception handlers complete
[2013-07-10T18:21:26+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2013-07-10T18:21:26+00:00] FATAL: NameError: runit_service[cassandra] (cassandra::0.6 line 133) had an error: NameError: Cannot find a resource for load_new_resource_state on ubuntu version 10.10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment