{"id":972536,"status":"changed","playbook":{"id":5571,"items":{"plays":5,"tasks":7,"results":7,"hosts":3,"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":["stage3","stage1"],"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":300,"name":"skip_tags:stage3,stage1"}],"started":"2026-04-23T12:23:02.509762+01:00","ended":"2026-04-23T12:23:20.425324+01:00","duration":"00:00:17.915562","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":6126,"items":{"tasks":3,"results":3},"started":"2026-04-23T12:23:02.783373+01:00","ended":"2026-04-23T12:23:12.698967+01:00","duration":"00:00:09.915594","name":"Install backup agent","status":"completed"},"task":{"id":13737,"items":{"results":1},"path":"/home/ssh-gateway/ansible/kuly/kvm_node_install/setup_new_node.yaml","tags":["backup-manager","stage2","backup"],"started":"2026-04-23T12:23:05.138281+01:00","ended":"2026-04-23T12:23:12.800809+01:00","duration":"00:00:07.662528","name":"Run backup-manager installer (pass 1)","uuid":"001851d0-75dc-07aa-cd41-000000000023","action":"ansible.builtin.shell","lineno":282,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":7730},"host":{"id":338024,"name":"kvm24-mock","changed":3,"failed":0,"ok":5,"skipped":0,"unreachable":0},"delegated_to":[],"content":{"changed":true,"cmd":"set -o pipefail\n/tmp/installer.sh\n","delta":"0:00:06.983382","end":"2026-04-23 11:23:12.647064","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-23 11:23:05.663682","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-23 11:23:10--  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% 14.6M=0s\n\n2026-04-23 11:23:10 (14.6 MB/s) - \u2018install-agent.sh\u2019 saved [1343/1343]\n\n--2026-04-23 11:23:10--  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%  125M=0s\n\n2026-04-23 11:23:10 (125 MB/s) - \u2018/opt/backup-agent/backup-agent-ls.py\u2019 saved [4964/4964]\n\n--2026-04-23 11:23:10--  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% 92.6M=0s\n\n2026-04-23 11:23:11 (92.6 MB/s) - \u2018/opt/backup-agent/drivers/virtnbd/virtnbd.py\u2019 saved [31925/31925]\n\n--2026-04-23 11:23:11--  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% 38.0M=0s\n\n2026-04-23 11:23:11 (38.0 MB/s) - \u2018/opt/backup-agent/drivers/virtnbd/version.py\u2019 saved [24/24]\n\n--2026-04-23 11:23:11--  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% 5.49M=0s\n\n2026-04-23 11:23:11 (5.49 MB/s) - \u2018/opt/backup-agent/scripts/removecheckpoints.sh\u2019 saved [249/249]\n\n--2026-04-23 11:23:11--  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% 6.07M=0s\n\n2026-04-23 11:23:11 (6.07 MB/s) - \u2018/opt/backup-agent/scripts/trimmer.sh\u2019 saved [397/397]\n\n--2026-04-23 11:23:11--  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%  322M=0s\n\n2026-04-23 11:23:11 (322 MB/s) - \u2018/opt/backup-agent/scripts/virtnbd_version.sh\u2019 saved [126/126]\n\n--2026-04-23 11:23:11--  http://wget/\nResolving wget (wget)... failed: Name or service not known.\nwget: unable to resolve host address \u2018wget\u2019\n--2026-04-23 11:23:11--  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% 13.1M=0s\n\n2026-04-23 11:23:12 (13.1 MB/s) - \u2018/opt/backup-agent/drivers/encrypt/encrypt.py\u2019 saved [618/618]\n\nFINISHED --2026-04-23 11:23:12--\nTotal wall clock time: 0.2s\nDownloaded: 1 files, 618 in 0s (13.1 MB/s)\nRedirecting to /bin/systemctl start backup-agent.service\n--2026-04-23 11:23:12--  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.5\u2019\n\n     0K .                                                     100% 27.3M=0s\n\n2026-04-23 11:23:12 (27.3 MB/s) - \u2018mount.sh.5\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-23 11:23:10--  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% 14.6M=0s","","2026-04-23 11:23:10 (14.6 MB/s) - \u2018install-agent.sh\u2019 saved [1343/1343]","","--2026-04-23 11:23:10--  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%  125M=0s","","2026-04-23 11:23:10 (125 MB/s) - \u2018/opt/backup-agent/backup-agent-ls.py\u2019 saved [4964/4964]","","--2026-04-23 11:23:10--  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% 92.6M=0s","","2026-04-23 11:23:11 (92.6 MB/s) - \u2018/opt/backup-agent/drivers/virtnbd/virtnbd.py\u2019 saved [31925/31925]","","--2026-04-23 11:23:11--  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% 38.0M=0s","","2026-04-23 11:23:11 (38.0 MB/s) - \u2018/opt/backup-agent/drivers/virtnbd/version.py\u2019 saved [24/24]","","--2026-04-23 11:23:11--  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% 5.49M=0s","","2026-04-23 11:23:11 (5.49 MB/s) - \u2018/opt/backup-agent/scripts/removecheckpoints.sh\u2019 saved [249/249]","","--2026-04-23 11:23:11--  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% 6.07M=0s","","2026-04-23 11:23:11 (6.07 MB/s) - \u2018/opt/backup-agent/scripts/trimmer.sh\u2019 saved [397/397]","","--2026-04-23 11:23:11--  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%  322M=0s","","2026-04-23 11:23:11 (322 MB/s) - \u2018/opt/backup-agent/scripts/virtnbd_version.sh\u2019 saved [126/126]","","--2026-04-23 11:23:11--  http://wget/","Resolving wget (wget)... failed: Name or service not known.","wget: unable to resolve host address \u2018wget\u2019","--2026-04-23 11:23:11--  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% 13.1M=0s","","2026-04-23 11:23:12 (13.1 MB/s) - \u2018/opt/backup-agent/drivers/encrypt/encrypt.py\u2019 saved [618/618]","","FINISHED --2026-04-23 11:23:12--","Total wall clock time: 0.2s","Downloaded: 1 files, 618 in 0s (13.1 MB/s)","Redirecting to /bin/systemctl start backup-agent.service","--2026-04-23 11:23:12--  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.5\u2019","","     0K .                                                     100% 27.3M=0s","","2026-04-23 11:23:12 (27.3 MB/s) - \u2018mount.sh.5\u2019 saved [1240/1240]"],"stdout":"Last metadata expiration check: 1:14:30 ago on Thu Apr 23 10:08:36 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/lib/python3.9/site-packages (2.25.1)\nRequirement already satisfied: idna<3,>=2.5 in /usr/lib/python3.9/site-packages (from requests) (2.10)\nRequirement already satisfied: chardet<5,>=3.0.2 in /usr/lib/python3.9/site-packages (from requests) (4.0.0)\nRequirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.9/site-packages (from requests) (1.26.5)\nRequirement already satisfied: cryptography in /usr/lib64/python3.9/site-packages (36.0.1)\nRequirement already satisfied: cffi>=1.12 in /usr/lib64/python3.9/site-packages (from cryptography) (1.14.5)\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: 1:14:34 ago on Thu Apr 23 10:08:36 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: 1:14:30 ago on Thu Apr 23 10:08:36 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/lib/python3.9/site-packages (2.25.1)","Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3.9/site-packages (from requests) (2.10)","Requirement already satisfied: chardet<5,>=3.0.2 in /usr/lib/python3.9/site-packages (from requests) (4.0.0)","Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.9/site-packages (from requests) (1.26.5)","Requirement already satisfied: cryptography in /usr/lib64/python3.9/site-packages (36.0.1)","Requirement already satisfied: cffi>=1.12 in /usr/lib64/python3.9/site-packages (from cryptography) (1.14.5)","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: 1:14:34 ago on Thu Apr 23 10:08:36 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-23T12:23:12.688592+01:00","updated":"2026-04-23T12:23:12.688620+01:00","started":"2026-04-23T12:23:05.187566+01:00","ended":"2026-04-23T12:23:12.680550+01:00","duration":"00:00:07.492984","changed":true,"ignore_errors":false}