Skip to content

Instantly share code, notes, and snippets.

@derekperkins
Created September 17, 2013 00:22
Show Gist options
  • Save derekperkins/6588517 to your computer and use it in GitHub Desktop.
Save derekperkins/6588517 to your computer and use it in GitHub Desktop.
Vagrant Provision
[2013-09-17T00:14:57+00:00] INFO: template[/var/www/.ssh/wrap-ssh4git.sh] mode c
hanged to 700
←[0m
================================================================================
←[0m
←[31mError executing action `sync` on resource 'git[nozzle_web]'←[0m
================================================================================
←[0m
←[0m
Mixlib::ShellOut::ShellCommandFailed←[0m
------------------------------------←[0m
Expected process to exit with [0], but received '128'
---- Begin output of git ls-remote "[email protected]:derekperkins/Nozzle.git" vagr
ant* ----
STDOUT:
: No such file or directory
fatal: The remote end hung up unexpectedly
---- End output of git ls-remote "[email protected]:derekperkins/Nozzle.git" vagran
t* ----
Ran git ls-remote "[email protected]:derekperkins/Nozzle.git" vagrant* returned 128
←[0m
←[0m
Resource Declaration:←[0m
---------------------←[0m
# In /tmp/vagrant-chef-1/chef-solo-2/cookbooks/nozzle/recipes/deploy.rb
66: git "nozzle_web" do
67: destination "/var/www/nozzle/htdocs"
68: repository "[email protected]:derekperkins/Nozzle.git"
69: revision "vagrant"
70: action :sync
71: user "www-data"
72: group "www-data"
73: ssh_wrapper "/var/www/.ssh/wrap-ssh4git.sh"
74: end
75:
←[0m
←[0m
Compiled Resource:←[0m
------------------←[0m
# Declared in /tmp/vagrant-chef-1/chef-solo-2/cookbooks/nozzle/recipes/deploy.rb
:66:in `from_file'
git("nozzle_web") do
provider Chef::Provider::Git
action [:sync]
retries 0
retry_delay 2
destination "/var/www/nozzle/htdocs"
revision "vagrant"
remote "origin"
ssh_wrapper "/var/www/.ssh/wrap-ssh4git.sh"
cookbook_name :nozzle
recipe_name "deploy"
repository "[email protected]:derekperkins/Nozzle.git"
user "www-data"
group "www-data"
end
←[0m
←[0m
[2013-09-17T00:14:57+00:00] INFO: Running queued delayed notifications before re
-raising exception
[2013-09-17T00:14:57+00:00] INFO: ark[elasticsearch] sending start action to ser
vice[elasticsearch] (delayed)
←[0m
================================================================================
←[0m
←[31mError executing action `start` on resource 'service[elasticsearch]'←[0m
================================================================================
←[0m
←[0m
Mixlib::ShellOut::ShellCommandFailed←[0m
------------------------------------←[0m
Expected process to exit with [0], but received '127'
---- Begin output of /etc/init.d/elasticsearch start ----
STDOUT:
: No such file or directory
---- End output of /etc/init.d/elasticsearch start ----
Ran /etc/init.d/elasticsearch start returned 127←[0m
←[0m
Resource Declaration:←[0m
---------------------←[0m
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/elasticsearch/recipes/default.rb
63: service "elasticsearch" do
64: supports :status => true, :restart => true
65: action [ :enable ]
66: end
67:
←[0m
←[0m
Compiled Resource:←[0m
------------------←[0m
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/elasticsearch/recipes/de
fault.rb:63:in `from_file'
service("elasticsearch") do
action [:enable]
updated true
supports {:status=>true, :restart=>true}
retries 0
retry_delay 2
service_name "elasticsearch"
enabled true
pattern "elasticsearch"
startup_type :automatic
cookbook_name :elasticsearch
recipe_name "default"
end
←[0m
←[0m
[2013-09-17T00:14:58+00:00] INFO: ark[elasticsearch] sending restart action to s
ervice[elasticsearch] (delayed)
←[0m
================================================================================
←[0m
←[31mError executing action `restart` on resource 'service[elasticsearch]'←[0m
================================================================================
←[0m
←[0m
Mixlib::ShellOut::ShellCommandFailed←[0m
------------------------------------←[0m
Expected process to exit with [0], but received '127'
---- Begin output of /etc/init.d/elasticsearch restart ----
STDOUT:
: No such file or directory
---- End output of /etc/init.d/elasticsearch restart ----
Ran /etc/init.d/elasticsearch restart returned 127←[0m
←[0m
Resource Declaration:←[0m
---------------------←[0m
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/elasticsearch/recipes/default.rb
63: service "elasticsearch" do
64: supports :status => true, :restart => true
65: action [ :enable ]
66: end
67:
←[0m
←[0m
Compiled Resource:←[0m
------------------←[0m
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/elasticsearch/recipes/de
fault.rb:63:in `from_file'
service("elasticsearch") do
action [:enable]
updated true
supports {:status=>true, :restart=>true}
retries 0
retry_delay 2
service_name "elasticsearch"
enabled true
pattern "elasticsearch"
startup_type :automatic
cookbook_name :elasticsearch
recipe_name "default"
end
←[0m
←[0m
[2013-09-17T00:14:59+00:00] INFO: ruby_block[sysctl config notifier] sending cre
ate action to template[/etc/sysctl.d/99-chef-attributes.conf] (delayed)
[2013-09-17T00:14:59+00:00] INFO: template[/etc/sysctl.d/99-chef-attributes.conf
] created file /etc/sysctl.d/99-chef-attributes.conf
[2013-09-17T00:14:59+00:00] INFO: template[/etc/sysctl.d/99-chef-attributes.conf
] updated file contents /etc/sysctl.d/99-chef-attributes.conf
[2013-09-17T00:14:59+00:00] INFO: template[/etc/sysctl.d/99-chef-attributes.conf
] mode changed to 644
[2013-09-17T00:14:59+00:00] INFO: template[/etc/sysctl.d/99-chef-attributes.conf
] sending start action to service[procps] (immediate)
[2013-09-17T00:15:00+00:00] INFO: service[procps] started
[2013-09-17T00:15:00+00:00] INFO: template[/etc/sv/redis-server/run] sending res
tart action to service[redis-server] (delayed)
[2013-09-17T00:15:01+00:00] INFO: service[redis-server] restarted
[2013-09-17T00:15:01+00:00] INFO: template[/etc/sv/nginx/run] sending restart ac
tion to service[nginx] (delayed)
[2013-09-17T00:15:04+00:00] INFO: service[nginx] restarted
[2013-09-17T00:15:04+00:00] INFO: template[nginx.conf] sending reload action to
service[nginx] (delayed)
[2013-09-17T00:15:05+00:00] INFO: service[nginx] reloaded
[2013-09-17T00:15:05+00:00] INFO: bash[compile_nginx_source] sending restart act
ion to service[nginx] (delayed)
[2013-09-17T00:15:06+00:00] INFO: service[nginx] restarted
[2013-09-17T00:15:06+00:00] INFO: template[/etc/samba/smb.conf] sending restart
action to service[smbd] (delayed)
[2013-09-17T00:15:09+00:00] INFO: service[smbd] restarted
[2013-09-17T00:15:09+00:00] INFO: template[/etc/samba/smb.conf] sending restart
action to service[nmbd] (delayed)
[2013-09-17T00:15:12+00:00] INFO: service[nmbd] restarted
[2013-09-17T00:15:12+00:00] ERROR: Running exception handlers
[2013-09-17T00:15:12+00:00] ERROR: Exception handlers complete
[2013-09-17T00:15:12+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-sta
cktrace.out
[2013-09-17T00:15:12+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef ru
n process exited unsuccessfully (exit code 1)
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment