{"id":972476,"status":"changed","playbook":{"id":5550,"items":{"plays":1,"tasks":24,"results":24,"hosts":1,"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":["swap"],"check":false,"diff":false,"inventory":["/home/ssh-gateway/ansible/kuly/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":3,"name":"tags:all"},{"id":294,"name":"skip_tags:swap"}],"started":"2026-04-22T14:24:30.579310+01:00","ended":"2026-04-22T14:25:51.440207+01:00","duration":"00:01:20.860897","name":null,"ansible_version":"2.16.13","client_version":"1.7.5","python_version":"3.10.10","server_version":"1.7.5","status":"completed","path":"/home/ssh-gateway/ansible/kuly/kvm_node_install/setup_new_node.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":6085,"items":{"tasks":24,"results":24},"started":"2026-04-22T14:24:30.720158+01:00","ended":"2026-04-22T14:25:51.342349+01:00","duration":"00:01:20.622191","name":"New KVM server provisioning scripts","status":"completed"},"task":{"id":13676,"items":{"results":1},"path":"/home/ssh-gateway/ansible/kuly/kvm_node_install/setup_new_node.yaml","tags":["backup","backup-manager"],"started":"2026-04-22T14:25:29.207344+01:00","ended":"2026-04-22T14:25:34.397164+01:00","duration":"00:00:05.189820","name":"Run backup-manager installer (pass 2)","uuid":"001851d0-75dc-dbdb-1e48-000000000020","action":"ansible.builtin.shell","lineno":266,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":7708},"host":{"id":338000,"name":"kvm024","changed":14,"failed":0,"ok":24,"skipped":0,"unreachable":0},"delegated_to":[],"content":{"changed":true,"cmd":"set -o pipefail\n/tmp/installer.sh\n","delta":"0:00:04.782799","end":"2026-04-22 13:25:34.349347","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-22 13:25:29.566548","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-22 13:25:32--  https://185.149.110.44/agent/install-agent.sh\nConnecting to 185.149.110.44:443... connected.\nThe certificate's owner does not match hostname \u2018185.149.110.44\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% 41.3M=0s\n\n2026-04-22 13:25:32 (41.3 MB/s) - \u2018install-agent.sh\u2019 saved [1343/1343]\n\n--2026-04-22 13:25:32--  https://185.149.110.44/agent/backup-agent-ls.py\nConnecting to 185.149.110.44:443... connected.\nThe certificate's owner does not match hostname \u2018185.149.110.44\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%  104M=0s\n\n2026-04-22 13:25:32 (104 MB/s) - \u2018/opt/backup-agent/backup-agent-ls.py\u2019 saved [4964/4964]\n\n--2026-04-22 13:25:32--  https://185.149.110.44/agent/drivers/virtnbd/virtnbd.py\nConnecting to 185.149.110.44:443... connected.\nThe certificate's owner does not match hostname \u2018185.149.110.44\u2019\nHTTP request sent, awaiting response... 200 OK\nLength: 31269 (31K)\nSaving to: \u2018/opt/backup-agent/drivers/virtnbd/virtnbd.py\u2019\n\n     0K .......... .......... ..........                      100% 89.0M=0s\n\n2026-04-22 13:25:33 (89.0 MB/s) - \u2018/opt/backup-agent/drivers/virtnbd/virtnbd.py\u2019 saved [31269/31269]\n\n--2026-04-22 13:25:33--  https://185.149.110.44/agent/drivers/virtnbd/version.py\nConnecting to 185.149.110.44:443... connected.\nThe certificate's owner does not match hostname \u2018185.149.110.44\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% 54.9M=0s\n\n2026-04-22 13:25:33 (54.9 MB/s) - \u2018/opt/backup-agent/drivers/virtnbd/version.py\u2019 saved [24/24]\n\n--2026-04-22 13:25:33--  https://185.149.110.44/agent/drivers/virtnbd/scripts/removecheckpoints.sh\nConnecting to 185.149.110.44:443... connected.\nThe certificate's owner does not match hostname \u2018185.149.110.44\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.6M=0s\n\n2026-04-22 13:25:33 (12.6 MB/s) - \u2018/opt/backup-agent/scripts/removecheckpoints.sh\u2019 saved [249/249]\n\n--2026-04-22 13:25:33--  https://185.149.110.44/agent/drivers/virtnbd/scripts/trimmer.sh\nConnecting to 185.149.110.44:443... connected.\nThe certificate's owner does not match hostname \u2018185.149.110.44\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% 19.7M=0s\n\n2026-04-22 13:25:33 (19.7 MB/s) - \u2018/opt/backup-agent/scripts/trimmer.sh\u2019 saved [397/397]\n\n--2026-04-22 13:25:33--  https://185.149.110.44/agent/drivers/virtnbd/scripts/virtnbd_version.sh\nConnecting to 185.149.110.44:443... connected.\nThe certificate's owner does not match hostname \u2018185.149.110.44\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%  238M=0s\n\n2026-04-22 13:25:33 (238 MB/s) - \u2018/opt/backup-agent/scripts/virtnbd_version.sh\u2019 saved [126/126]\n\n--2026-04-22 13:25:33--  http://wget/\nResolving wget (wget)... failed: Name or service not known.\nwget: unable to resolve host address \u2018wget\u2019\n--2026-04-22 13:25:33--  https://185.149.110.44/agent/drivers/encrypt/encrypt.py\nConnecting to 185.149.110.44:443... connected.\nThe certificate's owner does not match hostname \u2018185.149.110.44\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% 13.4M=0s\n\n2026-04-22 13:25:33 (13.4 MB/s) - \u2018/opt/backup-agent/drivers/encrypt/encrypt.py\u2019 saved [618/618]\n\nFINISHED --2026-04-22 13:25:33--\nTotal wall clock time: 0.1s\nDownloaded: 1 files, 618 in 0s (13.4 MB/s)\nRedirecting to /bin/systemctl start backup-agent.service\n--2026-04-22 13:25:34--  https://185.149.110.44/agent/drivers/virtnbd/scripts/mount.sh\nConnecting to 185.149.110.44:443... connected.\nThe certificate's owner does not match hostname \u2018185.149.110.44\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% 78.5M=0s\n\n2026-04-22 13:25:34 (78.5 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-22 13:25:32--  https://185.149.110.44/agent/install-agent.sh","Connecting to 185.149.110.44:443... connected.","The certificate's owner does not match hostname \u2018185.149.110.44\u2019","HTTP request sent, awaiting response... 200 OK","Length: 1343 (1.3K) [application/x-sh]","Saving to: \u2018install-agent.sh\u2019","","     0K .                                                     100% 41.3M=0s","","2026-04-22 13:25:32 (41.3 MB/s) - \u2018install-agent.sh\u2019 saved [1343/1343]","","--2026-04-22 13:25:32--  https://185.149.110.44/agent/backup-agent-ls.py","Connecting to 185.149.110.44:443... connected.","The certificate's owner does not match hostname \u2018185.149.110.44\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%  104M=0s","","2026-04-22 13:25:32 (104 MB/s) - \u2018/opt/backup-agent/backup-agent-ls.py\u2019 saved [4964/4964]","","--2026-04-22 13:25:32--  https://185.149.110.44/agent/drivers/virtnbd/virtnbd.py","Connecting to 185.149.110.44:443... connected.","The certificate's owner does not match hostname \u2018185.149.110.44\u2019","HTTP request sent, awaiting response... 200 OK","Length: 31269 (31K)","Saving to: \u2018/opt/backup-agent/drivers/virtnbd/virtnbd.py\u2019","","     0K .......... .......... ..........                      100% 89.0M=0s","","2026-04-22 13:25:33 (89.0 MB/s) - \u2018/opt/backup-agent/drivers/virtnbd/virtnbd.py\u2019 saved [31269/31269]","","--2026-04-22 13:25:33--  https://185.149.110.44/agent/drivers/virtnbd/version.py","Connecting to 185.149.110.44:443... connected.","The certificate's owner does not match hostname \u2018185.149.110.44\u2019","HTTP request sent, awaiting response... 200 OK","Length: 24","Saving to: \u2018/opt/backup-agent/drivers/virtnbd/version.py\u2019","","     0K                                                       100% 54.9M=0s","","2026-04-22 13:25:33 (54.9 MB/s) - \u2018/opt/backup-agent/drivers/virtnbd/version.py\u2019 saved [24/24]","","--2026-04-22 13:25:33--  https://185.149.110.44/agent/drivers/virtnbd/scripts/removecheckpoints.sh","Connecting to 185.149.110.44:443... connected.","The certificate's owner does not match hostname \u2018185.149.110.44\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.6M=0s","","2026-04-22 13:25:33 (12.6 MB/s) - \u2018/opt/backup-agent/scripts/removecheckpoints.sh\u2019 saved [249/249]","","--2026-04-22 13:25:33--  https://185.149.110.44/agent/drivers/virtnbd/scripts/trimmer.sh","Connecting to 185.149.110.44:443... connected.","The certificate's owner does not match hostname \u2018185.149.110.44\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% 19.7M=0s","","2026-04-22 13:25:33 (19.7 MB/s) - \u2018/opt/backup-agent/scripts/trimmer.sh\u2019 saved [397/397]","","--2026-04-22 13:25:33--  https://185.149.110.44/agent/drivers/virtnbd/scripts/virtnbd_version.sh","Connecting to 185.149.110.44:443... connected.","The certificate's owner does not match hostname \u2018185.149.110.44\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%  238M=0s","","2026-04-22 13:25:33 (238 MB/s) - \u2018/opt/backup-agent/scripts/virtnbd_version.sh\u2019 saved [126/126]","","--2026-04-22 13:25:33--  http://wget/","Resolving wget (wget)... failed: Name or service not known.","wget: unable to resolve host address \u2018wget\u2019","--2026-04-22 13:25:33--  https://185.149.110.44/agent/drivers/encrypt/encrypt.py","Connecting to 185.149.110.44:443... connected.","The certificate's owner does not match hostname \u2018185.149.110.44\u2019","HTTP request sent, awaiting response... 200 OK","Length: 618","Saving to: \u2018/opt/backup-agent/drivers/encrypt/encrypt.py\u2019","","     0K                                                       100% 13.4M=0s","","2026-04-22 13:25:33 (13.4 MB/s) - \u2018/opt/backup-agent/drivers/encrypt/encrypt.py\u2019 saved [618/618]","","FINISHED --2026-04-22 13:25:33--","Total wall clock time: 0.1s","Downloaded: 1 files, 618 in 0s (13.4 MB/s)","Redirecting to /bin/systemctl start backup-agent.service","--2026-04-22 13:25:34--  https://185.149.110.44/agent/drivers/virtnbd/scripts/mount.sh","Connecting to 185.149.110.44:443... connected.","The certificate's owner does not match hostname \u2018185.149.110.44\u2019","HTTP request sent, awaiting response... 200 OK","Length: 1240 (1.2K) [application/x-sh]","Saving to: \u2018mount.sh.1\u2019","","     0K .                                                     100% 78.5M=0s","","2026-04-22 13:25:34 (78.5 MB/s) - \u2018mount.sh.1\u2019 saved [1240/1240]"],"stdout":"Last metadata expiration check: 0:00:36 ago on Wed Apr 22 13:24:54 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: urllib3<3,>=1.21.1 in /usr/local/lib/python3.9/site-packages (from requests) (2.6.3)\nRequirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.9/site-packages (from requests) (3.12)\nRequirement already satisfied: charset_normalizer<4,>=2 in /usr/local/lib64/python3.9/site-packages (from requests) (3.4.7)\nRequirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests) (2024.8.30)\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/local/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:00:38 ago on Wed Apr 22 13:24:54 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:00:36 ago on Wed Apr 22 13:24:54 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: urllib3<3,>=1.21.1 in /usr/local/lib/python3.9/site-packages (from requests) (2.6.3)","Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.9/site-packages (from requests) (3.12)","Requirement already satisfied: charset_normalizer<4,>=2 in /usr/local/lib64/python3.9/site-packages (from requests) (3.4.7)","Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests) (2024.8.30)","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/local/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:00:38 ago on Wed Apr 22 13:24:54 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-22T14:25:34.381592+01:00","updated":"2026-04-22T14:25:34.381624+01:00","started":"2026-04-22T14:25:29.258280+01:00","ended":"2026-04-22T14:25:34.371978+01:00","duration":"00:00:05.113698","changed":true,"ignore_errors":false}