Last active
March 3, 2017 00:20
-
-
Save Aslan/a78e6855001416bec75afc679d021885 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* service[opscode-erchef] action nothing (skipped due to action :nothing) | |
Recipe: private-chef::opscode-erchef | |
* runit_service[opscode-erchef] action enable | |
Recipe: <Dynamically Defined Resource> | |
* directory[/opt/opscode/sv/opscode-erchef] action create | |
- create new directory /opt/opscode/sv/opscode-erchef | |
- change mode from '' to '0755' | |
* template[/opt/opscode/sv/opscode-erchef/run] action create | |
- create new file /opt/opscode/sv/opscode-erchef/run | |
- update content in file /opt/opscode/sv/opscode-erchef/run from none to 8ef29e | |
--- /opt/opscode/sv/opscode-erchef/run 2017-03-03 00:02:40.699000338 +0000 | |
+++ /opt/opscode/sv/opscode-erchef/.chef-run20170303-26534-17jw61o 2017-03-03 00:02:40.699000338 +0000 | |
@@ -1 +1,7 @@ | |
+#!/bin/sh | |
+exec 2>&1 | |
+ | |
+/opt/opscode/bin/wait-for-rabbit | |
+ | |
+exec chpst -P -u opscode -U opscode env ERL_EPMD_ADDRESS=127.0.0.1 HOME=/var/opt/opscode/opscode-erchef /opt/opscode/embedded/service/opscode-erchef/bin/oc_erchef foreground | |
- change mode from '' to '0755' | |
* directory[/opt/opscode/sv/opscode-erchef/log] action create | |
- create new directory /opt/opscode/sv/opscode-erchef/log | |
- change mode from '' to '0755' | |
* directory[/opt/opscode/sv/opscode-erchef/log/main] action create | |
- create new directory /opt/opscode/sv/opscode-erchef/log/main | |
- change mode from '' to '0755' | |
* template[/opt/opscode/sv/opscode-erchef/log/run] action create | |
- create new file /opt/opscode/sv/opscode-erchef/log/run | |
- update content in file /opt/opscode/sv/opscode-erchef/log/run from none to f6e10e | |
--- /opt/opscode/sv/opscode-erchef/log/run 2017-03-03 00:02:40.715000147 +0000 | |
+++ /opt/opscode/sv/opscode-erchef/log/.chef-run20170303-26534-lo8ukf 2017-03-03 00:02:40.715000147 +0000 | |
@@ -1 +1,4 @@ | |
+#!/bin/sh | |
+exec chpst -U opscode -u opscode \ | |
+ svlogd -tt /var/log/opscode/opscode-erchef | |
- change mode from '' to '0755' | |
* template[/opt/opscode/sv/opscode-erchef/log/config] action create | |
- create new file /opt/opscode/sv/opscode-erchef/log/config | |
- update content in file /opt/opscode/sv/opscode-erchef/log/config from none to e3b0c4 | |
(no diff) | |
- change mode from '' to '0644' | |
* link[/opt/opscode/init/opscode-erchef] action create | |
- create symlink at /opt/opscode/init/opscode-erchef to /opt/opscode/embedded/bin/sv | |
* link[/opt/opscode/service/opscode-erchef] action create | |
- create symlink at /opt/opscode/service/opscode-erchef to /opt/opscode/sv/opscode-erchef | |
Recipe: private-chef::bootstrap | |
* execute[/opt/opscode/bin/chef-server-ctl start postgresql] action run | |
- execute /opt/opscode/bin/chef-server-ctl start postgresql | |
* execute[/opt/opscode/bin/chef-server-ctl start oc_bifrost] action run | |
- execute /opt/opscode/bin/chef-server-ctl start oc_bifrost | |
* ruby_block[bootstrap-chef-server-data] action run | |
================================================================================ | |
Error executing action `run` on resource 'ruby_block[bootstrap-chef-server-data]' | |
================================================================================ | |
NoMethodError | |
------------- | |
undefined method `[]' for nil:NilClass | |
Cookbook Trace: | |
--------------- | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/chef_server_data_bootstrap.rb:97:in `create_superuser_in_erchef' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/chef_server_data_bootstrap.rb:50:in `block in bootstrap' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/ec_postgres.rb:55:in `block in with_service_connection' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/ec_postgres.rb:44:in `with_connection' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/ec_postgres.rb:52:in `with_service_connection' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/chef_server_data_bootstrap.rb:49:in `bootstrap' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/recipes/bootstrap.rb:35:in `block (2 levels) in from_file' | |
Resource Declaration: | |
--------------------- | |
# In /var/opt/opscode/local-mode-cache/cookbooks/private-chef/recipes/bootstrap.rb | |
33: ruby_block "bootstrap-chef-server-data" do | |
34: block do | |
35: ChefServerDataBootstrap.new(node).bootstrap | |
36: end | |
37: not_if { OmnibusHelper.has_been_bootstrapped? } | |
38: notifies :restart, 'service[opscode-erchef]' | |
39: end | |
40: | |
Compiled Resource: | |
------------------ | |
# Declared in /var/opt/opscode/local-mode-cache/cookbooks/private-chef/recipes/bootstrap.rb:33:in `from_file' | |
ruby_block("bootstrap-chef-server-data") do | |
action [:run] | |
retries 0 | |
retry_delay 2 | |
default_guard_interpreter :default | |
block_name "bootstrap-chef-server-data" | |
declared_type :ruby_block | |
cookbook_name "private-chef" | |
recipe_name "bootstrap" | |
block #<Proc:0x0000000756f3b8@/var/opt/opscode/local-mode-cache/cookbooks/private-chef/recipes/bootstrap.rb:34> | |
not_if { #code block } | |
end | |
Platform: | |
--------- | |
x86_64-linux | |
Recipe: private-chef::rabbitmq | |
* runit_service[rabbitmq] action restart | |
- restart service runit_service[rabbitmq] | |
Recipe: private-chef::postgresql | |
* runit_service[postgresql] action restart | |
- restart service runit_service[postgresql] | |
Recipe: private-chef::oc_bifrost | |
* runit_service[oc_bifrost] action restart | |
- restart service runit_service[oc_bifrost] | |
Recipe: private-chef::oc_id | |
* runit_service[oc_id] action restart | |
- restart service runit_service[oc_id] | |
Recipe: private-chef::nginx | |
* runit_service[nginx] action restart | |
================================================================================ | |
Error executing action `restart` on resource 'runit_service[nginx]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '1' | |
---- Begin output of /opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx ---- | |
STDOUT: fail: /opt/opscode/service/nginx: unable to change to service directory: file does not exist | |
STDERR: | |
---- End output of /opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx ---- | |
Ran /opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx returned 1 | |
Cookbook Trace: | |
--------------- | |
/var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:184:in `restart_service' | |
Resource Declaration: | |
--------------------- | |
# In /var/opt/opscode/local-mode-cache/cookbooks/enterprise/definitions/component_runit_service.rb | |
37: runit_service component do | |
38: action :enable | |
39: retries 20 | |
40: control params[:control] if params[:control] | |
41: options( | |
42: :log_directory => log_directory | |
43: ) | |
44: params[:runit_attributes].each do |attr_name, attr_value| | |
45: send(attr_name.to_sym, attr_value) | |
46: end | |
47: end | |
48: | |
Compiled Resource: | |
------------------ | |
# Declared in /var/opt/opscode/local-mode-cache/cookbooks/enterprise/definitions/component_runit_service.rb:37:in `block in from_file' | |
runit_service("nginx") do | |
params {:package=>"private_chef", :log_directory=>nil, :svlogd_size=>nil, :svlogd_num=>nil, :ha=>nil, :control=>nil, :runit_attributes=>{}, :action=>:enable, :name=>"nginx"} | |
provider Chef::Provider::Service::Runit | |
action [:enable] | |
supports {:restart=>true, :reload=>true, :status=>true} | |
retries 20 | |
retry_delay 2 | |
default_guard_interpreter :default | |
service_name "nginx" | |
pattern "nginx" | |
status_command "/opt/opscode/embedded/bin/sv status /opt/opscode/service" | |
sv_bin "/opt/opscode/embedded/bin/sv" | |
sv_dir "/opt/opscode/sv" | |
service_dir "/opt/opscode/service" | |
lsb_init_dir "/opt/opscode/init" | |
options {:log_directory=>"/var/log/opscode/nginx"} | |
log true | |
restart_on_update true | |
run_template_name "nginx" | |
log_template_name "nginx" | |
check_script_template_name "nginx" | |
finish_script_template_name "nginx" | |
sv_templates true | |
service_mirror # Declared in | |
service("nginx") do | |
provider Chef::Provider::Service::Simple | |
action [:nothing] | |
supports {:restart=>true, :reload=>true, :status=>true} | |
retries 0 | |
retry_delay 2 | |
default_guard_interpreter :default | |
service_name "nginx" | |
pattern "nginx" | |
start_command "/opt/opscode/embedded/bin/sv start /opt/opscode/service/nginx" | |
stop_command "/opt/opscode/embedded/bin/sv stop /opt/opscode/service/nginx" | |
status_command "/opt/opscode/embedded/bin/sv status /opt/opscode/service/nginx" | |
restart_command "/opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx" | |
end | |
declared_type :runit_service | |
cookbook_name "private-chef" | |
recipe_name "nginx" | |
end | |
Platform: | |
--------- | |
x86_64-linux | |
Recipe: private-chef::opscode-solr4 | |
* runit_service[opscode-solr4] action restart | |
- restart service runit_service[opscode-solr4] | |
Recipe: private-chef::opscode-expander | |
* runit_service[opscode-expander] action restart | |
- restart service runit_service[opscode-expander] | |
Recipe: private-chef::bookshelf | |
* runit_service[bookshelf] action restart | |
- restart service runit_service[bookshelf] | |
Recipe: private-chef::opscode-erchef | |
* runit_service[opscode-erchef] action restart | |
- restart service runit_service[opscode-erchef] | |
Running handlers: | |
[2017-03-03T00:03:33+00:00] ERROR: Running exception handlers | |
Running handlers complete | |
[2017-03-03T00:03:33+00:00] ERROR: Exception handlers complete | |
Chef Client failed. 203 resources updated in 01 minutes 51 seconds | |
[2017-03-03T00:03:33+00:00] FATAL: Stacktrace dumped to /var/opt/opscode/local-mode-cache/chef-stacktrace.out | |
[2017-03-03T00:03:33+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report | |
[2017-03-03T00:03:33+00:00] FATAL: Chef::Exceptions::MultipleFailures: Multiple failures occurred: | |
* NoMethodError occurred in chef run: ruby_block[bootstrap-chef-server-data] (private-chef::bootstrap line 33) had an error: NoMethodError: undefined method `[]' for nil:NilClass | |
* Mixlib::ShellOut::ShellCommandFailed occurred in delayed notification: runit_service[nginx] (private-chef::nginx line 37) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
---- Begin output of /opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx ---- | |
STDOUT: fail: /opt/opscode/service/nginx: unable to change to service directory: file does not exist | |
STDERR: | |
---- End output of /opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx ---- | |
Ran /opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx returned 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Generated at 2017-03-03 00:03:33 +0000 | |
Chef::Exceptions::MultipleFailures: Chef::Exceptions::MultipleFailures | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/chef_server_data_bootstrap.rb:97:in `create_superuser_in_erchef' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/chef_server_data_bootstrap.rb:50:in `block in bootstrap' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/ec_postgres.rb:55:in `block in with_service_connection' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/ec_postgres.rb:44:in `with_connection' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/ec_postgres.rb:52:in `with_service_connection' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/chef_server_data_bootstrap.rb:49:in `bootstrap' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/recipes/bootstrap.rb:35:in `block (2 levels) in from_file' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/provider/ruby_block.rb:35:in `call' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/provider/ruby_block.rb:35:in `block in action_run' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/mixin/why_run.rb:52:in `add_action' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/provider.rb:176:in `converge_by' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/provider/ruby_block.rb:34:in `action_run' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/provider.rb:145:in `run_action' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource.rb:622:in `run_action' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/runner.rb:69:in `run_action' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block (2 levels) in converge' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `each' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block in converge' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:114:in `call' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:85:in `step' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/runner.rb:96:in `converge' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/client.rb:670:in `block in converge' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `catch' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `converge' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/client.rb:704:in `converge_and_save' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/client.rb:284:in `run' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/application.rb:276:in `run_with_graceful_exit_option' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/application.rb:252:in `block in run_chef_client' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/local_mode.rb:44:in `with_server_connectivity' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/application.rb:235:in `run_chef_client' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/application/client.rb:427:in `run_application' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/application.rb:59:in `run' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/bin/chef-client:26:in `<top (required)>' | |
/opt/opscode/embedded/bin/chef-client:22:in `load' | |
/opt/opscode/embedded/bin/chef-client:22:in `<main>' | |
>>>> Caused by NoMethodError: ruby_block[bootstrap-chef-server-data] (private-chef::bootstrap line 33) had an error: NoMethodError: undefined method `[]' for nil:NilClass | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/chef_server_data_bootstrap.rb:97:in `create_superuser_in_erchef' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/chef_server_data_bootstrap.rb:50:in `block in bootstrap' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/ec_postgres.rb:55:in `block in with_service_connection' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/ec_postgres.rb:44:in `with_connection' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/ec_postgres.rb:52:in `with_service_connection' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/chef_server_data_bootstrap.rb:49:in `bootstrap' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/recipes/bootstrap.rb:35:in `block (2 levels) in from_file' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/provider/ruby_block.rb:35:in `call' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/provider/ruby_block.rb:35:in `block in action_run' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/mixin/why_run.rb:52:in `add_action' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/provider.rb:176:in `converge_by' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/provider/ruby_block.rb:34:in `action_run' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/provider.rb:145:in `run_action' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource.rb:622:in `run_action' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/runner.rb:69:in `run_action' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block (2 levels) in converge' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `each' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block in converge' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:114:in `call' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:85:in `step' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/runner.rb:96:in `converge' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/client.rb:670:in `block in converge' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `catch' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `converge' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/client.rb:704:in `converge_and_save' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/client.rb:284:in `run' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/application.rb:276:in `run_with_graceful_exit_option' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/application.rb:252:in `block in run_chef_client' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/local_mode.rb:44:in `with_server_connectivity' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/application.rb:235:in `run_chef_client' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/application/client.rb:427:in `run_application' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/application.rb:59:in `run' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/bin/chef-client:26:in `<top (required)>' | |
/opt/opscode/embedded/bin/chef-client:22:in `load' | |
/opt/opscode/embedded/bin/chef-client:22:in `<main>' | |
>>>> Caused by NoMethodError: undefined method `[]' for nil:NilClass | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/chef_server_data_bootstrap.rb:97:in `create_superuser_in_erchef' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/chef_server_data_bootstrap.rb:50:in `block in bootstrap' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/ec_postgres.rb:55:in `block in with_service_connection' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/ec_postgres.rb:44:in `with_connection' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/ec_postgres.rb:52:in `with_service_connection' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/chef_server_data_bootstrap.rb:49:in `bootstrap' | |
/var/opt/opscode/local-mode-cache/cookbooks/private-chef/recipes/bootstrap.rb:35:in `block (2 levels) in from_file' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/provider/ruby_block.rb:35:in `call' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/provider/ruby_block.rb:35:in `block in action_run' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/mixin/why_run.rb:52:in `add_action' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/provider.rb:176:in `converge_by' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/provider/ruby_block.rb:34:in `action_run' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/provider.rb:145:in `run_action' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource.rb:622:in `run_action' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/runner.rb:69:in `run_action' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block (2 levels) in converge' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `each' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/runner.rb:97:in `block in converge' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:114:in `call' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:85:in `step' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/runner.rb:96:in `converge' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/client.rb:670:in `block in converge' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `catch' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/client.rb:665:in `converge' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/client.rb:704:in `converge_and_save' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/client.rb:284:in `run' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/application.rb:276:in `run_with_graceful_exit_option' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/application.rb:252:in `block in run_chef_client' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/local_mode.rb:44:in `with_server_connectivity' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/application.rb:235:in `run_chef_client' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/application/client.rb:427:in `run_application' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/lib/chef/application.rb:59:in `run' | |
/opt/opscode/embedded/lib/ruby/gems/2.2.0/gems/chef-12.17.44/bin/chef-client:26:in `<top (required)>' | |
/opt/opscode/embedded/bin/chef-client:22:in `load' | |
/opt/opscode/embedded/bin/chef-client:22:in `<main>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment