Using /etc/ansible/ansible.cfg as config file 2025-11-17 18:54:58.359760 | PLAY [Build a centos 10 cloud image suitable for Zuul] *** 2025-11-17 18:54:58.366048 | 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:55:00.462914 | TASK [discover-centos : Fail when release is not set] *** 2025-11-17 18:55:00.471694 | skipping: [image-builder] 2025-11-17 18:55:00.473892 | TASK [discover-centos : Fail when composes is set to Centos 8 stream] *** 2025-11-17 18:55:00.486709 | skipping: [image-builder] 2025-11-17 18:55:00.488867 | TASK [discover-centos : tempfile] ***************** 2025-11-17 18:55:01.548719 | changed: [image-builder] 2025-11-17 18:55:01.551364 | TASK [discover-centos : file] ********************* 2025-11-17 18:55:02.631025 | changed: [image-builder] 2025-11-17 18:55:02.633807 | TASK [discover-centos : Set proper url - stable] *** 2025-11-17 18:55:02.652391 | ok: [image-builder] 2025-11-17 18:55:02.654672 | TASK [discover-centos : Set proper url - composes] *** 2025-11-17 18:55:02.668412 | skipping: [image-builder] 2025-11-17 18:55:02.670633 | TASK [discover-centos : Fetch publication page] *** 2025-11-17 18:55:04.069259 | changed: [image-builder] 2025-11-17 18:55:04.071985 | TASK [discover-centos : Find specified centos image version] *** 2025-11-17 18:55:04.083781 | skipping: [image-builder] 2025-11-17 18:55:04.087585 | TASK [discover-centos : Find centos-10-stream qcow] *** 2025-11-17 18:55:05.137759 | changed: [image-builder] 2025-11-17 18:55:05.140515 | TASK [discover-centos : Find checksum file url] *** 2025-11-17 18:55:05.892394 | changed: [image-builder] 2025-11-17 18:55:05.894945 | TASK [discover-centos : set_fact] ***************** 2025-11-17 18:55:05.906971 | ok: [image-builder] 2025-11-17 18:55:05.909358 | TASK [discover-centos : file] ********************* 2025-11-17 18:55:06.670034 | changed: [image-builder] 2025-11-17 18:55:06.672565 | TASK [discover-centos : Fetch checksum file] ****** 2025-11-17 18:55:07.623637 | changed: [image-builder] 2025-11-17 18:55:07.626313 | TASK [discover-centos : Find checksum] ************ 2025-11-17 18:55:08.451048 | changed: [image-builder] 2025-11-17 18:55:08.453550 | TASK [discover-centos : set_fact] ***************** 2025-11-17 18:55:08.471203 | ok: [image-builder] 2025-11-17 18:55:08.473881 | TASK [discover-centos : debug] ******************** 2025-11-17 18:55:08.486288 | 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:55:08.490392 | TASK [base-appliance : Set appliance_archive] ***** 2025-11-17 18:55:08.532547 | ok: [image-builder] 2025-11-17 18:55:08.534816 | TASK [base-appliance : Set appliance_path] ******** 2025-11-17 18:55:08.621950 | ok: [image-builder] 2025-11-17 18:55:08.624457 | 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:55:09.403665 | changed: [image-builder] 2025-11-17 18:55:09.406225 | TASK [base-appliance : Ensure appliance_path exists] *** 2025-11-17 18:55:10.208116 | changed: [image-builder] 2025-11-17 18:55:10.210630 | TASK [base-appliance : Download appliance] ******** 2025-11-17 18:55:11.592651 | ok: [image-builder] 2025-11-17 18:55:11.595462 | TASK [base-appliance : Unarchive appliance] ******* 2025-11-17 18:55:46.179501 | changed: [image-builder] 2025-11-17 18:55:46.184041 | TASK [base-appliance : set_fact] ****************** 2025-11-17 18:55:46.195948 | ok: [image-builder] 2025-11-17 18:55:46.200268 | TASK [base : assert] ****************************** 2025-11-17 18:55:46.217413 | ok: [image-builder] => { "changed": false, "msg": "All assertions passed" } 2025-11-17 18:55:46.219495 | TASK [base : Set some runtime facts] ************** 2025-11-17 18:55:46.234476 | ok: [image-builder] 2025-11-17 18:55:46.236656 | TASK [base : Make sure cache directory exist] ***** 2025-11-17 18:55:47.019330 | ok: [image-builder] 2025-11-17 18:55:47.022297 | TASK [base : Delete previous image cache] ********* 2025-11-17 18:55:47.029885 | skipping: [image-builder] 2025-11-17 18:55:47.032069 | TASK [base : Check if image is already downloaded] *** 2025-11-17 18:55:51.987223 | ok: [image-builder] 2025-11-17 18:55:51.989774 | TASK [base : Download if checksum doesn't match] *** 2025-11-17 18:55:51.997599 | skipping: [image-builder] 2025-11-17 18:55:51.999960 | TASK [base : Extract the image if necessary] ****** 2025-11-17 18:55:52.790701 | ok: [image-builder] 2025-11-17 18:55:52.793124 | TASK [base : Run pre-update command if needed] **** 2025-11-17 18:56:31.288541 | changed: [image-builder] 2025-11-17 18:56:31.292174 | TASK [base : Update the cache] ******************** 2025-11-17 18:57:07.690143 | changed: [image-builder] 2025-11-17 18:57:07.694576 | TASK [base : Create tmp directory] **************** 2025-11-17 18:57:08.471532 | changed: [image-builder] 2025-11-17 18:57:08.473945 | TASK [base : Set filename copy fact] ************** 2025-11-17 18:57:08.491719 | ok: [image-builder] 2025-11-17 18:57:08.494453 | TASK [base : Copy the image] ********************** 2025-11-17 18:57:24.246368 | changed: [image-builder] 2025-11-17 18:57:24.248953 | TASK [base : set_fact] **************************** 2025-11-17 18:57:24.269483 | ok: [image-builder] 2025-11-17 18:57:24.273908 | TASK [sshd-config : Prepare sshd_config file] ***** 2025-11-17 18:57:25.859523 | changed: [image-builder] 2025-11-17 18:57:25.861931 | TASK [sshd-config : set_fact] ********************* 2025-11-17 18:57:25.873748 | ok: [image-builder] 2025-11-17 18:57:25.875946 | TASK [sshd-config : Generate ssh host keys] ******* 2025-11-17 18:57:25.888639 | skipping: [image-builder] 2025-11-17 18:57:25.890741 | TASK [sshd-config : set_fact] ********************* 2025-11-17 18:57:25.922535 | ok: [image-builder] 2025-11-17 18:57:25.926614 | TASK [zuul-user : Prepare the sudoers file] ******* 2025-11-17 18:57:27.465072 | changed: [image-builder] 2025-11-17 18:57:27.468085 | TASK [zuul-user : Prepare the authorized_keys file] *** 2025-11-17 18:57:28.970271 | changed: [image-builder] 2025-11-17 18:57:28.972691 | TASK [zuul-user : Prepare the authorized_keys file] *** 2025-11-17 18:57:28.980740 | skipping: [image-builder] 2025-11-17 18:57:28.982974 | TASK [zuul-user : set_fact] *********************** 2025-11-17 18:57:28.990629 | skipping: [image-builder] 2025-11-17 18:57:28.992786 | TASK [zuul-user : set_fact] *********************** 2025-11-17 18:57:29.000441 | skipping: [image-builder] 2025-11-17 18:57:29.019086 | TASK [zuul-user : set_fact] *********************** 2025-11-17 18:57:29.035737 | ok: [image-builder] 2025-11-17 18:57:29.038071 | TASK [zuul-user : set_fact] *********************** 2025-11-17 18:57:29.049924 | ok: [image-builder] 2025-11-17 18:57:29.054046 | TASK [base-install-packages : set_fact] *********** 2025-11-17 18:57:29.128717 | ok: [image-builder] 2025-11-17 18:57:29.132035 | TASK [base-install-packages : set_fact] *********** 2025-11-17 18:57:29.143928 | ok: [image-builder] 2025-11-17 18:57:29.147934 | TASK [network-config : set_fact] ****************** 2025-11-17 18:57:29.161128 | skipping: [image-builder] 2025-11-17 18:57:29.218688 | TASK [network-config : set_fact] ****************** 2025-11-17 18:57:29.236319 | ok: [image-builder] 2025-11-17 18:57:29.239130 | TASK [network-config : set_fact] ****************** 2025-11-17 18:57:29.256402 | ok: [image-builder] 2025-11-17 18:57:29.261387 | TASK [base-customize : debug] ********************* 2025-11-17 18:57:29.329826 | ok: [image-builder] => { "msg": "Running: virt-customize -m 2048 -a /home/zuul/build/cache/tmp/cloud-centos-10-2edfe75d39674ebdb33a005875e46d7d/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-2edfe75d39674ebdb33a005875e46d7d/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-2edfe75d39674ebdb33a005875e46d7d/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-2edfe75d39674ebdb33a005875e46d7d/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 18:57:29.332510 | 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 18:58:44.794784 | TASK [base-cleanup : Remove tmp directory] ******** 2025-11-17 18:58:46.481335 | changed: [image-builder] 2025-11-17 18:58:46.485581 | PLAY RECAP **************************************** 2025-11-17 18:58:46.485616 | image-builder : ok=44 changed=19 unreachable=0 failed=1 skipped=11 rescued=0 ignored=0 2025-11-17 18:58:46.485629 | 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-2edfe75d39674ebdb33a005875e46d7d -e raw_type=True Exit code: 2