{"id":980264,"status":"changed","playbook":{"id":5641,"items":{"plays":8,"tasks":16,"results":16,"hosts":4,"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":["stage2","whitelist"],"skip_tags":["private_ip"],"check":false,"diff":false,"inventory":["/home/ssh-gateway/ansible/projects/kvm_node_install/kvm-install-inv.ini"],"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":["setup_new_node.yaml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":309,"name":"tags:stage2,whitelist"},{"id":310,"name":"skip_tags:private_ip"}],"started":"2026-04-29T10:37:45.285377+01:00","ended":"2026-04-29T10:38:01.171717+01:00","duration":"00:00:15.886340","name":null,"ansible_version":"2.16.13","client_version":"1.7.5","python_version":"3.10.10","server_version":"1.7.5","status":"failed","path":"/home/ssh-gateway/ansible/projects/kvm_node_install/setup_new_node.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":6354,"items":{"tasks":4,"results":4},"started":"2026-04-29T10:37:47.238758+01:00","ended":"2026-04-29T10:37:55.954135+01:00","duration":"00:00:08.715377","name":"Install backup agent","status":"completed"},"task":{"id":13969,"items":{"results":1},"path":"/home/ssh-gateway/ansible/projects/kvm_node_install/setup_new_node.yaml","tags":["backup","backup-manager","stage2"],"started":"2026-04-29T10:37:49.728562+01:00","ended":"2026-04-29T10:37:56.060066+01:00","duration":"00:00:06.331504","name":"Run backup-manager installer (pass 1)","uuid":"001851d0-75dc-e8e7-befe-00000000002d","action":"ansible.builtin.shell","lineno":342,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":7800},"host":{"id":340164,"name":"kvm4-dev","changed":3,"failed":1,"ok":7,"skipped":0,"unreachable":0},"delegated_to":[],"content":{"changed":true,"cmd":"set -o pipefail\n/tmp/installer.sh\n","delta":"0:00:05.789637","end":"2026-04-29 09:37:55.912879","invocation":{"module_args":{"_raw_params":"set -o pipefail\n/tmp/installer.sh\n","_uses_shell":true,"argv":null,"chdir":"/tmp","creates":null,"executable":null,"expand_argument_vars":true,"removes":null,"stdin":null,"stdin_add_newline":true,"strip_empty_ends":true}},"msg":"","rc":0,"start":"2026-04-29 09:37:50.123242","stderr":"Error: Unable to find a match: python39-setuptools python39-libs python39-pip python39-pip-wheel python39-setuptools-wheel\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\n--2026-04-29 09:37:53--  https://185.149.110.205/agent/install-agent.sh\nConnecting to 185.149.110.205:443... connected.\nThe certificate's owner does not match hostname \u2018185.149.110.205\u2019\nHTTP request sent, awaiting response... 200 OK\nLength: 1343 (1.3K) [application/x-sh]\nSaving to: \u2018install-agent.sh\u2019\n\n     0K .                                                     100% 39.1M=0s\n\n2026-04-29 09:37:54 (39.1 MB/s) - \u2018install-agent.sh\u2019 saved [1343/1343]\n\n--2026-04-29 09:37:54--  https://185.149.110.205/agent/backup-agent-ls.py\nConnecting to 185.149.110.205:443... connected.\nThe certificate's owner does not match hostname \u2018185.149.110.205\u2019\nHTTP request sent, awaiting response... 200 OK\nLength: 4964 (4.8K) [text/plain]\nSaving to: \u2018/opt/backup-agent/backup-agent-ls.py\u2019\n\n     0K ....                                                  100%  100M=0s\n\n2026-04-29 09:37:54 (100 MB/s) - \u2018/opt/backup-agent/backup-agent-ls.py\u2019 saved [4964/4964]\n\n--2026-04-29 09:37:54--  https://185.149.110.205/agent/drivers/virtnbd/virtnbd.py\nConnecting to 185.149.110.205:443... connected.\nThe certificate's owner does not match hostname \u2018185.149.110.205\u2019\nHTTP request sent, awaiting response... 200 OK\nLength: 31925 (31K)\nSaving to: \u2018/opt/backup-agent/drivers/virtnbd/virtnbd.py\u2019\n\n     0K .......... .......... .......... .                    100%  100M=0s\n\n2026-04-29 09:37:54 (100 MB/s) - \u2018/opt/backup-agent/drivers/virtnbd/virtnbd.py\u2019 saved [31925/31925]\n\n--2026-04-29 09:37:54--  https://185.149.110.205/agent/drivers/virtnbd/version.py\nConnecting to 185.149.110.205:443... connected.\nThe certificate's owner does not match hostname \u2018185.149.110.205\u2019\nHTTP request sent, awaiting response... 200 OK\nLength: 24\nSaving to: \u2018/opt/backup-agent/drivers/virtnbd/version.py\u2019\n\n     0K                                                       100% 99.1M=0s\n\n2026-04-29 09:37:54 (99.1 MB/s) - \u2018/opt/backup-agent/drivers/virtnbd/version.py\u2019 saved [24/24]\n\n--2026-04-29 09:37:54--  https://185.149.110.205/agent/drivers/virtnbd/scripts/removecheckpoints.sh\nConnecting to 185.149.110.205:443... connected.\nThe certificate's owner does not match hostname \u2018185.149.110.205\u2019\nHTTP request sent, awaiting response... 200 OK\nLength: 249 [application/x-sh]\nSaving to: \u2018/opt/backup-agent/scripts/removecheckpoints.sh\u2019\n\n     0K                                                       100% 12.9M=0s\n\n2026-04-29 09:37:54 (12.9 MB/s) - \u2018/opt/backup-agent/scripts/removecheckpoints.sh\u2019 saved [249/249]\n\n--2026-04-29 09:37:54--  https://185.149.110.205/agent/drivers/virtnbd/scripts/trimmer.sh\nConnecting to 185.149.110.205:443... connected.\nThe certificate's owner does not match hostname \u2018185.149.110.205\u2019\nHTTP request sent, awaiting response... 200 OK\nLength: 397 [application/x-sh]\nSaving to: \u2018/opt/backup-agent/scripts/trimmer.sh\u2019\n\n     0K                                                       100% 11.1M=0s\n\n2026-04-29 09:37:54 (11.1 MB/s) - \u2018/opt/backup-agent/scripts/trimmer.sh\u2019 saved [397/397]\n\n--2026-04-29 09:37:54--  https://185.149.110.205/agent/drivers/virtnbd/scripts/virtnbd_version.sh\nConnecting to 185.149.110.205:443... connected.\nThe certificate's owner does not match hostname \u2018185.149.110.205\u2019\nHTTP request sent, awaiting response... 200 OK\nLength: 126 [application/x-sh]\nSaving to: \u2018/opt/backup-agent/scripts/virtnbd_version.sh\u2019\n\n     0K                                                       100%  580M=0s\n\n2026-04-29 09:37:55 (580 MB/s) - \u2018/opt/backup-agent/scripts/virtnbd_version.sh\u2019 saved [126/126]\n\n--2026-04-29 09:37:55--  http://wget/\nResolving wget (wget)... failed: Name or service not known.\nwget: unable to resolve host address \u2018wget\u2019\n--2026-04-29 09:37:55--  https://185.149.110.205/agent/drivers/encrypt/encrypt.py\nConnecting to 185.149.110.205:443... connected.\nThe certificate's owner does not match hostname \u2018185.149.110.205\u2019\nHTTP request sent, awaiting response... 200 OK\nLength: 618\nSaving to: \u2018/opt/backup-agent/drivers/encrypt/encrypt.py\u2019\n\n     0K                                                       100% 12.8M=0s\n\n2026-04-29 09:37:55 (12.8 MB/s) - \u2018/opt/backup-agent/drivers/encrypt/encrypt.py\u2019 saved [618/618]\n\nFINISHED --2026-04-29 09:37:55--\nTotal wall clock time: 0.2s\nDownloaded: 1 files, 618 in 0s (12.8 MB/s)\nRedirecting to /bin/systemctl start backup-agent.service\n--2026-04-29 09:37:55--  https://185.149.110.205/agent/drivers/virtnbd/scripts/mount.sh\nConnecting to 185.149.110.205:443... connected.\nThe certificate's owner does not match hostname \u2018185.149.110.205\u2019\nHTTP request sent, awaiting response... 200 OK\nLength: 1240 (1.2K) [application/x-sh]\nSaving to: \u2018mount.sh.1\u2019\n\n     0K .                                                     100% 29.9M=0s\n\n2026-04-29 09:37:55 (29.9 MB/s) - \u2018mount.sh.1\u2019 saved [1240/1240]","stderr_lines":["Error: Unable to find a match: python39-setuptools python39-libs python39-pip python39-pip-wheel python39-setuptools-wheel","WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv","WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv","WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv","WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv","--2026-04-29 09:37:53--  https://185.149.110.205/agent/install-agent.sh","Connecting to 185.149.110.205:443... connected.","The certificate's owner does not match hostname \u2018185.149.110.205\u2019","HTTP request sent, awaiting response... 200 OK","Length: 1343 (1.3K) [application/x-sh]","Saving to: \u2018install-agent.sh\u2019","","     0K .                                                     100% 39.1M=0s","","2026-04-29 09:37:54 (39.1 MB/s) - \u2018install-agent.sh\u2019 saved [1343/1343]","","--2026-04-29 09:37:54--  https://185.149.110.205/agent/backup-agent-ls.py","Connecting to 185.149.110.205:443... connected.","The certificate's owner does not match hostname \u2018185.149.110.205\u2019","HTTP request sent, awaiting response... 200 OK","Length: 4964 (4.8K) [text/plain]","Saving to: \u2018/opt/backup-agent/backup-agent-ls.py\u2019","","     0K ....                                                  100%  100M=0s","","2026-04-29 09:37:54 (100 MB/s) - \u2018/opt/backup-agent/backup-agent-ls.py\u2019 saved [4964/4964]","","--2026-04-29 09:37:54--  https://185.149.110.205/agent/drivers/virtnbd/virtnbd.py","Connecting to 185.149.110.205:443... connected.","The certificate's owner does not match hostname \u2018185.149.110.205\u2019","HTTP request sent, awaiting response... 200 OK","Length: 31925 (31K)","Saving to: \u2018/opt/backup-agent/drivers/virtnbd/virtnbd.py\u2019","","     0K .......... .......... .......... .                    100%  100M=0s","","2026-04-29 09:37:54 (100 MB/s) - \u2018/opt/backup-agent/drivers/virtnbd/virtnbd.py\u2019 saved [31925/31925]","","--2026-04-29 09:37:54--  https://185.149.110.205/agent/drivers/virtnbd/version.py","Connecting to 185.149.110.205:443... connected.","The certificate's owner does not match hostname \u2018185.149.110.205\u2019","HTTP request sent, awaiting response... 200 OK","Length: 24","Saving to: \u2018/opt/backup-agent/drivers/virtnbd/version.py\u2019","","     0K                                                       100% 99.1M=0s","","2026-04-29 09:37:54 (99.1 MB/s) - \u2018/opt/backup-agent/drivers/virtnbd/version.py\u2019 saved [24/24]","","--2026-04-29 09:37:54--  https://185.149.110.205/agent/drivers/virtnbd/scripts/removecheckpoints.sh","Connecting to 185.149.110.205:443... connected.","The certificate's owner does not match hostname \u2018185.149.110.205\u2019","HTTP request sent, awaiting response... 200 OK","Length: 249 [application/x-sh]","Saving to: \u2018/opt/backup-agent/scripts/removecheckpoints.sh\u2019","","     0K                                                       100% 12.9M=0s","","2026-04-29 09:37:54 (12.9 MB/s) - \u2018/opt/backup-agent/scripts/removecheckpoints.sh\u2019 saved [249/249]","","--2026-04-29 09:37:54--  https://185.149.110.205/agent/drivers/virtnbd/scripts/trimmer.sh","Connecting to 185.149.110.205:443... connected.","The certificate's owner does not match hostname \u2018185.149.110.205\u2019","HTTP request sent, awaiting response... 200 OK","Length: 397 [application/x-sh]","Saving to: \u2018/opt/backup-agent/scripts/trimmer.sh\u2019","","     0K                                                       100% 11.1M=0s","","2026-04-29 09:37:54 (11.1 MB/s) - \u2018/opt/backup-agent/scripts/trimmer.sh\u2019 saved [397/397]","","--2026-04-29 09:37:54--  https://185.149.110.205/agent/drivers/virtnbd/scripts/virtnbd_version.sh","Connecting to 185.149.110.205:443... connected.","The certificate's owner does not match hostname \u2018185.149.110.205\u2019","HTTP request sent, awaiting response... 200 OK","Length: 126 [application/x-sh]","Saving to: \u2018/opt/backup-agent/scripts/virtnbd_version.sh\u2019","","     0K                                                       100%  580M=0s","","2026-04-29 09:37:55 (580 MB/s) - \u2018/opt/backup-agent/scripts/virtnbd_version.sh\u2019 saved [126/126]","","--2026-04-29 09:37:55--  http://wget/","Resolving wget (wget)... failed: Name or service not known.","wget: unable to resolve host address \u2018wget\u2019","--2026-04-29 09:37:55--  https://185.149.110.205/agent/drivers/encrypt/encrypt.py","Connecting to 185.149.110.205:443... connected.","The certificate's owner does not match hostname \u2018185.149.110.205\u2019","HTTP request sent, awaiting response... 200 OK","Length: 618","Saving to: \u2018/opt/backup-agent/drivers/encrypt/encrypt.py\u2019","","     0K                                                       100% 12.8M=0s","","2026-04-29 09:37:55 (12.8 MB/s) - \u2018/opt/backup-agent/drivers/encrypt/encrypt.py\u2019 saved [618/618]","","FINISHED --2026-04-29 09:37:55--","Total wall clock time: 0.2s","Downloaded: 1 files, 618 in 0s (12.8 MB/s)","Redirecting to /bin/systemctl start backup-agent.service","--2026-04-29 09:37:55--  https://185.149.110.205/agent/drivers/virtnbd/scripts/mount.sh","Connecting to 185.149.110.205:443... connected.","The certificate's owner does not match hostname \u2018185.149.110.205\u2019","HTTP request sent, awaiting response... 200 OK","Length: 1240 (1.2K) [application/x-sh]","Saving to: \u2018mount.sh.1\u2019","","     0K .                                                     100% 29.9M=0s","","2026-04-29 09:37:55 (29.9 MB/s) - \u2018mount.sh.1\u2019 saved [1240/1240]"],"stdout":"Last metadata expiration check: 0:50:52 ago on Wed Apr 29 08:46:58 2026.\nPackage python3-3.9.25-3.el9_7.2.x86_64 is already installed.\nNo match for argument: python39-setuptools\nNo match for argument: python39-libs\nNo match for argument: python39-pip\nNo match for argument: python39-pip-wheel\nNo match for argument: python39-setuptools-wheel\nRequirement already satisfied: python-dotenv in /usr/local/lib/python3.9/site-packages (1.2.1)\nRequirement already satisfied: requests in /usr/local/lib/python3.9/site-packages (2.32.5)\nRequirement already satisfied: charset_normalizer<4,>=2 in /usr/local/lib64/python3.9/site-packages (from requests) (3.4.7)\nRequirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.9/site-packages (from requests) (2.6.3)\nRequirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests) (2024.8.30)\nRequirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.9/site-packages (from requests) (3.13)\nRequirement already satisfied: cryptography in /usr/lib64/python3.9/site-packages (36.0.1)\nRequirement already satisfied: cffi>=1.12 in /usr/local/lib64/python3.9/site-packages (from cryptography) (2.0.0)\nRequirement already satisfied: pycparser in /usr/lib/python3.9/site-packages (from cffi>=1.12->cryptography) (2.20)\nRequirement already satisfied: ply==3.11 in /usr/lib/python3.9/site-packages (from pycparser->cffi>=1.12->cryptography) (3.11)\nRequirement already satisfied: loguru in /usr/local/lib/python3.9/site-packages (0.7.3)\nLast metadata expiration check: 0:50:55 ago on Wed Apr 29 08:46:58 2026.\nPackage nbd-3.25-1.el9.x86_64 is already installed.\nPackage libxslt-devel-1.1.34-14.el9_7.1.x86_64 is already installed.\nPackage libxml2-devel-2.9.13-14.el9_7.x86_64 is already installed.\nDependencies resolved.\nNothing to do.\nComplete!\n\nInstalling service\nrun ./mount.sh for the nfs mounts","stdout_lines":["Last metadata expiration check: 0:50:52 ago on Wed Apr 29 08:46:58 2026.","Package python3-3.9.25-3.el9_7.2.x86_64 is already installed.","No match for argument: python39-setuptools","No match for argument: python39-libs","No match for argument: python39-pip","No match for argument: python39-pip-wheel","No match for argument: python39-setuptools-wheel","Requirement already satisfied: python-dotenv in /usr/local/lib/python3.9/site-packages (1.2.1)","Requirement already satisfied: requests in /usr/local/lib/python3.9/site-packages (2.32.5)","Requirement already satisfied: charset_normalizer<4,>=2 in /usr/local/lib64/python3.9/site-packages (from requests) (3.4.7)","Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.9/site-packages (from requests) (2.6.3)","Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests) (2024.8.30)","Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.9/site-packages (from requests) (3.13)","Requirement already satisfied: cryptography in /usr/lib64/python3.9/site-packages (36.0.1)","Requirement already satisfied: cffi>=1.12 in /usr/local/lib64/python3.9/site-packages (from cryptography) (2.0.0)","Requirement already satisfied: pycparser in /usr/lib/python3.9/site-packages (from cffi>=1.12->cryptography) (2.20)","Requirement already satisfied: ply==3.11 in /usr/lib/python3.9/site-packages (from pycparser->cffi>=1.12->cryptography) (3.11)","Requirement already satisfied: loguru in /usr/local/lib/python3.9/site-packages (0.7.3)","Last metadata expiration check: 0:50:55 ago on Wed Apr 29 08:46:58 2026.","Package nbd-3.25-1.el9.x86_64 is already installed.","Package libxslt-devel-1.1.34-14.el9_7.1.x86_64 is already installed.","Package libxml2-devel-2.9.13-14.el9_7.x86_64 is already installed.","Dependencies resolved.","Nothing to do.","Complete!","","Installing service","run ./mount.sh for the nfs mounts"]},"created":"2026-04-29T10:37:55.943426+01:00","updated":"2026-04-29T10:37:55.943452+01:00","started":"2026-04-29T10:37:49.776724+01:00","ended":"2026-04-29T10:37:55.936851+01:00","duration":"00:00:06.160127","changed":true,"ignore_errors":false}