Advertisement
Guest User

Untitled

a guest
Jul 28th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.30 KB | None | 0 0
  1. Using /home/roman/itzansible/ansible.cfg as config file
  2. Loaded callback default of type stdout, v2.0
  3.  
  4. PLAYBOOK: synchronize_bug.yml **************************************************
  5. 1 plays in synchronize_bug.yml
  6.  
  7. PLAY [db1test,dbslave2test] ****************************************************
  8.  
  9. TASK [setup] *******************************************************************
  10. Using module file /home/roman/ansible/lib/ansible/modules/core/system/setup.py
  11. <db1test> ESTABLISH SSH CONNECTION FOR USER: None
  12. Using module file /home/roman/ansible/lib/ansible/modules/core/system/setup.py
  13. <db1test> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/roman/.ansible/cp/ansible-ssh-%h-%p-%r db1test '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1469713844.07-162858944591153 `" && echo ansible-tmp-1469713844.07-162858944591153="` echo $HOME/.ansible/tmp/ansible-tmp-1469713844.07-162858944591153 `" ) && sleep 0'"'"''
  14. <dbslave2test> ESTABLISH SSH CONNECTION FOR USER: None
  15. <dbslave2test> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/roman/.ansible/cp/ansible-ssh-%h-%p-%r dbslave2test '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1469713844.07-48236154325475 `" && echo ansible-tmp-1469713844.07-48236154325475="` echo $HOME/.ansible/tmp/ansible-tmp-1469713844.07-48236154325475 `" ) && sleep 0'"'"''
  16. <dbslave2test> PUT /tmp/tmp7V4aB9 TO /home/roman/.ansible/tmp/ansible-tmp-1469713844.07-48236154325475/setup.py
  17. <db1test> PUT /tmp/tmpAWrhJQ TO /home/roman/.ansible/tmp/ansible-tmp-1469713844.07-162858944591153/setup.py
  18. <dbslave2test> SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/roman/.ansible/cp/ansible-ssh-%h-%p-%r '[dbslave2test]'
  19. <db1test> SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/roman/.ansible/cp/ansible-ssh-%h-%p-%r '[db1test]'
  20. <dbslave2test> ESTABLISH SSH CONNECTION FOR USER: None
  21. <dbslave2test> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/roman/.ansible/cp/ansible-ssh-%h-%p-%r dbslave2test '/bin/sh -c '"'"'chmod -R u+x /home/roman/.ansible/tmp/ansible-tmp-1469713844.07-48236154325475/ && sleep 0'"'"''
  22. <db1test> ESTABLISH SSH CONNECTION FOR USER: None
  23. <db1test> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/roman/.ansible/cp/ansible-ssh-%h-%p-%r db1test '/bin/sh -c '"'"'chmod -R u+x /home/roman/.ansible/tmp/ansible-tmp-1469713844.07-162858944591153/ && sleep 0'"'"''
  24. <dbslave2test> ESTABLISH SSH CONNECTION FOR USER: None
  25. <dbslave2test> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/roman/.ansible/cp/ansible-ssh-%h-%p-%r -tt dbslave2test '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=cnmkxrmbvrkydtgfjoeuzucwmkapoypp] password: " -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-cnmkxrmbvrkydtgfjoeuzucwmkapoypp; /usr/bin/python /home/roman/.ansible/tmp/ansible-tmp-1469713844.07-48236154325475/setup.py; rm -rf "/home/roman/.ansible/tmp/ansible-tmp-1469713844.07-48236154325475/" > /dev/null 2>&1'"'"'"'"'"'"'"'"' && sleep 0'"'"''
  26. <db1test> ESTABLISH SSH CONNECTION FOR USER: None
  27. <db1test> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/roman/.ansible/cp/ansible-ssh-%h-%p-%r -tt db1test '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=wgpkpqkrewgwrsvhetcpmjkqorqzlrpy] password: " -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-wgpkpqkrewgwrsvhetcpmjkqorqzlrpy; /usr/bin/python /home/roman/.ansible/tmp/ansible-tmp-1469713844.07-162858944591153/setup.py; rm -rf "/home/roman/.ansible/tmp/ansible-tmp-1469713844.07-162858944591153/" > /dev/null 2>&1'"'"'"'"'"'"'"'"' && sleep 0'"'"''
  28. ok: [dbslave2test]
  29. ok: [db1test]
  30.  
  31. TASK [copy data from source to destination] ************************************
  32. task path: /home/roman/itzansible/synchronize_bug.yml:7
  33. skipping: [dbslave2test] => {
  34. "changed": false,
  35. "skip_reason": "Conditional check failed",
  36. "skipped": true
  37. }
  38. Using module file /home/roman/ansible/lib/ansible/modules/core/files/synchronize.py
  39. <dbslave2test> ESTABLISH SSH CONNECTION FOR USER: None
  40. <dbslave2test> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/roman/.ansible/cp/ansible-ssh-%h-%p-%r dbslave2test '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1469713844.55-206912099281690 `" && echo ansible-tmp-1469713844.55-206912099281690="` echo $HOME/.ansible/tmp/ansible-tmp-1469713844.55-206912099281690 `" ) && sleep 0'"'"''
  41. <dbslave2test> PUT /tmp/tmpxXpZIO TO /home/roman/.ansible/tmp/ansible-tmp-1469713844.55-206912099281690/synchronize.py
  42. <dbslave2test> SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/roman/.ansible/cp/ansible-ssh-%h-%p-%r '[dbslave2test]'
  43. <dbslave2test> ESTABLISH SSH CONNECTION FOR USER: None
  44. <dbslave2test> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/roman/.ansible/cp/ansible-ssh-%h-%p-%r dbslave2test '/bin/sh -c '"'"'chmod -R u+x /home/roman/.ansible/tmp/ansible-tmp-1469713844.55-206912099281690/ && sleep 0'"'"''
  45. <dbslave2test> ESTABLISH SSH CONNECTION FOR USER: None
  46. <dbslave2test> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/roman/.ansible/cp/ansible-ssh-%h-%p-%r -tt dbslave2test '/bin/sh -c '"'"'/usr/bin/python /home/roman/.ansible/tmp/ansible-tmp-1469713844.55-206912099281690/synchronize.py; rm -rf "/home/roman/.ansible/tmp/ansible-tmp-1469713844.55-206912099281690/" > /dev/null 2>&1 && sleep 0'"'"''
  47. fatal: [db1test -> dbslave2test]: FAILED! => {
  48. "changed": false,
  49. "cmd": "/usr/bin/rsync --delay-updates -F --compress --delete-after --archive --rsh 'ssh -S none -o StrictHostKeyChecking=no' --rsync-path=\"sudo rsync\" --out-format='<<CHANGED>>%i %n%L' \"/tmp/testfiles\" \"db1test:/tmp/testfiles\"",
  50. "failed": true,
  51. "invocation": {
  52. "module_args": {
  53. "_local_rsync_path": "rsync",
  54. "_substitute_controller": false,
  55. "archive": true,
  56. "checksum": false,
  57. "compress": true,
  58. "copy_links": null,
  59. "delete": true,
  60. "dest": "db1test:/tmp/testfiles",
  61. "dest_port": 22,
  62. "dirs": false,
  63. "existing_only": false,
  64. "group": null,
  65. "links": null,
  66. "mode": "push",
  67. "owner": null,
  68. "partial": false,
  69. "perms": null,
  70. "private_key": null,
  71. "recursive": null,
  72. "rsync_opts": null,
  73. "rsync_path": "\"sudo rsync\"",
  74. "rsync_timeout": 0,
  75. "set_remote_user": true,
  76. "src": "/tmp/testfiles",
  77. "ssh_args": null,
  78. "times": null,
  79. "verify_host": false
  80. }
  81. },
  82. "msg": "Permission denied (publickey).\r\nrsync: connection unexpectedly closed (0 bytes received so far) [sender]\nrsync error: unexplained error (code 255) at io.c(226) [sender=3.1.1]\n",
  83. "rc": 255
  84. }
  85.  
  86. NO MORE HOSTS LEFT *************************************************************
  87. to retry, use: --limit @synchronize_bug.retry
  88.  
  89. PLAY RECAP *********************************************************************
  90. db1test : ok=1 changed=0 unreachable=0 failed=1
  91. dbslave2test : ok=1 changed=0 unreachable=0 failed=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement