Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - install version 1.8.3.1-6.el7_2.1 of package git
- * git[/var/www/discogs] action sync
- ================================================================================
- Error executing action `sync` on resource 'git[/var/www/discogs]'
- ================================================================================
- Mixlib::ShellOut::ShellCommandFailed
- ------------------------------------
- Expected process to exit with [0], but received '128'
- ---- Begin output of git ls-remote "git@github.com:discogs/discogs.git" "HEAD" ----
- STDOUT:
- STDERR: Host key verification failed.
- fatal: Could not read from remote repository.
- Please make sure you have the correct access rights
- and the repository exists.
- ---- End output of git ls-remote "git@github.com:discogs/discogs.git" "HEAD" ----
- Ran git ls-remote "git@github.com:discogs/discogs.git" "HEAD" returned 128
- Resource Declaration:
- ---------------------
- # In /tmp/kitchen/cache/cookbooks/discogs-app/recipes/repo.rb
- 61: git "#{node['discogs-app']['install_dir']}/discogs" do
- 62: action :sync
- 63: repository node['discogs-app']['repo']
- 64: user node['discogs-app']['user']
- 65: group node['discogs-app']['user']
- 66: enable_submodules true
- 67: enable_checkout false
- 68: not_if { Dir.exist?(node['discogs-app']['repo_dir']) }
- 69: end
- 70:
- Compiled Resource:
- ------------------
- # Declared in /tmp/kitchen/cache/cookbooks/discogs-app/recipes/repo.rb:61:in `from_file'
- git("/var/www/discogs") do
- action [:sync]
- retries 0
- retry_delay 2
- default_guard_interpreter :default
- destination "/var/www/discogs"
- enable_submodules true
- revision "HEAD"
- remote "origin"
- checkout_branch "deploy"
- declared_type :git
- cookbook_name "discogs-app"
- recipe_name "repo"
- repository "git@github.com:discogs/discogs.git"
- user "deploy"
- group "deploy"
- not_if { #code block }
- end
- Platform:
- ---------
- x86_64-linux
- Recipe: discogs-base::logging
- * service[rsyslog] action restart
- - restart service service[rsyslog]
- * template[update ssh known hosts file] action create
- - create new file /etc/ssh/ssh_known_hosts
- - update content in file /etc/ssh/ssh_known_hosts from none to 51b2be
- --- /etc/ssh/ssh_known_hosts 2017-03-28 12:43:23.851936868 +0000
- +++ /etc/ssh/.chef-ssh_known_hosts20170328-1218-189pqzr 2017-03-28 12:43:23.851936868 +0000
- @@ -1 +1,4 @@
- +github.com ssh-dss AAAAB3NzaC1kc3MAAACBANGFW2P9xlGU3zWrymJgI/lKo//ZW2WfVtmbsUZJ5uyKArtlQOT2+WRhcg4979aFxgKdcsqAYW3/LS1T2km3jYW/vr4Uzn+dXWODVk5VlUiZ1HFOHf6s6ITcZvjvdbp6ZbpM+DuJT7Bw+h5Fx8Qt8I16oCZYmAPJRtu46o9C2zk1AAAAFQC4gdFGcSbp5Gr0Wd5Ay/jtcldMewAAAIATTgn4sY4Nem/FQE+XJlyUQptPWMem5fwOcWtSXiTKaaN0lkk2p2snz+EJvAGXGq9dTSWHyLJSM2W6ZdQDqWJ1k+cL8CARAqL+UMwF84CR0m3hj+wtVGD/J4G5kW2DBAf4/bqzP4469lT+dF2FRQ2L9JKXrCWcnhMtJUvua8dvnwAAAIB6C4nQfAA7x8oLta6tT+oCk2WQcydNsyugE8vLrHlogoWEicla6cWPk7oXSspbzUcfkjN3Qa6e74PhRkc7JdSdAlFzU3m7LMkXo1MHgkqNX8glxWNVqBSc0YRdbFdTkL0C6gtpklilhvuHQCdbgB3LBAikcRkDp+FCVkUgPC/7Rw==
- +github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
- +
- - change mode from '' to '0644'
- - change owner from '' to 'root'
- - change group from '' to 'root'
- Running handlers:
- [2017-03-28T12:43:23+00:00] ERROR: Running exception handlers
- Running handlers complete
- [2017-03-28T12:43:23+00:00] ERROR: Exception handlers complete
- Chef Client failed. 17 resources updated in 01 minutes 42 seconds
- [2017-03-28T12:43:23+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
- [2017-03-28T12:43:23+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
- [2017-03-28T12:43:23+00:00] ERROR: git[/var/www/discogs] (discogs-app::repo line 61) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '128'
- ---- Begin output of git ls-remote "git@github.com:discogs/discogs.git" "HEAD" ----
- STDOUT:
- STDERR: Host key verification failed.
- fatal: Could not read from remote repository.
- Please make sure you have the correct access rights
- and the repository exists.
- ---- End output of git ls-remote "git@github.com:discogs/discogs.git" "HEAD" ----
- Ran git ls-remote "git@github.com:discogs/discogs.git" "HEAD" returned 128
- [2017-03-28T12:43:23+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement