Created
September 9, 2014 18:37
-
-
Save kyleterry/06b742608154fa615a8f 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
- execute /opt/chef-server/bin/chef-server-ctl start erchef | |
Recipe: chef-server::bootstrap | |
* execute[verify-system-status] action run | |
================================================================================ | |
Error executing action `run` on resource 'execute[verify-system-status]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '7' | |
---- Begin output of curl -sf http://127.0.0.1:8000/_status ---- | |
STDOUT: | |
STDERR: | |
---- End output of curl -sf http://127.0.0.1:8000/_status ---- | |
Ran curl -sf http://127.0.0.1:8000/_status returned 7 | |
Resource Declaration: | |
--------------------- | |
# In /opt/chef-server/embedded/cookbooks/chef-server/recipes/bootstrap.rb | |
24: execute "verify-system-status" do | |
25: command "curl -sf #{erchef_status_url}" | |
26: retries 20 | |
27: not_if { File.exists?(bootstrap_status_file) } | |
28: end | |
29: | |
Compiled Resource: | |
------------------ | |
# Declared in /opt/chef-server/embedded/cookbooks/chef-server/recipes/bootstrap.rb:24:in `from_file' | |
execute("verify-system-status") do | |
action "run" | |
retries 0 | |
retry_delay 2 | |
command "curl -sf http://127.0.0.1:8000/_status" | |
backup 5 | |
returns 0 | |
cookbook_name :"chef-server" | |
recipe_name "bootstrap" | |
not_if { #code block } | |
end | |
[2014-09-09T18:36:44+00:00] ERROR: Running exception handlers | |
[2014-09-09T18:36:44+00:00] ERROR: Exception handlers complete | |
Chef Client failed. 71 resources updated | |
[2014-09-09T18:36:44+00:00] FATAL: Stacktrace dumped to /opt/chef-server/embedded/cookbooks/cache/chef-stacktrace.out | |
[2014-09-09T18:36:44+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: execute[verify-system-status] (chef-server::bootstrap line 24) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '7' | |
---- Begin output of curl -sf http://127.0.0.1:8000/_status ---- | |
STDOUT: | |
STDERR: | |
---- End output of curl -sf http://127.0.0.1:8000/_status ---- | |
Ran curl -sf http://127.0.0.1:8000/_status returned 7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment