Using /etc/ansible/ansible.cfg as config file 2025-11-17 18:58:47.745236 | PLAY [Build a centos 10 cloud image suitable for Zuul] *** 2025-11-17 18:58:47.751390 | TASK [Gathering Facts] **************************** [WARNING]: Callback dispatch 'v2_runner_on_ok' failed for plugin 'timestamp': TimestampedDisplay.display() got an unexpected keyword argument 'caplevel' 2025-11-17 18:58:49.686038 | TASK [discover-centos : Fail when release is not set] *** 2025-11-17 18:58:49.694793 | skipping: [image-builder] 2025-11-17 18:58:49.697026 | TASK [discover-centos : Fail when composes is set to Centos 8 stream] *** 2025-11-17 18:58:49.709965 | skipping: [image-builder] 2025-11-17 18:58:49.718328 | TASK [discover-centos : tempfile] ***************** 2025-11-17 18:58:50.720712 | changed: [image-builder] 2025-11-17 18:58:50.723393 | TASK [discover-centos : file] ********************* 2025-11-17 18:58:51.717012 | changed: [image-builder] 2025-11-17 18:58:51.719902 | TASK [discover-centos : Set proper url - stable] *** 2025-11-17 18:58:51.738599 | ok: [image-builder] 2025-11-17 18:58:51.740871 | TASK [discover-centos : Set proper url - composes] *** 2025-11-17 18:58:51.754663 | skipping: [image-builder] 2025-11-17 18:58:51.756890 | TASK [discover-centos : Fetch publication page] *** 2025-11-17 18:58:53.243097 | changed: [image-builder] 2025-11-17 18:58:53.245880 | TASK [discover-centos : Find specified centos image version] *** 2025-11-17 18:58:53.257679 | skipping: [image-builder] 2025-11-17 18:58:53.262489 | TASK [discover-centos : Find centos-10-stream qcow] *** 2025-11-17 18:58:54.261680 | changed: [image-builder] 2025-11-17 18:58:54.264208 | TASK [discover-centos : Find checksum file url] *** 2025-11-17 18:58:55.010319 | changed: [image-builder] 2025-11-17 18:58:55.012818 | TASK [discover-centos : set_fact] ***************** 2025-11-17 18:58:55.024672 | ok: [image-builder] 2025-11-17 18:58:55.027011 | TASK [discover-centos : file] ********************* 2025-11-17 18:58:55.767495 | changed: [image-builder] 2025-11-17 18:58:55.770017 | TASK [discover-centos : Fetch checksum file] ****** 2025-11-17 18:58:56.868608 | changed: [image-builder] 2025-11-17 18:58:56.871027 | TASK [discover-centos : Find checksum] ************ 2025-11-17 18:58:57.662836 | changed: [image-builder] 2025-11-17 18:58:57.665279 | TASK [discover-centos : set_fact] ***************** 2025-11-17 18:58:57.682548 | ok: [image-builder] 2025-11-17 18:58:57.685158 | TASK [discover-centos : debug] ******************** 2025-11-17 18:58:57.697337 | ok: [image-builder] => { "msg": "Discovered image name: CentOS-Stream-GenericCloud-10-20251111.0.x86_64.qcow2\nDiscovered image_url: https://cloud.centos.org/centos/10-stream/x86_64/images/CentOS-Stream-GenericCloud-10-20251111.0.x86_64.qcow2\nDiscovered image_checksum: sha256:8c7fb1dcc8c7298bdd4a7b4ca48df1644218bb967530900f3f4be63d80ed55c1\n" } 2025-11-17 18:58:57.701506 | TASK [base-appliance : Set appliance_archive] ***** 2025-11-17 18:58:57.729387 | ok: [image-builder] 2025-11-17 18:58:57.731655 | TASK [base-appliance : Set appliance_path] ******** 2025-11-17 18:58:57.747986 | ok: [image-builder] 2025-11-17 18:58:57.750312 | TASK [base-appliance : Remove existing appliance directory to avoid error: virt-customize: error: libguestfs error: cannot find any suitable libguestfs supermin] *** 2025-11-17 18:58:58.550593 | changed: [image-builder] 2025-11-17 18:58:58.553060 | TASK [base-appliance : Ensure appliance_path exists] *** 2025-11-17 18:58:59.278299 | changed: [image-builder] 2025-11-17 18:58:59.280792 | TASK [base-appliance : Download appliance] ******** 2025-11-17 18:59:00.501495 | ok: [image-builder] 2025-11-17 18:59:00.504231 | TASK [base-appliance : Unarchive appliance] ******* 2025-11-17 18:59:34.997344 | changed: [image-builder] 2025-11-17 18:59:34.999840 | TASK [base-appliance : set_fact] ****************** 2025-11-17 18:59:35.012078 | ok: [image-builder] 2025-11-17 18:59:35.016561 | TASK [base : assert] ****************************** 2025-11-17 18:59:35.034281 | ok: [image-builder] => { "changed": false, "msg": "All assertions passed" } 2025-11-17 18:59:35.036444 | TASK [base : Set some runtime facts] ************** 2025-11-17 18:59:35.052827 | ok: [image-builder] 2025-11-17 18:59:35.055229 | TASK [base : Make sure cache directory exist] ***** 2025-11-17 18:59:35.861304 | ok: [image-builder] 2025-11-17 18:59:35.863795 | TASK [base : Delete previous image cache] ********* 2025-11-17 18:59:35.871886 | skipping: [image-builder] 2025-11-17 18:59:35.874156 | TASK [base : Check if image is already downloaded] *** 2025-11-17 18:59:40.738812 | ok: [image-builder] 2025-11-17 18:59:40.741356 | TASK [base : Download if checksum doesn't match] *** 2025-11-17 18:59:40.749254 | skipping: [image-builder] 2025-11-17 18:59:40.751646 | TASK [base : Extract the image if necessary] ****** 2025-11-17 18:59:41.538844 | ok: [image-builder] 2025-11-17 18:59:41.541261 | TASK [base : Run pre-update command if needed] **** 2025-11-17 19:00:19.128314 | changed: [image-builder] 2025-11-17 19:00:19.133347 | TASK [base : Update the cache] ******************** 2025-11-17 19:00:56.264072 | changed: [image-builder] 2025-11-17 19:00:56.266665 | TASK [base : Create tmp directory] **************** 2025-11-17 19:00:57.036299 | changed: [image-builder] 2025-11-17 19:00:57.038758 | TASK [base : Set filename copy fact] ************** 2025-11-17 19:00:57.055988 | ok: [image-builder] 2025-11-17 19:00:57.058850 | TASK [base : Copy the image] ********************** 2025-11-17 19:01:13.450953 | changed: [image-builder] 2025-11-17 19:01:13.453549 | TASK [base : set_fact] **************************** 2025-11-17 19:01:13.475267 | ok: [image-builder] 2025-11-17 19:01:13.479704 | TASK [sshd-config : Prepare sshd_config file] ***** 2025-11-17 19:01:15.164533 | changed: [image-builder] 2025-11-17 19:01:15.166973 | TASK [sshd-config : set_fact] ********************* 2025-11-17 19:01:15.178756 | ok: [image-builder] 2025-11-17 19:01:15.181009 | TASK [sshd-config : Generate ssh host keys] ******* 2025-11-17 19:01:15.193783 | skipping: [image-builder] 2025-11-17 19:01:15.195886 | TASK [sshd-config : set_fact] ********************* 2025-11-17 19:01:15.231658 | ok: [image-builder] 2025-11-17 19:01:15.235681 | TASK [zuul-user : Prepare the sudoers file] ******* 2025-11-17 19:01:16.889549 | changed: [image-builder] 2025-11-17 19:01:16.894940 | TASK [zuul-user : Prepare the authorized_keys file] *** 2025-11-17 19:01:18.459682 | changed: [image-builder] 2025-11-17 19:01:18.462118 | TASK [zuul-user : Prepare the authorized_keys file] *** 2025-11-17 19:01:18.470147 | skipping: [image-builder] 2025-11-17 19:01:18.472320 | TASK [zuul-user : set_fact] *********************** 2025-11-17 19:01:18.479576 | skipping: [image-builder] 2025-11-17 19:01:18.481609 | TASK [zuul-user : set_fact] *********************** 2025-11-17 19:01:18.488747 | skipping: [image-builder] 2025-11-17 19:01:18.490807 | TASK [zuul-user : set_fact] *********************** 2025-11-17 19:01:18.526643 | ok: [image-builder] 2025-11-17 19:01:18.528866 | TASK [zuul-user : set_fact] *********************** 2025-11-17 19:01:18.540486 | ok: [image-builder] 2025-11-17 19:01:18.544537 | TASK [base-install-packages : set_fact] *********** 2025-11-17 19:01:18.561781 | ok: [image-builder] 2025-11-17 19:01:18.618276 | TASK [base-install-packages : set_fact] *********** 2025-11-17 19:01:18.630621 | ok: [image-builder] 2025-11-17 19:01:18.634724 | TASK [network-config : set_fact] ****************** 2025-11-17 19:01:18.647802 | skipping: [image-builder] 2025-11-17 19:01:18.649962 | TASK [network-config : set_fact] ****************** 2025-11-17 19:01:18.722977 | ok: [image-builder] 2025-11-17 19:01:18.735422 | TASK [network-config : set_fact] ****************** 2025-11-17 19:01:18.752831 | ok: [image-builder] 2025-11-17 19:01:18.757729 | TASK [base-customize : debug] ********************* 2025-11-17 19:01:18.769638 | ok: [image-builder] => { "msg": "Running: virt-customize -m 2048 -a /home/zuul/build/cache/tmp/cloud-centos-10-86ee162bae9e42acb77b7e9d22d62ead/CentOS-Stream-GenericCloud-10-20251111.0.x86_64.qcow2 --selinux-relabel --install 'traceroute,iproute,git,rsync' --run-command 'sed -e s/^SELINUX=.*/SELINUX=enforcing/ -i /etc/selinux/config' --copy-in '/home/zuul/build/cache/tmp/cloud-centos-10-86ee162bae9e42acb77b7e9d22d62ead/sshd_config:/etc/ssh/' --chmod '0600:/etc/ssh/sshd_config' --run-command 'adduser -m zuul-worker' --mkdir '/home/zuul-worker/.ssh' --chmod '0700:/home/zuul-worker/.ssh' --copy-in '/home/zuul/build/cache/tmp/cloud-centos-10-86ee162bae9e42acb77b7e9d22d62ead/authorized_keys:/home/zuul-worker/.ssh/' --chmod '0600:/home/zuul-worker/.ssh/authorized_keys' --run-command 'chown -R zuul-worker:zuul-worker /home/zuul-worker/.ssh/' --copy-in '/home/zuul/build/cache/tmp/cloud-centos-10-86ee162bae9e42acb77b7e9d22d62ead/zuul:/etc/sudoers.d/' --chmod '0440:/etc/sudoers.d/zuul' --run-command 'chown root:root /etc/sudoers.d/zuul' --run-command 'chcon -R -h system_u:object_r:user_home_t:s0 /home/zuul-worker && chcon -R -h system_u:object_r:ssh_home_t:s0 /home/zuul-worker/.ssh' --install 'traceroute,iproute,git,rsync,pigz,wget,unzip,gnupg2,expect,hostname,gcc,gcc-c++,make,patch,tar,time,python3' --install 'traceroute,iproute,git,rsync,pigz,wget,unzip,gnupg2,expect,hostname,gcc,gcc-c++,make,patch,tar,time,python3' --run-command '/sbin/iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 19885 -j ACCEPT' --run-command '/sbin/iptables -I INPUT -p tcp -m tcp --dport 22 -j ACCEPT' --run-command '/sbin/iptables-save > /etc/sysconfig/iptables' --run-command 'systemctl enable iptables.service'" } 2025-11-17 19:01:18.818394 | TASK [base-customize : Run virt-customize] ******** [WARNING]: Callback dispatch 'v2_runner_on_failed' failed for plugin 'timestamp': TimestampedDisplay.display() got an unexpected keyword argument 'caplevel' 2025-11-17 19:02:35.416689 | TASK [base-cleanup : Remove tmp directory] ******** 2025-11-17 19:02:36.547889 | changed: [image-builder] 2025-11-17 19:02:36.553864 | PLAY RECAP **************************************** 2025-11-17 19:02:36.553902 | image-builder : ok=44 changed=19 unreachable=0 failed=1 skipped=11 rescued=0 ignored=0 2025-11-17 19:02:36.553915 | Running: /usr/bin/ansible-playbook -v -i /var/lib/nodepool/config/nodepool/dib-ansible/inventory.yaml /var/lib/nodepool/config/nodepool/dib-ansible/cloud-centos-10.yaml -e image_output=/var/lib/nodepool/dib/cloud-centos-10-86ee162bae9e42acb77b7e9d22d62ead -e raw_type=True Exit code: 2