Skip to content

Instantly share code, notes, and snippets.

@derekperkins
Created September 17, 2013 04:11
Show Gist options
  • Save derekperkins/6589992 to your computer and use it in GitHub Desktop.
Save derekperkins/6589992 to your computer and use it in GitHub Desktop.
Git Error
================================================================================
←[0m
←[31mError executing action `sync` on resource 'git[/var/www/nozzle/htdocs]'←[0m
================================================================================
←[0m
←[0m
Mixlib::ShellOut::ShellCommandFailed←[0m
------------------------------------←[0m
Expected process to exit with [0], but received '128'
---- Begin output of git ls-remote "https://github.com/derekperkins/Nozzle.git"
vagrant* ----
STDOUT:
STDERR: fatal: could not read Username for 'https://github.com': No such device
or address
---- End output of git ls-remote "https://github.com/derekperkins/Nozzle.git" va
grant* ----
Ran git ls-remote "https://github.com/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
71: git "/var/www/nozzle/htdocs" do
72: destination "/var/www/nozzle/htdocs"
73: repository "https://github.com/derekperkins/Nozzle.git"
74: revision "vagrant"
75: action :sync
76: user "www-data"
77: group "www-data"
78: ssh_wrapper "/var/www/.ssh/wrap-ssh4git.sh"
79: end
80:
←[0m
←[0m
Compiled Resource:←[0m
------------------←[0m
# Declared in /tmp/vagrant-chef-1/chef-solo-2/cookbooks/nozzle/recipes/deploy.rb
:71:in `from_file'
git("/var/www/nozzle/htdocs") 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 "https://github.com/derekperkins/Nozzle.git"
user "www-data"
group "www-data"
end
←[0m
←[0m
[2013-09-17T04:08:55+00:00] INFO: Running queued delayed notifications before re
-raising exception
[2013-09-17T04:08:55+00:00] INFO: ruby_block[sysctl config notifier] sending cre
ate action to template[/etc/sysctl.d/99-chef-attributes.conf] (delayed)
[2013-09-17T04:08:55+00:00] ERROR: Running exception handlers
[2013-09-17T04:08:55+00:00] ERROR: Exception handlers complete
[2013-09-17T04:08:55+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-sta
cktrace.out
[2013-09-17T04:08:55+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