Skip to content

Instantly share code, notes, and snippets.

@vkhatri
Created March 12, 2014 06:45
Show Gist options
  • Save vkhatri/9502043 to your computer and use it in GitHub Desktop.
Save vkhatri/9502043 to your computer and use it in GitHub Desktop.
Chef git Error - Failed to create timer thread
* git[/opt/git_sync] action sync
================================================================================
Error executing action `sync` on resource 'git[/opt/git_sync]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of git ls-remote "git@github.com:GITHUB_ACCOUNT/REPOSITORY.git" GITHUB_TAG* ----
STDOUT:
STDERR: [FATAL] Failed to create timer thread (errno: 11)
---- End output of git ls-remote "git@github.com:GITHUB_ACCOUNT/REPOSITORY.git" GITHUB_TAG* ----
Ran git ls-remote "git@github.com:GITHUB_ACCOUNT/REPOSITORY.git" GITHUB_TAG* returned 1
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/git_sync/recipes/default.rb
266: git git_sync_home do
267: repository git_sync_url
268: revision git_sync_revision
269: ssh_wrapper git_sync_ssh_wrapper
270: user git_sync_user
271: group git_sync_group
272: action "sync"
273: end
274:
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/git_sync/recipes/default.rb:266:in `block (2 levels) in from_file'
git("/opt/git_sync") do
provider Chef::Provider::Git
action [:sync]
retries 0
retry_delay 2
destination "/opt/git_sync"
revision "GITHUB_TAG"
remote "origin"
ssh_wrapper "/opt/git_sync/.ssh/git_sync_ssh_wrapper"
cookbook_name "git_sync"
recipe_name "default"
repository "git@github.com:GITHUB_ACCOUNT/REPOSITORY.git"
user "git_sync"
group "git_sync"
end
Chef Client failed. 2 resources updated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment