Skip to content

Instantly share code, notes, and snippets.

@NightBrownie
Created May 17, 2013 19:51
Show Gist options
  • Save NightBrownie/5601564 to your computer and use it in GitHub Desktop.
Save NightBrownie/5601564 to your computer and use it in GitHub Desktop.
[2013-05-17T14:27:03-04:00] INFO: *** Chef 11.4.4 ***
[2013-05-17T14:27:04-04:00] INFO: Setting the run_list to ["recipe[op::iptables]", "recipe[op::upload_vcl]", "recipe[op::mysql]", "recipe[op::httpd]", "recipe[op::vcld]", "recipe[op::dhcp]"] from JSON
[2013-05-17T14:27:04-04:00] INFO: Run List is [recipe[op::iptables], recipe[op::upload_vcl], recipe[op::mysql], recipe[op::httpd], recipe[op::vcld], recipe[op::dhcp]]
[2013-05-17T14:27:04-04:00] INFO: Run List expands to [op::iptables, op::upload_vcl, op::mysql, op::httpd, op::vcld, op::dhcp]
[2013-05-17T14:27:04-04:00] INFO: Starting Chef Run for localhost
[2013-05-17T14:27:04-04:00] INFO: Running start handlers
[2013-05-17T14:27:04-04:00] INFO: Start handlers complete.
[2013-05-17T14:27:04-04:00] WARN: Cloning resource attributes for service[mysqld] from prior resource (CHEF-3694)
[2013-05-17T14:27:04-04:00] WARN: Previous service[mysqld]: /root/chef/management_node/op/recipes/mysql.rb:5:in `from_file'
[2013-05-17T14:27:04-04:00] WARN: Current service[mysqld]: /root/chef/management_node/op/recipes/mysql.rb:9:in `from_file'
[2013-05-17T14:27:04-04:00] WARN: Cloning resource attributes for execute[mysql] from prior resource (CHEF-3694)
[2013-05-17T14:27:04-04:00] WARN: Previous execute[mysql]: /root/chef/management_node/op/recipes/mysql.rb:16:in `from_file'
[2013-05-17T14:27:04-04:00] WARN: Current execute[mysql]: /root/chef/management_node/op/recipes/mysql.rb:20:in `from_file'
[2013-05-17T14:27:04-04:00] WARN: Cloning resource attributes for execute[mysql] from prior resource (CHEF-3694)
[2013-05-17T14:27:04-04:00] WARN: Previous execute[mysql]: /root/chef/management_node/op/recipes/mysql.rb:20:in `from_file'
[2013-05-17T14:27:04-04:00] WARN: Current execute[mysql]: /root/chef/management_node/op/recipes/mysql.rb:24:in `from_file'
[2013-05-17T14:27:04-04:00] WARN: Cloning resource attributes for service[httpd] from prior resource (CHEF-3694)
[2013-05-17T14:27:04-04:00] WARN: Previous service[httpd]: /root/chef/management_node/op/recipes/httpd.rb:7:in `from_file'
[2013-05-17T14:27:04-04:00] WARN: Current service[httpd]: /root/chef/management_node/op/recipes/httpd.rb:11:in `from_file'
[2013-05-17T14:27:04-04:00] WARN: Cloning resource attributes for execute[cp] from prior resource (CHEF-3694)
[2013-05-17T14:27:04-04:00] WARN: Previous execute[cp]: /root/chef/management_node/op/recipes/httpd.rb:30:in `from_file'
[2013-05-17T14:27:04-04:00] WARN: Current execute[cp]: /root/chef/management_node/op/recipes/vcld.rb:35:in `from_file'
[2013-05-17T14:27:04-04:00] WARN: Cloning resource attributes for execute[cp] from prior resource (CHEF-3694)
[2013-05-17T14:27:04-04:00] WARN: Previous execute[cp]: /root/chef/management_node/op/recipes/vcld.rb:35:in `from_file'
[2013-05-17T14:27:04-04:00] WARN: Current execute[cp]: /root/chef/management_node/op/recipes/vcld.rb:57:in `from_file'
[2013-05-17T14:27:04-04:00] WARN: Cloning resource attributes for service[vcld] from prior resource (CHEF-3694)
[2013-05-17T14:27:04-04:00] WARN: Previous service[vcld]: /root/chef/management_node/op/recipes/vcld.rb:61:in `from_file'
[2013-05-17T14:27:04-04:00] WARN: Current service[vcld]: /root/chef/management_node/op/recipes/vcld.rb:65:in `from_file'
[2013-05-17T14:27:04-04:00] WARN: Cloning resource attributes for service[dhcpd] from prior resource (CHEF-3694)
[2013-05-17T14:27:04-04:00] WARN: Previous service[dhcpd]: /root/chef/management_node/op/recipes/dhcp.rb:12:in `from_file'
[2013-05-17T14:27:04-04:00] WARN: Current service[dhcpd]: /root/chef/management_node/op/recipes/dhcp.rb:16:in `from_file'
[2013-05-17T14:27:04-04:00] INFO: Processing cookbook_file[iptables] action create (op::iptables line 3)
[2013-05-17T14:27:04-04:00] INFO: Processing service[iptables] action restart (op::iptables line 8)
[2013-05-17T14:27:06-04:00] INFO: service[iptables] restarted
[2013-05-17T14:27:06-04:00] INFO: Processing execute[tar] action run (op::upload_vcl line 4)
[2013-05-17T14:27:08-04:00] INFO: execute[tar] ran successfully
[2013-05-17T14:27:08-04:00] INFO: Processing package[mysql-server] action install (op::mysql line 3)
[2013-05-17T14:27:12-04:00] INFO: Processing service[mysqld] action enable (op::mysql line 5)
[2013-05-17T14:27:12-04:00] INFO: Processing service[mysqld] action restart (op::mysql line 9)
[2013-05-17T14:27:21-04:00] INFO: service[mysqld] restarted
[2013-05-17T14:27:21-04:00] INFO: Processing execute[mysql] action run (op::mysql line 16)
[2013-05-17T14:27:22-04:00] INFO: execute[mysql] ran successfully
[2013-05-17T14:27:22-04:00] INFO: Processing execute[mysql] action run (op::mysql line 20)
[2013-05-17T14:27:22-04:00] INFO: execute[mysql] ran successfully
[2013-05-17T14:27:22-04:00] INFO: Processing execute[mysql] action run (op::mysql line 24)
[2013-05-17T14:27:24-04:00] INFO: execute[mysql] ran successfully
[2013-05-17T14:27:24-04:00] INFO: Processing package[httpd] action install (op::httpd line 5)
[2013-05-17T14:27:24-04:00] INFO: Processing service[httpd] action enable (op::httpd line 7)
[2013-05-17T14:27:24-04:00] INFO: Processing service[httpd] action restart (op::httpd line 11)
[2013-05-17T14:27:26-04:00] INFO: service[httpd] restarted
[2013-05-17T14:27:26-04:00] INFO: Processing package[mod_ssl] action install (op::httpd line 18)
[2013-05-17T14:27:26-04:00] INFO: Processing package[php] action install (op::httpd line 19)
[2013-05-17T14:27:26-04:00] INFO: Processing package[php-gd] action install (op::httpd line 20)
[2013-05-17T14:27:26-04:00] INFO: Processing package[php-mysql] action install (op::httpd line 21)
[2013-05-17T14:27:26-04:00] INFO: Processing package[php-xml] action install (op::httpd line 22)
[2013-05-17T14:27:26-04:00] INFO: Processing package[php-xmlrpc] action install (op::httpd line 23)
[2013-05-17T14:27:26-04:00] INFO: Processing package[php-ldap] action install (op::httpd line 24)
[2013-05-17T14:27:26-04:00] INFO: Processing package[php-process] action install (op::httpd line 25)
[2013-05-17T14:27:26-04:00] INFO: Processing execute[cp] action run (op::httpd line 30)
[2013-05-17T14:27:26-04:00] INFO: execute[cp] ran successfully
[2013-05-17T14:27:26-04:00] INFO: Processing cookbook_file[secrets.php] action create (op::httpd line 35)
[2013-05-17T14:27:26-04:00] INFO: Processing cookbook_file[conf.php] action create (op::httpd line 40)
[2013-05-17T14:27:26-04:00] INFO: Processing execute[./genkeys.sh] action run (op::httpd line 45)
[2013-05-17T14:27:26-04:00] INFO: execute[./genkeys.sh] ran successfully
[2013-05-17T14:27:26-04:00] INFO: Processing execute[chown] action run (op::httpd line 50)
[2013-05-17T14:27:26-04:00] INFO: execute[chown] ran successfully
[2013-05-17T14:27:26-04:00] INFO: Processing package[expat] action install (op::vcld line 7)
[2013-05-17T14:27:26-04:00] INFO: Processing package[expat-devel] action install (op::vcld line 8)
[2013-05-17T14:27:26-04:00] INFO: Processing package[gcc] action install (op::vcld line 9)
[2013-05-17T14:27:26-04:00] INFO: Processing package[krb5-libs] action install (op::vcld line 10)
[2013-05-17T14:27:26-04:00] INFO: Processing package[krb5-devel] action install (op::vcld line 11)
[2013-05-17T14:27:26-04:00] INFO: Processing package[libxml2] action install (op::vcld line 12)
[2013-05-17T14:27:26-04:00] INFO: Processing package[libxml2-devel] action install (op::vcld line 13)
[2013-05-17T14:27:26-04:00] INFO: Processing package[mysql] action install (op::vcld line 14)
[2013-05-17T14:27:26-04:00] INFO: Processing package[nmap] action install (op::vcld line 15)
[2013-05-17T14:27:26-04:00] INFO: Processing package[openssh] action install (op::vcld line 16)
[2013-05-17T14:27:26-04:00] INFO: Processing package[openssl] action install (op::vcld line 17)
[2013-05-17T14:27:26-04:00] INFO: Processing package[openssl-devel] action install (op::vcld line 18)
[2013-05-17T14:27:26-04:00] INFO: Processing package[perl] action install (op::vcld line 19)
[2013-05-17T14:27:26-04:00] INFO: Processing package[perl-DBD-MySQL] action install (op::vcld line 20)
[2013-05-17T14:27:26-04:00] INFO: Processing execute[rpm] action run (op::vcld line 23)
[2013-05-17T14:27:29-04:00] INFO: execute[rpm] ran successfully
[2013-05-17T14:27:29-04:00] INFO: Processing package[xmlsec1-openssl] action install (op::vcld line 28)
[2013-05-17T14:27:29-04:00] INFO: Processing execute[cp] action run (op::vcld line 35)
[2013-05-17T14:27:29-04:00] INFO: execute[cp] ran successfully
[2013-05-17T14:27:29-04:00] INFO: Processing execute[perl] action run (op::vcld line 40)
[2013-05-17T14:28:12-04:00] INFO: execute[perl] ran successfully
[2013-05-17T14:28:12-04:00] INFO: Processing execute[mkdir] action run (op::vcld line 49)
[2013-05-17T14:28:12-04:00] INFO: execute[mkdir] ran successfully
[2013-05-17T14:28:12-04:00] INFO: Processing cookbook_file[/vcld.conf] action create (op::vcld line 53)
[2013-05-17T14:28:12-04:00] INFO: Processing execute[cp] action run (op::vcld line 57)
[2013-05-17T14:28:12-04:00] INFO: execute[cp] ran successfully
[2013-05-17T14:28:12-04:00] INFO: Processing service[vcld] action enable (op::vcld line 61)
[2013-05-17T14:28:13-04:00] INFO: Processing service[vcld] action restart (op::vcld line 65)
[2013-05-17T14:28:15-04:00] INFO: service[vcld] restarted
[2013-05-17T14:28:15-04:00] INFO: Processing package[dhcp] action install (op::dhcp line 6)
[2013-05-17T14:28:15-04:00] INFO: Processing cookbook_file[/dhcpd.conf] action create (op::dhcp line 8)
[2013-05-17T14:28:15-04:00] INFO: Processing service[dhcpd] action enable (op::dhcp line 12)
[2013-05-17T14:28:15-04:00] INFO: Processing service[dhcpd] action restart (op::dhcp line 16)
[0m
================================================================================ [0m
[31mError executing action `restart` on resource 'service[dhcpd]' [0m
================================================================================ [0m
[0m
Mixlib::ShellOut::ShellCommandFailed [0m
------------------------------------ [0m
Expected process to exit with [0], but received '1'
---- Begin output of /sbin/service dhcpd start ----
STDOUT: Starting dhcpd: [FAILED]
STDERR:
---- End output of /sbin/service dhcpd start ----
Ran /sbin/service dhcpd start returned 1 [0m
[0m
Resource Declaration: [0m
--------------------- [0m
# In /root/chef/management_node/op/recipes/dhcp.rb
16: service 'dhcpd' do
17: action :restart
18: end
19:
[0m
[0m
Compiled Resource: [0m
------------------ [0m
# Declared in /root/chef/management_node/op/recipes/dhcp.rb:16:in `from_file'
service("dhcpd") do
action [:restart]
supports {:restart=>false, :reload=>false, :status=>true}
retries 0
retry_delay 2
service_name "dhcpd"
pattern "dhcpd"
startup_type :automatic
cookbook_name :op
recipe_name "dhcp"
end
[0m
[0m
[2013-05-17T14:28:17-04:00] INFO: Running queued delayed notifications before re-raising exception
[2013-05-17T14:28:17-04:00] ERROR: Running exception handlers
[2013-05-17T14:28:17-04:00] ERROR: Exception handlers complete
[2013-05-17T14:28:17-04:00] FATAL: Stacktrace dumped to /root/chef/chef-stacktrace.out
[2013-05-17T14:28:17-04:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: service[dhcpd] (op::dhcp line 16) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /sbin/service dhcpd start ----
STDOUT: Starting dhcpd: [FAILED]
STDERR:
---- End output of /sbin/service dhcpd start ----
Ran /sbin/service dhcpd start returned 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment