Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TASK [curator : Install curator] **************************************************************************************************************************************************
- task path: /home/bob/projects/rasp-vpn/ELK/roles/curator/tasks/main.yml:27
- Using module file /usr/lib/python2.7/dist-packages/ansible/modules/packaging/os/apt.py
- <10.0.2.63> ESTABLISH SSH CONNECTION FOR USER: gwadmin
- <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'"'"''
- <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')
- <10.0.2.63> PUT /tmp/tmp02yioD TO /tmp/.ansible/tmp/ansible-tmp-1516270223.45-215123760949383/apt.py
- <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]'
- <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.0.2.63> ESTABLISH SSH CONNECTION FOR USER: gwadmin
- <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'"'"''
- <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')
- <10.0.2.63> ESTABLISH SSH CONNECTION FOR USER: gwadmin
- <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'"'"''
- <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')
- The full traceback is:
- File "/tmp/ansible_OM3QWC/ansible_module_apt.py", line 287, in <module>
- import apt
- fatal: [10.0.2.63]: FAILED! => {
- "changed": false,
- "cmd": "apt-get update",
- "invocation": {
- "module_args": {
- "allow_unauthenticated": false,
- "autoclean": false,
- "autoremove": false,
- "cache_valid_time": 0,
- "deb": "/home/gwadmin/ansible_tmp/elasticsearch-curator_5.4.1_amd64.deb",
- "default_release": null,
- "dpkg_options": "force-confdef,force-confold",
- "force": false,
- "force_apt_get": false,
- "install_recommends": null,
- "only_upgrade": false,
- "package": null,
- "purge": false,
- "state": "present",
- "update_cache": false,
- "upgrade": null
- }
- },
- "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.",
- "rc": 100,
- "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",
- "stderr_lines": [
- "E: The repository 'http://security.ubuntu.com/ubuntu yakkety-security Release' does no longer have a Release file.",
- "E: The repository 'http://us.archive.ubuntu.com/ubuntu yakkety Release' does no longer have a Release file.",
- "E: The repository 'http://us.archive.ubuntu.com/ubuntu yakkety-updates Release' does no longer have a Release file.",
- "E: The repository 'http://us.archive.ubuntu.com/ubuntu yakkety-backports Release' does no longer have a Release file."
- ],
- "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",
- "stdout_lines": [
- "Ign:1 http://security.ubuntu.com/ubuntu yakkety-security InRelease",
- "Err:2 http://security.ubuntu.com/ubuntu yakkety-security Release",
- " 404 Not Found",
- "Ign:3 http://us.archive.ubuntu.com/ubuntu yakkety InRelease",
- "Ign:4 http://us.archive.ubuntu.com/ubuntu yakkety-updates InRelease",
- "Ign:5 http://us.archive.ubuntu.com/ubuntu yakkety-backports InRelease",
- "Err:6 http://us.archive.ubuntu.com/ubuntu yakkety Release",
- " 404 Not Found",
- "Err:7 http://us.archive.ubuntu.com/ubuntu yakkety-updates Release",
- " 404 Not Found",
- "Err:8 http://us.archive.ubuntu.com/ubuntu yakkety-backports Release",
- " 404 Not Found",
- "Reading package lists..."
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement