[chef] Anyone Have Chef Server 12 RC 4 Working on Centos 7


Chronological Thread 
  • From: "Johnson, Austin" < >
  • To: " " < >
  • Subject: [chef] Anyone Have Chef Server 12 RC 4 Working on Centos 7
  • Date: Fri, 17 Oct 2014 13:45:17 +0000
  • Accept-language: en-US

Hello all,

I was wondering if anyone has had any luck getting Chef Server 12 working on Centos 7?

I was able to install the the server core and chef-manage (I had to use the RPM for that one) but when I run chef-server-ctl reconfigure I get the following failure:

    - configure service runit_service[rabbitmq]

Recipe: private-chef::rabbitmq
  * execute[/opt/opscode/bin/private-chef-ctl start rabbitmq] action run
================================================================================
Error executing action `run` on resource 'execute[/opt/opscode/bin/private-chef-ctl start rabbitmq]'
================================================================================


Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of /opt/opscode/bin/private-chef-ctl start rabbitmq ----
STDOUT: warning: rabbitmq: unable to open supervise/ok: file does not exist
STDERR:
---- End output of /opt/opscode/bin/private-chef-ctl start rabbitmq ----
Ran /opt/opscode/bin/private-chef-ctl start rabbitmq returned 1


Resource Declaration:
---------------------
# In /opt/opscode/embedded/cookbooks/private-chef/recipes/rabbitmq.rb

 79:   execute "#{opc_ctl} start rabbitmq" do
 80:     retries 20
 81:   end
 82:



Compiled Resource:
------------------
# Declared in /opt/opscode/embedded/cookbooks/private-chef/recipes/rabbitmq.rb:79:in `from_file'

execute("/opt/opscode/bin/private-chef-ctl start rabbitmq") do
  action "run"
  retries 0
  retry_delay 2
  guard_interpreter :default
  command "/opt/opscode/bin/private-chef-ctl start rabbitmq"
  backup 5
  returns 0
  cookbook_name :"private-chef"
  recipe_name "rabbitmq"
end




Running handlers:
[2014-10-17T09:03:24-04:00] ERROR: Running exception handlers
Running handlers complete

[2014-10-17T09:03:24-04:00] ERROR: Exception handlers complete
[2014-10-17T09:03:24-04:00] FATAL: Stacktrace dumped to /opt/opscode/embedded/cookbooks/cache/chef-stacktrace.out
Chef Client failed. 2 resources updated in 83.438880821 seconds
[2014-10-17T09:03:24-04:00] ERROR: execute[/opt/opscode/bin/private-chef-ctl start rabbitmq] (private-chef::rabbitmq line 79) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /opt/opscode/bin/private-chef-ctl start rabbitmq ----
STDOUT: warning: rabbitmq: unable to open supervise/ok: file does not exist
STDERR:
---- End output of /opt/opscode/bin/private-chef-ctl start rabbitmq ----
Ran /opt/opscode/bin/private-chef-ctl start rabbitmq returned 1
[2014-10-17T09:03:24-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
~]# pri
printafm          printenv          printf            private-chef-ctl
~]# pri
printafm          printenv          printf            private-chef-ctl
~]# private-chef-ctl start rabbitmq
warning: rabbitmq: unable to open supervise/ok: file does not exist
~]# private-chef-ctl start rabbitmq-server
~]#

Thanks,
Austin



Archive powered by MHonArc 2.6.16.

§