{"id":288927,"status":"ok","playbook":{"id":3056,"items":{"plays":1,"tasks":4,"results":103,"hosts":34,"files":1,"records":0},"arguments":{"version":null,"verbosity":2,"private_key_file":"/home/ssh-gateway/.ssh/id_rsa","remote_user":"root","connection":"ssh","timeout":null,"ssh_common_args":null,"sftp_extra_args":null,"scp_extra_args":null,"ssh_extra_args":null,"ask_pass":false,"connection_password_file":null,"force_handlers":false,"flush_cache":false,"become":false,"become_method":"sudo","become_user":null,"become_ask_pass":false,"become_password_file":null,"tags":["all"],"skip_tags":[],"check":false,"diff":false,"inventory":["/home/ssh-gateway/ansible/kuly/bash-kvm-inventory-dev.sh"],"listhosts":false,"subset":null,"extra_vars":"Not saved by ARA as configured by 'ignored_arguments'","vault_ids":[],"ask_vault_pass":false,"vault_password_files":[],"forks":20,"module_path":null,"syntax":false,"listtasks":false,"listtags":false,"step":false,"start_at_task":null,"args":["agent360_upgrade.yaml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":3,"name":"tags:all"}],"started":"2025-05-28T11:27:51.090251+01:00","ended":"2025-05-28T11:28:36.900407+01:00","duration":"00:00:45.810156","name":null,"ansible_version":"2.16.11","client_version":"1.7.2","python_version":"3.10.10","server_version":"1.7.2","status":"failed","path":"/home/ssh-gateway/ansible/kuly/agent360_upgrade.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":3390,"items":{"tasks":4,"results":103},"started":"2025-05-28T11:27:51.121931+01:00","ended":"2025-05-28T11:28:35.168389+01:00","duration":"00:00:44.046458","name":"Playbook to upgrade agent360 agent via pip","status":"completed"},"task":{"id":7222,"items":{"results":34},"path":"/home/ssh-gateway/ansible/kuly/agent360_upgrade.yaml","tags":[],"started":"2025-05-28T11:27:51.226618+01:00","ended":"2025-05-28T11:28:33.729082+01:00","duration":"00:00:42.502464","name":"Upgrade agent360 package via pip","uuid":"001851d0-75dc-bba8-47e6-000000000025","action":"ansible.builtin.shell","lineno":6,"handler":false,"status":"failed","warnings":[],"deprecations":[],"exceptions":[],"file":5176},"host":{"id":117225,"name":"drtoolbox.solus.stage.town","changed":1,"failed":0,"ok":3,"skipped":1,"unreachable":0},"delegated_to":[],"content":{"changed":false,"cmd":"set -o pipefail\npip$(head -1  $(which agent360)| awk -F \"python\" '{print $2}') install --upgrade agent360\n","delta":"0:00:09.451163","end":"2025-05-28 10:28:02.092380","invocation":{"module_args":{"_raw_params":"set -o pipefail\npip$(head -1  $(which agent360)| awk -F \"python\" '{print $2}') install --upgrade agent360\n","_uses_shell":true,"argv":null,"chdir":null,"creates":null,"executable":"/bin/bash","expand_argument_vars":true,"removes":null,"stdin":null,"stdin_add_newline":true,"strip_empty_ends":true}},"msg":"","rc":0,"start":"2025-05-28 10:27:52.641217","stderr":"WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3.6 install --user` instead.\nCache entry deserialization failed, entry ignored\n  Cache entry deserialization failed, entry ignored","stderr_lines":["WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3.6 install --user` instead.","Cache entry deserialization failed, entry ignored","  Cache entry deserialization failed, entry ignored"],"stdout":"Collecting agent360\n  Downloading https://files.pythonhosted.org/packages/b1/0f/1cca49c3ec34b42cdff2efd8b8fd49ddc3cb1884396a7f353fe4c1ff3820/agent360-1.3.3-py3-none-any.whl (70kB)\nCollecting psutil (from agent360)\n  Downloading https://files.pythonhosted.org/packages/2a/80/336820c1ad9286a4ded7e845b2eccfcb27851ab8ac6abece774a6ff4d3de/psutil-7.0.0.tar.gz (497kB)\nCollecting certifi (from agent360)\n  Downloading https://files.pythonhosted.org/packages/4a/7e/3db2bd1b1f9e95f7cddca6d6e75e2f2bd9f51b1246e546d88addca0106bd/certifi-2025.4.26-py3-none-any.whl (159kB)\nRequirement already up-to-date: configparser in /usr/local/lib/python3.6/site-packages (from agent360)\nRequirement already up-to-date: future in /usr/local/lib/python3.6/site-packages (from agent360)\nRequirement already up-to-date: netifaces in /usr/local/lib64/python3.6/site-packages (from agent360)\nRequirement already up-to-date: distro in /usr/local/lib/python3.6/site-packages (from agent360)\nInstalling collected packages: psutil, certifi, agent360\n  Found existing installation: psutil 6.1.0\n    Uninstalling psutil-6.1.0:\n      Successfully uninstalled psutil-6.1.0\n  Running setup.py install for psutil: started\n    Running setup.py install for psutil: finished with status 'done'\n  Found existing installation: certifi 2024.8.30\n    Uninstalling certifi-2024.8.30:\n      Successfully uninstalled certifi-2024.8.30\n  Found existing installation: agent360 1.3.1\n    Uninstalling agent360-1.3.1:\n      Successfully uninstalled agent360-1.3.1\nSuccessfully installed agent360-1.3.3 certifi-2025.4.26 psutil-7.0.0","stdout_lines":["Collecting agent360","  Downloading https://files.pythonhosted.org/packages/b1/0f/1cca49c3ec34b42cdff2efd8b8fd49ddc3cb1884396a7f353fe4c1ff3820/agent360-1.3.3-py3-none-any.whl (70kB)","Collecting psutil (from agent360)","  Downloading https://files.pythonhosted.org/packages/2a/80/336820c1ad9286a4ded7e845b2eccfcb27851ab8ac6abece774a6ff4d3de/psutil-7.0.0.tar.gz (497kB)","Collecting certifi (from agent360)","  Downloading https://files.pythonhosted.org/packages/4a/7e/3db2bd1b1f9e95f7cddca6d6e75e2f2bd9f51b1246e546d88addca0106bd/certifi-2025.4.26-py3-none-any.whl (159kB)","Requirement already up-to-date: configparser in /usr/local/lib/python3.6/site-packages (from agent360)","Requirement already up-to-date: future in /usr/local/lib/python3.6/site-packages (from agent360)","Requirement already up-to-date: netifaces in /usr/local/lib64/python3.6/site-packages (from agent360)","Requirement already up-to-date: distro in /usr/local/lib/python3.6/site-packages (from agent360)","Installing collected packages: psutil, certifi, agent360","  Found existing installation: psutil 6.1.0","    Uninstalling psutil-6.1.0:","      Successfully uninstalled psutil-6.1.0","  Running setup.py install for psutil: started","    Running setup.py install for psutil: finished with status 'done'","  Found existing installation: certifi 2024.8.30","    Uninstalling certifi-2024.8.30:","      Successfully uninstalled certifi-2024.8.30","  Found existing installation: agent360 1.3.1","    Uninstalling agent360-1.3.1:","      Successfully uninstalled agent360-1.3.1","Successfully installed agent360-1.3.3 certifi-2025.4.26 psutil-7.0.0"]},"created":"2025-05-28T11:28:02.398901+01:00","updated":"2025-05-28T11:28:02.398953+01:00","started":"2025-05-28T11:27:52.216213+01:00","ended":"2025-05-28T11:28:02.329496+01:00","duration":"00:00:10.113283","changed":false,"ignore_errors":false}