Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.43 KB | None | 0 0
  1. - install version 1.8.3.1-6.el7_2.1 of package git
  2.  
  3. * git[/var/www/discogs] action sync
  4.  
  5. ================================================================================
  6. Error executing action `sync` on resource 'git[/var/www/discogs]'
  7. ================================================================================
  8.  
  9. Mixlib::ShellOut::ShellCommandFailed
  10. ------------------------------------
  11. Expected process to exit with [0], but received '128'
  12. ---- Begin output of git ls-remote "git@github.com:discogs/discogs.git" "HEAD" ----
  13. STDOUT:
  14. STDERR: Host key verification failed.
  15. fatal: Could not read from remote repository.
  16.  
  17. Please make sure you have the correct access rights
  18. and the repository exists.
  19. ---- End output of git ls-remote "git@github.com:discogs/discogs.git" "HEAD" ----
  20. Ran git ls-remote "git@github.com:discogs/discogs.git" "HEAD" returned 128
  21.  
  22. Resource Declaration:
  23. ---------------------
  24. # In /tmp/kitchen/cache/cookbooks/discogs-app/recipes/repo.rb
  25.  
  26. 61: git "#{node['discogs-app']['install_dir']}/discogs" do
  27. 62: action :sync
  28. 63: repository node['discogs-app']['repo']
  29. 64: user node['discogs-app']['user']
  30. 65: group node['discogs-app']['user']
  31. 66: enable_submodules true
  32. 67: enable_checkout false
  33. 68: not_if { Dir.exist?(node['discogs-app']['repo_dir']) }
  34. 69: end
  35. 70:
  36.  
  37. Compiled Resource:
  38. ------------------
  39. # Declared in /tmp/kitchen/cache/cookbooks/discogs-app/recipes/repo.rb:61:in `from_file'
  40.  
  41. git("/var/www/discogs") do
  42. action [:sync]
  43. retries 0
  44. retry_delay 2
  45. default_guard_interpreter :default
  46. destination "/var/www/discogs"
  47. enable_submodules true
  48. revision "HEAD"
  49. remote "origin"
  50. checkout_branch "deploy"
  51. declared_type :git
  52. cookbook_name "discogs-app"
  53. recipe_name "repo"
  54. repository "git@github.com:discogs/discogs.git"
  55. user "deploy"
  56. group "deploy"
  57. not_if { #code block }
  58. end
  59.  
  60. Platform:
  61. ---------
  62. x86_64-linux
  63.  
  64. Recipe: discogs-base::logging
  65. * service[rsyslog] action restart
  66. - restart service service[rsyslog]
  67. * template[update ssh known hosts file] action create
  68. - create new file /etc/ssh/ssh_known_hosts
  69. - update content in file /etc/ssh/ssh_known_hosts from none to 51b2be
  70. --- /etc/ssh/ssh_known_hosts 2017-03-28 12:43:23.851936868 +0000
  71. +++ /etc/ssh/.chef-ssh_known_hosts20170328-1218-189pqzr 2017-03-28 12:43:23.851936868 +0000
  72. @@ -1 +1,4 @@
  73. +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==
  74. +github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
  75. +
  76. - change mode from '' to '0644'
  77. - change owner from '' to 'root'
  78. - change group from '' to 'root'
  79.  
  80. Running handlers:
  81. [2017-03-28T12:43:23+00:00] ERROR: Running exception handlers
  82. Running handlers complete
  83. [2017-03-28T12:43:23+00:00] ERROR: Exception handlers complete
  84. Chef Client failed. 17 resources updated in 01 minutes 42 seconds
  85. [2017-03-28T12:43:23+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
  86. [2017-03-28T12:43:23+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
  87. [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'
  88. ---- Begin output of git ls-remote "git@github.com:discogs/discogs.git" "HEAD" ----
  89. STDOUT:
  90. STDERR: Host key verification failed.
  91. fatal: Could not read from remote repository.
  92.  
  93. Please make sure you have the correct access rights
  94. and the repository exists.
  95. ---- End output of git ls-remote "git@github.com:discogs/discogs.git" "HEAD" ----
  96. Ran git ls-remote "git@github.com:discogs/discogs.git" "HEAD" returned 128
  97. [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