Using /etc/ansible/ansible.cfg as config file 2025-11-17 18:42:54.273512 | PLAY [Build a centos 10 cloud image suitable for Zuul] *** 2025-11-17 18:42:54.279745 | 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:42:56.385008 | TASK [discover-centos : Fail when release is not set] *** 2025-11-17 18:42:56.393759 | skipping: [image-builder] 2025-11-17 18:42:56.395936 | TASK [discover-centos : Fail when composes is set to Centos 8 stream] *** 2025-11-17 18:42:56.409067 | skipping: [image-builder] 2025-11-17 18:42:56.418584 | TASK [discover-centos : tempfile] ***************** 2025-11-17 18:42:57.443195 | changed: [image-builder] 2025-11-17 18:42:57.445784 | TASK [discover-centos : file] ********************* 2025-11-17 18:42:58.469883 | changed: [image-builder] 2025-11-17 18:42:58.472628 | TASK [discover-centos : Set proper url - stable] *** 2025-11-17 18:42:58.491306 | ok: [image-builder] 2025-11-17 18:42:58.493613 | TASK [discover-centos : Set proper url - composes] *** 2025-11-17 18:42:58.518417 | skipping: [image-builder] 2025-11-17 18:42:58.520851 | TASK [discover-centos : Fetch publication page] *** 2025-11-17 18:43:00.481137 | changed: [image-builder] 2025-11-17 18:43:00.483887 | TASK [discover-centos : Find specified centos image version] *** 2025-11-17 18:43:00.495687 | skipping: [image-builder] 2025-11-17 18:43:00.499542 | TASK [discover-centos : Find centos-10-stream qcow] *** 2025-11-17 18:43:01.541295 | changed: [image-builder] 2025-11-17 18:43:01.543833 | TASK [discover-centos : Find checksum file url] *** 2025-11-17 18:43:02.280709 | changed: [image-builder] 2025-11-17 18:43:02.283162 | TASK [discover-centos : set_fact] ***************** 2025-11-17 18:43:02.295037 | ok: [image-builder] 2025-11-17 18:43:02.297337 | TASK [discover-centos : file] ********************* 2025-11-17 18:43:03.036708 | changed: [image-builder] 2025-11-17 18:43:03.039227 | TASK [discover-centos : Fetch checksum file] ****** 2025-11-17 18:43:04.335497 | changed: [image-builder] 2025-11-17 18:43:04.337911 | TASK [discover-centos : Find checksum] ************ 2025-11-17 18:43:05.084173 | changed: [image-builder] 2025-11-17 18:43:05.086682 | TASK [discover-centos : set_fact] ***************** 2025-11-17 18:43:05.104155 | ok: [image-builder] 2025-11-17 18:43:05.106720 | TASK [discover-centos : debug] ******************** 2025-11-17 18:43:05.118554 | 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:43:05.122572 | TASK [base-appliance : Set appliance_archive] ***** 2025-11-17 18:43:05.137342 | ok: [image-builder] 2025-11-17 18:43:05.139477 | TASK [base-appliance : Set appliance_path] ******** 2025-11-17 18:43:05.155317 | ok: [image-builder] 2025-11-17 18:43:05.157584 | 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:43:05.993870 | changed: [image-builder] 2025-11-17 18:43:05.996374 | TASK [base-appliance : Ensure appliance_path exists] *** 2025-11-17 18:43:06.743152 | changed: [image-builder] 2025-11-17 18:43:06.745658 | TASK [base-appliance : Download appliance] ******** 2025-11-17 18:43:08.032749 | ok: [image-builder] 2025-11-17 18:43:08.035728 | TASK [base-appliance : Unarchive appliance] ******* 2025-11-17 18:43:43.294048 | changed: [image-builder] 2025-11-17 18:43:43.296556 | TASK [base-appliance : set_fact] ****************** 2025-11-17 18:43:43.308595 | ok: [image-builder] 2025-11-17 18:43:43.312940 | TASK [base : assert] ****************************** 2025-11-17 18:43:43.330485 | ok: [image-builder] => { "changed": false, "msg": "All assertions passed" } 2025-11-17 18:43:43.332724 | TASK [base : Set some runtime facts] ************** 2025-11-17 18:43:43.349052 | ok: [image-builder] 2025-11-17 18:43:43.351424 | TASK [base : Make sure cache directory exist] ***** 2025-11-17 18:43:44.158378 | ok: [image-builder] 2025-11-17 18:43:44.160856 | TASK [base : Delete previous image cache] ********* 2025-11-17 18:43:44.168700 | skipping: [image-builder] 2025-11-17 18:43:44.170902 | TASK [base : Check if image is already downloaded] *** 2025-11-17 18:43:49.034826 | ok: [image-builder] 2025-11-17 18:43:49.037384 | TASK [base : Download if checksum doesn't match] *** 2025-11-17 18:43:49.045391 | skipping: [image-builder] 2025-11-17 18:43:49.048090 | TASK [base : Extract the image if necessary] ****** 2025-11-17 18:43:49.815921 | ok: [image-builder] 2025-11-17 18:43:49.818380 | TASK [base : Run pre-update command if needed] **** 2025-11-17 18:44:27.680138 | changed: [image-builder] 2025-11-17 18:44:27.685042 | TASK [base : Update the cache] ******************** 2025-11-17 18:45:04.903121 | changed: [image-builder] 2025-11-17 18:45:04.905654 | TASK [base : Create tmp directory] **************** 2025-11-17 18:45:05.693287 | changed: [image-builder] 2025-11-17 18:45:05.695725 | TASK [base : Set filename copy fact] ************** 2025-11-17 18:45:05.712916 | ok: [image-builder] 2025-11-17 18:45:05.715579 | TASK [base : Copy the image] ********************** 2025-11-17 18:45:21.683299 | changed: [image-builder] 2025-11-17 18:45:21.685796 | TASK [base : set_fact] **************************** 2025-11-17 18:45:21.706250 | ok: [image-builder] 2025-11-17 18:45:21.710746 | TASK [sshd-config : Prepare sshd_config file] ***** 2025-11-17 18:45:23.254694 | changed: [image-builder] 2025-11-17 18:45:23.257130 | TASK [sshd-config : set_fact] ********************* 2025-11-17 18:45:23.268901 | ok: [image-builder] 2025-11-17 18:45:23.271094 | TASK [sshd-config : Generate ssh host keys] ******* 2025-11-17 18:45:23.283939 | skipping: [image-builder] 2025-11-17 18:45:23.286053 | TASK [sshd-config : set_fact] ********************* 2025-11-17 18:45:23.324672 | ok: [image-builder] 2025-11-17 18:45:23.328931 | TASK [zuul-user : Prepare the sudoers file] ******* 2025-11-17 18:45:24.913410 | changed: [image-builder] 2025-11-17 18:45:24.916654 | TASK [zuul-user : Prepare the authorized_keys file] *** 2025-11-17 18:45:26.451603 | changed: [image-builder] 2025-11-17 18:45:26.454045 | TASK [zuul-user : Prepare the authorized_keys file] *** 2025-11-17 18:45:26.462031 | skipping: [image-builder] 2025-11-17 18:45:26.464234 | TASK [zuul-user : set_fact] *********************** 2025-11-17 18:45:26.471640 | skipping: [image-builder] 2025-11-17 18:45:26.473767 | TASK [zuul-user : set_fact] *********************** 2025-11-17 18:45:26.481041 | skipping: [image-builder] 2025-11-17 18:45:26.483139 | TASK [zuul-user : set_fact] *********************** 2025-11-17 18:45:26.527741 | ok: [image-builder] 2025-11-17 18:45:26.530064 | TASK [zuul-user : set_fact] *********************** 2025-11-17 18:45:26.541960 | ok: [image-builder] 2025-11-17 18:45:26.546116 | TASK [base-install-packages : set_fact] *********** 2025-11-17 18:45:26.617605 | ok: [image-builder] 2025-11-17 18:45:26.620600 | TASK [base-install-packages : set_fact] *********** 2025-11-17 18:45:26.632510 | ok: [image-builder] 2025-11-17 18:45:26.636461 | TASK [network-config : set_fact] ****************** 2025-11-17 18:45:26.649106 | skipping: [image-builder] 2025-11-17 18:45:26.651166 | TASK [network-config : set_fact] ****************** 2025-11-17 18:45:26.725372 | ok: [image-builder] 2025-11-17 18:45:26.729681 | TASK [network-config : set_fact] ****************** 2025-11-17 18:45:26.746736 | ok: [image-builder] 2025-11-17 18:45:26.751606 | TASK [base-customize : debug] ********************* 2025-11-17 18:45:26.819233 | ok: [image-builder] => { "msg": "Running: virt-customize -m 2048 -a /home/zuul/build/cache/tmp/cloud-centos-10-892859890cbe4b35a2e52c640aed4a1c/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-892859890cbe4b35a2e52c640aed4a1c/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-892859890cbe4b35a2e52c640aed4a1c/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-892859890cbe4b35a2e52c640aed4a1c/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:45:26.822154 | 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:46:45.378085 | TASK [base-cleanup : Remove tmp directory] ******** 2025-11-17 18:46:46.466452 | changed: [image-builder] 2025-11-17 18:46:46.470693 | PLAY RECAP **************************************** 2025-11-17 18:46:46.470723 | image-builder : ok=44 changed=19 unreachable=0 failed=1 skipped=11 rescued=0 ignored=0 2025-11-17 18:46:46.470737 | 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-892859890cbe4b35a2e52c640aed4a1c -e raw_type=True Exit code: 2