Created
April 23, 2014 16:22
-
-
Save kjs3/11222167 to your computer and use it in GitHub Desktop.
Chef-server install error on Ubuntu 12.04
This file contains 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
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-04-23T12:19:22-04:00] ERROR: Running exception handlers | |
[2014-04-23T12:19:22-04:00] ERROR: Exception handlers complete | |
[2014-04-23T12:19:22-04:00] FATAL: Stacktrace dumped to /opt/chef-server/embedded/cookbooks/cache/chef-stacktrace.out | |
Chef Client failed. 125 resources updated | |
[2014-04-23T12:19:22-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment