Advertisement
Guest User

Untitled

a guest
Sep 15th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.86 KB | None | 0 0
  1.  
  2. TASK [Register runner] *****************************************************************************************************************************************************************************************************************
  3. task path: /home/aleb/work_for_E42/interns-infra/ansible/playbook-runner.yml:37
  4. <35.228.42.128> ESTABLISH SSH CONNECTION FOR USER: appuser
  5. <35.228.42.128> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o 'IdentityFile="/home/aleb/.ssh/appuser"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="appuser"' -o ConnectTimeout=10 -o ControlPath=/home/aleb/.ansible/cp/19d2b245dc 35.228.42.128 '/bin/sh -c '"'"'echo ~appuser && sleep 0'"'"''
  6. <35.228.42.128> (0, '/home/appuser\n', '')
  7. <35.228.42.128> ESTABLISH SSH CONNECTION FOR USER: appuser
  8. <35.228.42.128> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o 'IdentityFile="/home/aleb/.ssh/appuser"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="appuser"' -o ConnectTimeout=10 -o ControlPath=/home/aleb/.ansible/cp/19d2b245dc 35.228.42.128 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/appuser/.ansible/tmp/ansible-tmp-1568537049.42-152120514836122 `" && echo ansible-tmp-1568537049.42-152120514836122="` echo /home/appuser/.ansible/tmp/ansible-tmp-1568537049.42-152120514836122 `" ) && sleep 0'"'"''
  9. <35.228.42.128> (0, 'ansible-tmp-1568537049.42-152120514836122=/home/appuser/.ansible/tmp/ansible-tmp-1568537049.42-152120514836122\n', '')
  10. Using module file /home/aleb/.local/lib/python2.7/site-packages/ansible/modules/source_control/gitlab_runner.py
  11. <35.228.42.128> PUT /home/aleb/.ansible/tmp/ansible-local-201081O76Yh/tmpGdpdSr TO /home/appuser/.ansible/tmp/ansible-tmp-1568537049.42-152120514836122/AnsiballZ_gitlab_runner.py
  12. <35.228.42.128> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o 'IdentityFile="/home/aleb/.ssh/appuser"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="appuser"' -o ConnectTimeout=10 -o ControlPath=/home/aleb/.ansible/cp/19d2b245dc '[35.228.42.128]'
  13. <35.228.42.128> (0, 'sftp> put /home/aleb/.ansible/tmp/ansible-local-201081O76Yh/tmpGdpdSr /home/appuser/.ansible/tmp/ansible-tmp-1568537049.42-152120514836122/AnsiballZ_gitlab_runner.py\n', '')
  14. <35.228.42.128> ESTABLISH SSH CONNECTION FOR USER: appuser
  15. <35.228.42.128> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o 'IdentityFile="/home/aleb/.ssh/appuser"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="appuser"' -o ConnectTimeout=10 -o ControlPath=/home/aleb/.ansible/cp/19d2b245dc 35.228.42.128 '/bin/sh -c '"'"'chmod u+x /home/appuser/.ansible/tmp/ansible-tmp-1568537049.42-152120514836122/ /home/appuser/.ansible/tmp/ansible-tmp-1568537049.42-152120514836122/AnsiballZ_gitlab_runner.py && sleep 0'"'"''
  16. <35.228.42.128> (0, '', '')
  17. <35.228.42.128> ESTABLISH SSH CONNECTION FOR USER: appuser
  18. <35.228.42.128> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o 'IdentityFile="/home/aleb/.ssh/appuser"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="appuser"' -o ConnectTimeout=10 -o ControlPath=/home/aleb/.ansible/cp/19d2b245dc -tt 35.228.42.128 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-ochtvubaswqrcwfxqddcwxphsusucbts ; /usr/bin/python /home/appuser/.ansible/tmp/ansible-tmp-1568537049.42-152120514836122/AnsiballZ_gitlab_runner.py'"'"'"'"'"'"'"'"' && sleep 0'"'"''
  19. Escalation succeeded
  20. <35.228.42.128> (1, '\r\n{"msg": "missing required arguments: url", "failed": true, "exception": "WARNING: The below traceback may *not* be related to the actual failure.\\n File \\"/tmp/ansible_gitlab_runner_payload_a1j5Ux/ansible_gitlab_runner_payload.zip/ansible/module_utils/basic.py\\", line 1540, in _check_required_arguments\\n check_required_arguments(spec, param)\\n File \\"/tmp/ansible_gitlab_runner_payload_a1j5Ux/ansible_gitlab_runner_payload.zip/ansible/module_utils/common/validation.py\\", line 193, in check_required_arguments\\n raise TypeError(to_native(msg))\\n", "invocation": {"module_args": {"registration_token": "VJyfHk4x1wRCz7635sFH", "locked": false, "api_url": "http://35.228.42.128", "description": "test_runner1", "run_untagged": true, "access_level": "ref_protected", "state": "present", "api_token": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "active": true, "tag_list": ["docker"], "validate_certs": true, "maximum_timeout": 3600}}}\r\n', 'Shared connection to 35.228.42.128 closed.\r\n')
  21. <35.228.42.128> Failed to connect to the host via ssh: Shared connection to 35.228.42.128 closed.
  22. <35.228.42.128> ESTABLISH SSH CONNECTION FOR USER: appuser
  23. <35.228.42.128> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o 'IdentityFile="/home/aleb/.ssh/appuser"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="appuser"' -o ConnectTimeout=10 -o ControlPath=/home/aleb/.ansible/cp/19d2b245dc 35.228.42.128 '/bin/sh -c '"'"'rm -f -r /home/appuser/.ansible/tmp/ansible-tmp-1568537049.42-152120514836122/ > /dev/null 2>&1 && sleep 0'"'"''
  24. <35.228.42.128> (0, '', '')
  25. The full traceback is:
  26. WARNING: The below traceback may *not* be related to the actual failure.
  27. File "/tmp/ansible_gitlab_runner_payload_a1j5Ux/ansible_gitlab_runner_payload.zip/ansible/module_utils/basic.py", line 1540, in _check_required_arguments
  28. check_required_arguments(spec, param)
  29. File "/tmp/ansible_gitlab_runner_payload_a1j5Ux/ansible_gitlab_runner_payload.zip/ansible/module_utils/common/validation.py", line 193, in check_required_arguments
  30. raise TypeError(to_native(msg))
  31.  
  32. fatal: [35.228.42.128]: FAILED! => {
  33. "changed": false,
  34. "invocation": {
  35. "module_args": {
  36. "access_level": "ref_protected",
  37. "active": true,
  38. "api_token": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
  39. "api_url": "http://35.228.42.128",
  40. "description": "test_runner1",
  41. "locked": false,
  42. "maximum_timeout": 3600,
  43. "registration_token": "VJyfHk4x1wRCz7635sFH",
  44. "run_untagged": true,
  45. "state": "present",
  46. "tag_list": [
  47. "docker"
  48. ],
  49. "validate_certs": true
  50. }
  51. },
  52. "msg": "missing required arguments: url"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement