Advertisement
Guest User

Untitled

a guest
Jan 18th, 2018
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.75 KB | None | 0 0
  1. TASK [curator : Install curator] **************************************************************************************************************************************************
  2. task path: /home/bob/projects/rasp-vpn/ELK/roles/curator/tasks/main.yml:27
  3. Using module file /usr/lib/python2.7/dist-packages/ansible/modules/packaging/os/apt.py
  4. <10.0.2.63> ESTABLISH SSH CONNECTION FOR USER: gwadmin
  5. <10.0.2.63> SSH: EXEC sshpass -d12 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o User=gwadmin -o ConnectTimeout=10 -o ControlPath=/home/bob/.ansible/cp/0581005360 10.0.2.63 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /tmp/.ansible/tmp/ansible-tmp-1516270223.45-215123760949383 `" && echo ansible-tmp-1516270223.45-215123760949383="` echo /tmp/.ansible/tmp/ansible-tmp-1516270223.45-215123760949383 `" ) && sleep 0'"'"''
  6. <10.0.2.63> (0, 'ansible-tmp-1516270223.45-215123760949383=/tmp/.ansible/tmp/ansible-tmp-1516270223.45-215123760949383\n', 'OpenSSH_7.2p2 Ubuntu-4ubuntu2.2, OpenSSL 1.0.2g 1 Mar 2016\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 22133\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
  7. <10.0.2.63> PUT /tmp/tmp02yioD TO /tmp/.ansible/tmp/ansible-tmp-1516270223.45-215123760949383/apt.py
  8. <10.0.2.63> SSH: EXEC sshpass -d12 sftp -o BatchMode=no -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o User=gwadmin -o ConnectTimeout=10 -o ControlPath=/home/bob/.ansible/cp/0581005360 '[10.0.2.63]'
  9. <10.0.2.63> (0, 'sftp> put /tmp/tmp02yioD /tmp/.ansible/tmp/ansible-tmp-1516270223.45-215123760949383/apt.py\n', 'OpenSSH_7.2p2 Ubuntu-4ubuntu2.2, OpenSSL 1.0.2g 1 Mar 2016\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 22133\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension "posix-rename@openssh.com" revision 1\r\ndebug2: Server supports extension "statvfs@openssh.com" revision 2\r\ndebug2: Server supports extension "fstatvfs@openssh.com" revision 2\r\ndebug2: Server supports extension "hardlink@openssh.com" revision 1\r\ndebug2: Server supports extension "fsync@openssh.com" revision 1\r\ndebug3: Sent message fd 5 T:16 I:1\r\ndebug3: SSH_FXP_REALPATH . -> /home/gwadmin size 0\r\ndebug3: Looking up /tmp/tmp02yioD\r\ndebug3: Sent message fd 5 T:17 I:2\r\ndebug3: Received stat reply T:101 I:2\r\ndebug1: Couldn\'t stat remote file: No such file or directory\r\ndebug3: Sent message SSH2_FXP_OPEN I:3 P:/tmp/.ansible/tmp/ansible-tmp-1516270223.45-215123760949383/apt.py\r\ndebug3: Sent message SSH2_FXP_WRITE I:4 O:0 S:32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 4 32768 bytes at 0\r\ndebug3: Sent message SSH2_FXP_WRITE I:5 O:32768 S:32768\r\ndebug3: Sent message SSH2_FXP_WRITE I:6 O:65536 S:30425\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 5 32768 bytes at 32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 6 30425 bytes at 65536\r\ndebug3: Sent message SSH2_FXP_CLOSE I:4\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
  10. <10.0.2.63> ESTABLISH SSH CONNECTION FOR USER: gwadmin
  11. <10.0.2.63> SSH: EXEC sshpass -d12 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o User=gwadmin -o ConnectTimeout=10 -o ControlPath=/home/bob/.ansible/cp/0581005360 10.0.2.63 '/bin/sh -c '"'"'chmod u+x /tmp/.ansible/tmp/ansible-tmp-1516270223.45-215123760949383/ /tmp/.ansible/tmp/ansible-tmp-1516270223.45-215123760949383/apt.py && sleep 0'"'"''
  12. <10.0.2.63> (0, '', 'OpenSSH_7.2p2 Ubuntu-4ubuntu2.2, OpenSSL 1.0.2g 1 Mar 2016\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 22133\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
  13. <10.0.2.63> ESTABLISH SSH CONNECTION FOR USER: gwadmin
  14. <10.0.2.63> SSH: EXEC sshpass -d12 ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o User=gwadmin -o ConnectTimeout=10 -o ControlPath=/home/bob/.ansible/cp/0581005360 -tt 10.0.2.63 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=zejfivxbuvtijmyheicslhztocbedxcq] password: " -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-zejfivxbuvtijmyheicslhztocbedxcq; /usr/bin/python /tmp/.ansible/tmp/ansible-tmp-1516270223.45-215123760949383/apt.py; rm -rf "/tmp/.ansible/tmp/ansible-tmp-1516270223.45-215123760949383/" > /dev/null 2>&1'"'"'"'"'"'"'"'"' && sleep 0'"'"''
  15. <10.0.2.63> (0, '\r\n\r\n{"exception": " File \\"/tmp/ansible_OM3QWC/ansible_module_apt.py\\", line 287, in <module>\\n import apt\\n", "stdout": "Ign:1 http://security.ubuntu.com/ubuntu yakkety-security InRelease\\nErr:2 http://security.ubuntu.com/ubuntu yakkety-security Release\\n 404 Not Found\\nIgn:3 http://us.archive.ubuntu.com/ubuntu yakkety InRelease\\nIgn:4 http://us.archive.ubuntu.com/ubuntu yakkety-updates InRelease\\nIgn:5 http://us.archive.ubuntu.com/ubuntu yakkety-backports InRelease\\nErr:6 http://us.archive.ubuntu.com/ubuntu yakkety Release\\n 404 Not Found\\nErr:7 http://us.archive.ubuntu.com/ubuntu yakkety-updates Release\\n 404 Not Found\\nErr:8 http://us.archive.ubuntu.com/ubuntu yakkety-backports Release\\n 404 Not Found\\nReading package lists...\\n", "cmd": "apt-get update", "failed": true, "stderr": "E: The repository \'http://security.ubuntu.com/ubuntu yakkety-security Release\' does no longer have a Release file.\\nE: The repository \'http://us.archive.ubuntu.com/ubuntu yakkety Release\' does no longer have a Release file.\\nE: The repository \'http://us.archive.ubuntu.com/ubuntu yakkety-updates Release\' does no longer have a Release file.\\nE: The repository \'http://us.archive.ubuntu.com/ubuntu yakkety-backports Release\' does no longer have a Release file.\\n", "rc": 100, "invocation": {"module_args": {"dpkg_options": "force-confdef,force-confold", "autoremove": false, "force": false, "force_apt_get": false, "install_recommends": null, "package": null, "autoclean": false, "purge": false, "allow_unauthenticated": false, "state": "present", "upgrade": null, "update_cache": false, "default_release": null, "only_upgrade": false, "deb": "/home/gwadmin/ansible_tmp/elasticsearch-curator_5.4.1_amd64.deb", "cache_valid_time": 0}}, "msg": "E: The repository \'http://security.ubuntu.com/ubuntu yakkety-security Release\' does no longer have a Release file.\\nE: The repository \'http://us.archive.ubuntu.com/ubuntu yakkety Release\' does no longer have a Release file.\\nE: The repository \'http://us.archive.ubuntu.com/ubuntu yakkety-updates Release\' does no longer have a Release file.\\nE: The repository \'http://us.archive.ubuntu.com/ubuntu yakkety-backports Release\' does no longer have a Release file."}\r\n', 'OpenSSH_7.2p2 Ubuntu-4ubuntu2.2, OpenSSL 1.0.2g 1 Mar 2016\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 22133\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nShared connection to 10.0.2.63 closed.\r\n')
  16. The full traceback is:
  17. File "/tmp/ansible_OM3QWC/ansible_module_apt.py", line 287, in <module>
  18. import apt
  19.  
  20. fatal: [10.0.2.63]: FAILED! => {
  21. "changed": false,
  22. "cmd": "apt-get update",
  23. "invocation": {
  24. "module_args": {
  25. "allow_unauthenticated": false,
  26. "autoclean": false,
  27. "autoremove": false,
  28. "cache_valid_time": 0,
  29. "deb": "/home/gwadmin/ansible_tmp/elasticsearch-curator_5.4.1_amd64.deb",
  30. "default_release": null,
  31. "dpkg_options": "force-confdef,force-confold",
  32. "force": false,
  33. "force_apt_get": false,
  34. "install_recommends": null,
  35. "only_upgrade": false,
  36. "package": null,
  37. "purge": false,
  38. "state": "present",
  39. "update_cache": false,
  40. "upgrade": null
  41. }
  42. },
  43. "msg": "E: The repository 'http://security.ubuntu.com/ubuntu yakkety-security Release' does no longer have a Release file.\nE: The repository 'http://us.archive.ubuntu.com/ubuntu yakkety Release' does no longer have a Release file.\nE: The repository 'http://us.archive.ubuntu.com/ubuntu yakkety-updates Release' does no longer have a Release file.\nE: The repository 'http://us.archive.ubuntu.com/ubuntu yakkety-backports Release' does no longer have a Release file.",
  44. "rc": 100,
  45. "stderr": "E: The repository 'http://security.ubuntu.com/ubuntu yakkety-security Release' does no longer have a Release file.\nE: The repository 'http://us.archive.ubuntu.com/ubuntu yakkety Release' does no longer have a Release file.\nE: The repository 'http://us.archive.ubuntu.com/ubuntu yakkety-updates Release' does no longer have a Release file.\nE: The repository 'http://us.archive.ubuntu.com/ubuntu yakkety-backports Release' does no longer have a Release file.\n",
  46. "stderr_lines": [
  47. "E: The repository 'http://security.ubuntu.com/ubuntu yakkety-security Release' does no longer have a Release file.",
  48. "E: The repository 'http://us.archive.ubuntu.com/ubuntu yakkety Release' does no longer have a Release file.",
  49. "E: The repository 'http://us.archive.ubuntu.com/ubuntu yakkety-updates Release' does no longer have a Release file.",
  50. "E: The repository 'http://us.archive.ubuntu.com/ubuntu yakkety-backports Release' does no longer have a Release file."
  51. ],
  52. "stdout": "Ign:1 http://security.ubuntu.com/ubuntu yakkety-security InRelease\nErr:2 http://security.ubuntu.com/ubuntu yakkety-security Release\n 404 Not Found\nIgn:3 http://us.archive.ubuntu.com/ubuntu yakkety InRelease\nIgn:4 http://us.archive.ubuntu.com/ubuntu yakkety-updates InRelease\nIgn:5 http://us.archive.ubuntu.com/ubuntu yakkety-backports InRelease\nErr:6 http://us.archive.ubuntu.com/ubuntu yakkety Release\n 404 Not Found\nErr:7 http://us.archive.ubuntu.com/ubuntu yakkety-updates Release\n 404 Not Found\nErr:8 http://us.archive.ubuntu.com/ubuntu yakkety-backports Release\n 404 Not Found\nReading package lists...\n",
  53. "stdout_lines": [
  54. "Ign:1 http://security.ubuntu.com/ubuntu yakkety-security InRelease",
  55. "Err:2 http://security.ubuntu.com/ubuntu yakkety-security Release",
  56. " 404 Not Found",
  57. "Ign:3 http://us.archive.ubuntu.com/ubuntu yakkety InRelease",
  58. "Ign:4 http://us.archive.ubuntu.com/ubuntu yakkety-updates InRelease",
  59. "Ign:5 http://us.archive.ubuntu.com/ubuntu yakkety-backports InRelease",
  60. "Err:6 http://us.archive.ubuntu.com/ubuntu yakkety Release",
  61. " 404 Not Found",
  62. "Err:7 http://us.archive.ubuntu.com/ubuntu yakkety-updates Release",
  63. " 404 Not Found",
  64. "Err:8 http://us.archive.ubuntu.com/ubuntu yakkety-backports Release",
  65. " 404 Not Found",
  66. "Reading package lists..."
  67. ]
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement