Advertisement
Guest User

Untitled

a guest
Nov 9th, 2018
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.02 KB | None | 0 0
  1. I docker rmi all the images such that they would repull:
  2. [root@zuul-2 examples] (ibm-repo-1) > docker images list
  3. REPOSITORY TAG IMAGE ID CREATED SIZE
  4. [root@zuul-2 examples] (ibm-repo-1) > docker images
  5. REPOSITORY TAG IMAGE ID CREATED SIZE
  6. examples_logs latest 7ba511091c5f About an hour ago 91.8 MB
  7. examples_node latest d626e47ee140 About an hour ago 301 MB
  8. zuul/nodepool-launcher latest 47bf27b07cfa 20 hours ago 195 MB
  9. zuul/zuul latest d0d125ce297f 2 days ago 265 MB
  10. zuul/zuul-scheduler latest d60a9ba4dee0 2 days ago 265 MB
  11. zuul/zuul-executor latest e290ca67f6ef 2 days ago 312 MB
  12. zuul/zuul-web latest e3f96550028f 2 days ago 265 MB
  13. <none> <none> 28b992945c3d 11 days ago 91.8 MB
  14. httpd alpine 45c9b7b78130 2 weeks ago 91.8 MB
  15. zookeeper latest f336949ce7a1 2 weeks ago 148 MB
  16. mariadb latest 67238b4c1da0 3 weeks ago 365 MB
  17. gerritcodereview/gerrit latest 3440cfd08b41 4 weeks ago 956 MB
  18. rastasheep/ubuntu-sshd latest 49533628fb37 5 months ago 234 MB
  19.  
  20. Error traceback from the examples_executor_1:
  21. xecutor_1 | 2018-11-09 21:59:03,027 WARNING zuul.Repo: Retry 2: Clone /var/lib/zuul/executor-git/github.ibm.com/wrigley/zuul-experiment-config
  22. executor_1 | 2018-11-09 21:59:03,225 ERROR zuul.ExecutorServer: Exception in update thread:
  23. executor_1 | Traceback (most recent call last):
  24. executor_1 | File "/usr/local/lib/python3.7/site-packages/zuul/executor/server.py", line 2279, in _updateLoop
  25. executor_1 | self._innerUpdateLoop()
  26. executor_1 | File "/usr/local/lib/python3.7/site-packages/zuul/executor/server.py", line 2299, in _innerUpdateLoop
  27. executor_1 | task.branches = repo.getBranches()
  28. executor_1 | File "/usr/local/lib/python3.7/site-packages/zuul/merger/merger.py", line 298, in getBranches
  29. executor_1 | repo = self.createRepoObject()
  30. executor_1 | File "/usr/local/lib/python3.7/site-packages/zuul/merger/merger.py", line 235, in createRepoObject
  31. executor_1 | self._ensure_cloned()
  32. executor_1 | File "/usr/local/lib/python3.7/site-packages/zuul/merger/merger.py", line 163, in _ensure_cloned
  33. executor_1 | self._git_clone(clone_url)
  34. executor_1 | File "/usr/local/lib/python3.7/site-packages/zuul/merger/merger.py", line 195, in _git_clone
  35. executor_1 | kill_after_timeout=self.git_timeout)
  36. executor_1 | File "/usr/local/lib/python3.7/site-packages/git/cmd.py", line 548, in <lambda>
  37. executor_1 | return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  38. executor_1 | File "/usr/local/lib/python3.7/site-packages/git/cmd.py", line 1014, in _call_process
  39. executor_1 | return self.execute(call, **exec_kwargs)
  40. executor_1 | File "/usr/local/lib/python3.7/site-packages/git/cmd.py", line 825, in execute
  41. executor_1 | raise GitCommandError(command, status, stderr_value, stdout_value)
  42. executor_1 | git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  43. executor_1 | cmdline: git clone ssh://git@github.ibm.com/wrigley/zuul-experiment-config.git /var/lib/zuul/executor-git/github.ibm.com/wrigley/zuul-experiment-config
  44. executor_1 | stderr: 'Cloning into '/var/lib/zuul/executor-git/github.ibm.com/wrigley/zuul-experiment-config'...
  45. executor_1 | Host key verification failed.
  46. executor_1 | fatal: Could not read from remote repository.
  47. executor_1 |
  48. executor_1 | Please make sure you have the correct access rights
  49. executor_1 | and the repository exists.'
  50.  
  51. ==============================================
  52. When I do the same using the key from the same system:
  53. /usr/src # ssh-agent sh -c 'ssh-add /opt/zuul_keys/github.ibm.com/id_rsa; git clone ssh://git@github.ibm.com/wrigley/zuul-experiment-c
  54. onfig.git'
  55. Identity added: /opt/zuul_keys/github.ibm.com/id_rsa (/opt/zuul_keys/github.ibm.com/id_rsa)
  56. Cloning into 'zuul-experiment-config'...
  57. The authenticity of host 'github.ibm.com (169.60.70.162)' can't be established.
  58. ECDSA key fingerprint is SHA256:ZkDIk3kbswojRjqiSBsXS6xOHF+y+9nzcbZypokADKA.
  59. Are you sure you want to continue connecting (yes/no)? yes
  60. Warning: Permanently added 'github.ibm.com,169.60.70.162' (ECDSA) to the list of known hosts.
  61. remote: Counting objects: 14, done.
  62. remote: Total 14 (delta 0), reused 0 (delta 0), pack-reused 14
  63. Receiving objects: 100% (14/14), done.
  64. /usr/src # ls
  65. zuul-experiment-config
  66.  
  67. =================================================
  68. IMHO: I'm wondering if the call to the Repo class has its sshkey set?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement