Hi, Is this a carbon issue or OS ? thoughts?
cheers -rob
* service[carbon-cache] action enable
================================================================================
Error executing action `enable` on resource 'service[carbon-cache]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of /bin/systemctl enable carbon-cache ----
STDOUT:
STDERR: Failed to execute operation: Access denied
---- End output of /bin/systemctl enable carbon-cache ----
Ran /bin/systemctl enable carbon-cache returned 1
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/graphite/recipes/carbon.rb
75: service "carbon-cache" do
76: action [ :enable, :start ]
77: end
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/graphite/recipes/carbon.rb:75:in `from_file'
service("carbon-cache") do
action [:enable, :start]
supports {:restart=>nil, :reload=>nil, :status=>nil}
retries 0
retry_delay 2
default_guard_interpreter :default
service_name "carbon-cache"
pattern "carbon-cache"
declared_type :service
cookbook_name "graphite"
recipe_name "carbon"
end
Running handlers:
[2016-05-09T16:46:58-04:00] ERROR: Running exception handlers
Running handlers complete
[2016-05-09T16:46:58-04:00] ERROR: Exception handlers complete
Chef Client failed. 5 resources updated in 35 seconds
[2016-05-09T16:46:58-04:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2016-05-09T16:46:58-04:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2016-05-09T16:46:58-04:00] ERROR: service[carbon-cache] (graphite::carbon line 75) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /bin/systemctl enable carbon-cache ----
STDOUT:
STDERR: Failed to execute operation: Access denied
---- End output of /bin/systemctl enable carbon-cache ----
Ran /bin/systemctl enable carbon-cache returned 1
[2016-05-09T16:46:59-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Hi, Is this a carbon issue or OS ? thoughts? cheers -rob