hectcastro / chef-graphite

A Chef cookbook to install Graphite.
Apache License 2.0
29 stars 28 forks source link

carbon-cache fails to start on RHEL 7.1 #39

Closed rj-reilly closed 8 years ago

rj-reilly commented 8 years ago

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)
rj-reilly commented 8 years ago

aah no support for rhel 7 :)