Guest User

Untitled

a guest
Jun 14th, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.91 KB | None | 0 0
  1. TASK [network : Enabling calico] ***********************************************
  2. task path: /installer/playbook/roles/network/tasks/calico.yaml:8
  3. Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
  4. <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: user
  5. <127.0.0.1> SSH: EXEC sshpass -d10 ssh -C -o CheckHostIP=no -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o Port=22 -o 'IdentityFile="cluster/ssh_key"' -o User=user -o ConnectTimeout=10 -oPubkeyAuthentication=no 127.0.0.1 '/bin/bash -c '"'"'echo ~ && sleep 0'"'"''
  6. <127.0.0.1> (0, '/home/usern', '')
  7. <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: user
  8. <127.0.0.1> SSH: EXEC sshpass -d10 ssh -C -o CheckHostIP=no -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o Port=22 -o 'IdentityFile="cluster/ssh_key"' -o User=user -o ConnectTimeout=10 -oPubkeyAuthentication=no 127.0.0.1 '/bin/bash -c '"'"'( umask 77 && mkdir -p "` echo /home/user/.ansible/tmp/ansible-tmp-1528976337.25-231156419672494 `" && echo ansible-tmp-1528976337.25-231156419672494="` echo /home/user/.ansible/tmp/ansible-tmp-1528976337.25-231156419672494 `" ) && sleep 0'"'"''
  9. <127.0.0.1> (0, 'ansible-tmp-1528976337.25-231156419672494=/home/user/.ansible/tmp/ansible-tmp-1528976337.25-231156419672494n', '')
  10. <127.0.0.1> PUT /tmp/tmp98uaOG TO /home/user/.ansible/tmp/ansible-tmp-1528976337.25-231156419672494/command.py
  11. <127.0.0.1> SSH: EXEC sshpass -d10 sftp -o BatchMode=no -b - -C -o CheckHostIP=no -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o Port=22 -o 'IdentityFile="cluster/ssh_key"' -o User=user -o ConnectTimeout=10 -oPubkeyAuthentication=no '[127.0.0.1]'
  12. <127.0.0.1> (0, 'sftp> put /tmp/tmp98uaOG /home/user/.ansible/tmp/ansible-tmp-1528976337.25-231156419672494/command.pyn', '')
  13. <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: user
  14. <127.0.0.1> SSH: EXEC sshpass -d10 ssh -C -o CheckHostIP=no -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o Port=22 -o 'IdentityFile="cluster/ssh_key"' -o User=user -o ConnectTimeout=10 -oPubkeyAuthentication=no 127.0.0.1 '/bin/bash -c '"'"'chmod u+x /home/user/.ansible/tmp/ansible-tmp-1528976337.25-231156419672494/ /home/user/.ansible/tmp/ansible-tmp-1528976337.25-231156419672494/command.py && sleep 0'"'"''
  15. <127.0.0.1> (0, '', '')
  16. <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: user
  17. <127.0.0.1> SSH: EXEC sshpass -d10 ssh -C -o CheckHostIP=no -o LogLevel=ERROR -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o Port=22 -o 'IdentityFile="cluster/ssh_key"' -o User=user -o ConnectTimeout=10 -oPubkeyAuthentication=no -tt 127.0.0.1 '/bin/bash -c '"'"'sudo -H -S -i -p "[sudo via ansible, key=souadjgrohvvwgbsdjfdverklmfvdouq] password: " -u root /bin/bash -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-souadjgrohvvwgbsdjfdverklmfvdouq; /usr/bin/python /home/user/.ansible/tmp/ansible-tmp-1528976337.25-231156419672494/command.py; rm -rf "/home/user/.ansible/tmp/ansible-tmp-1528976337.25-231156419672494/" > /dev/null 2>&1'"'"'"'"'"'"'"'"' && sleep 0'"'"''
  18. <127.0.0.1> (0, 'rnrn{"changed": true, "end": "2018-06-14 13:38:59.184433", "stdout": "", "cmd": "kubectl apply --force --overwrite=true -f /installer/cluster/cfc-components/calico.yaml", "rc": 1, "start": "2018-06-14 13:38:59.060894", "stderr": "The connection to the server localhost:8080 was refused - did you specify the right host or port?", "delta": "0:00:00.123539", "invocation": {"module_args": {"warn": true, "executable": "/bin/bash", "_uses_shell": true, "_raw_params": "kubectl apply --force --overwrite=true -f /installer/cluster/cfc-components/calico.yaml", "removes": null, "creates": null, "chdir": null}}, "warnings": []}rn', 'Connection to 127.0.0.1 closed.rn')
  19. fatal: [127.0.0.1]: FAILED! => {
  20. "changed": true,
  21. "cmd": "kubectl apply --force --overwrite=true -f /installer/cluster/cfc-components/calico.yaml",
  22. "delta": "0:00:00.123539",
  23. "end": "2018-06-14 13:38:59.184433",
  24. "failed": true,
  25. "invocation": {
  26. "module_args": {
  27. "_raw_params": "kubectl apply --force --overwrite=true -f /installer/cluster/cfc-components/calico.yaml",
  28. "_uses_shell": true,
  29. "chdir": null,
  30. "creates": null,
  31. "executable": "/bin/bash",
  32. "removes": null,
  33. "warn": true
  34. }
  35. },
  36. "rc": 1,
  37. "start": "2018-06-14 13:38:59.060894",
  38. "stderr": "The connection to the server localhost:8080 was refused - did you specify the right host or port?",
  39. "stderr_lines": [
  40. "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
  41. ],
  42. "stdout": "",
  43. "stdout_lines": []
  44. }
  45.  
  46. PLAY RECAP *********************************************************************
  47. 127.0.0.1 : ok=204 changed=67 unreachable=0 failed=1
  48.  
  49. Playbook run took 0 days, 0 hours, 9 minutes, 36 seconds
  50.  
  51. user@user:/opt/ibm-cloud-private-ce-2.1.0.2/cluster$
Add Comment
Please, Sign In to add comment