Using /etc/ansible/ansible.cfg as config file 2025-11-17 19:02:47.794865 | PLAY [Build a centos 10 cloud image suitable for Zuul] *** 2025-11-17 19:02:47.801145 | 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 19:02:49.785485 | TASK [discover-centos : Fail when release is not set] *** 2025-11-17 19:02:49.794254 | skipping: [image-builder] 2025-11-17 19:02:49.796421 | TASK [discover-centos : Fail when composes is set to Centos 8 stream] *** 2025-11-17 19:02:49.810421 | skipping: [image-builder] 2025-11-17 19:02:49.818980 | TASK [discover-centos : tempfile] ***************** 2025-11-17 19:02:50.785740 | changed: [image-builder] 2025-11-17 19:02:50.788402 | TASK [discover-centos : file] ********************* 2025-11-17 19:02:51.829738 | changed: [image-builder] 2025-11-17 19:02:51.832542 | TASK [discover-centos : Set proper url - stable] *** 2025-11-17 19:02:51.852347 | ok: [image-builder] 2025-11-17 19:02:51.854733 | TASK [discover-centos : Set proper url - composes] *** 2025-11-17 19:02:51.868827 | skipping: [image-builder] 2025-11-17 19:02:51.918552 | TASK [discover-centos : Fetch publication page] *** 2025-11-17 19:02:53.204747 | changed: [image-builder] 2025-11-17 19:02:53.207474 | TASK [discover-centos : Find specified centos image version] *** 2025-11-17 19:02:53.219533 | skipping: [image-builder] 2025-11-17 19:02:53.223617 | TASK [discover-centos : Find centos-10-stream qcow] *** 2025-11-17 19:02:54.247972 | changed: [image-builder] 2025-11-17 19:02:54.250473 | TASK [discover-centos : Find checksum file url] *** 2025-11-17 19:02:54.985745 | changed: [image-builder] 2025-11-17 19:02:54.988171 | TASK [discover-centos : set_fact] ***************** 2025-11-17 19:02:54.999891 | ok: [image-builder] 2025-11-17 19:02:55.002172 | TASK [discover-centos : file] ********************* 2025-11-17 19:02:55.739118 | changed: [image-builder] 2025-11-17 19:02:55.741625 | TASK [discover-centos : Fetch checksum file] ****** 2025-11-17 19:02:56.677389 | changed: [image-builder] 2025-11-17 19:02:56.679761 | TASK [discover-centos : Find checksum] ************ 2025-11-17 19:02:57.451717 | changed: [image-builder] 2025-11-17 19:02:57.454151 | TASK [discover-centos : set_fact] ***************** 2025-11-17 19:02:57.471639 | ok: [image-builder] 2025-11-17 19:02:57.474251 | TASK [discover-centos : debug] ******************** 2025-11-17 19:02:57.486233 | 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 19:02:57.490292 | TASK [base-appliance : Set appliance_archive] ***** 2025-11-17 19:02:57.529500 | ok: [image-builder] 2025-11-17 19:02:57.531793 | TASK [base-appliance : Set appliance_path] ******** 2025-11-17 19:02:57.548066 | ok: [image-builder] 2025-11-17 19:02:57.550305 | TASK [base-appliance : Remove existing appliance directory to avoid error: virt-customize: error: libguestfs error: cannot find any suitable libguestfs supermin] *** 2025-11-17 19:02:58.375518 | changed: [image-builder] 2025-11-17 19:02:58.377988 | TASK [base-appliance : Ensure appliance_path exists] *** 2025-11-17 19:02:59.128533 | changed: [image-builder] 2025-11-17 19:02:59.131007 | TASK [base-appliance : Download appliance] ******** 2025-11-17 19:03:00.406755 | ok: [image-builder] 2025-11-17 19:03:00.409483 | TASK [base-appliance : Unarchive appliance] ******* 2025-11-17 19:03:34.671483 | changed: [image-builder] 2025-11-17 19:03:34.673989 | TASK [base-appliance : set_fact] ****************** 2025-11-17 19:03:34.686100 | ok: [image-builder] 2025-11-17 19:03:34.690597 | TASK [base : assert] ****************************** 2025-11-17 19:03:34.719625 | ok: [image-builder] => { "changed": false, "msg": "All assertions passed" } 2025-11-17 19:03:34.721898 | TASK [base : Set some runtime facts] ************** 2025-11-17 19:03:34.738020 | ok: [image-builder] 2025-11-17 19:03:34.740329 | TASK [base : Make sure cache directory exist] ***** 2025-11-17 19:03:35.514385 | ok: [image-builder] 2025-11-17 19:03:35.518963 | TASK [base : Delete previous image cache] ********* 2025-11-17 19:03:35.526804 | skipping: [image-builder] 2025-11-17 19:03:35.529034 | TASK [base : Check if image is already downloaded] *** 2025-11-17 19:03:40.392315 | ok: [image-builder] 2025-11-17 19:03:40.394880 | TASK [base : Download if checksum doesn't match] *** 2025-11-17 19:03:40.403088 | skipping: [image-builder] 2025-11-17 19:03:40.405671 | TASK [base : Extract the image if necessary] ****** 2025-11-17 19:03:41.197527 | ok: [image-builder] 2025-11-17 19:03:41.199962 | TASK [base : Run pre-update command if needed] **** 2025-11-17 19:04:18.781486 | changed: [image-builder] 2025-11-17 19:04:18.798141 | TASK [base : Update the cache] ******************** 2025-11-17 19:04:56.751056 | changed: [image-builder] 2025-11-17 19:04:56.756282 | TASK [base : Create tmp directory] **************** 2025-11-17 19:04:57.533159 | changed: [image-builder] 2025-11-17 19:04:57.535619 | TASK [base : Set filename copy fact] ************** 2025-11-17 19:04:57.552728 | ok: [image-builder] 2025-11-17 19:04:57.555426 | TASK [base : Copy the image] ********************** 2025-11-17 19:05:13.187011 | changed: [image-builder] 2025-11-17 19:05:13.189527 | TASK [base : set_fact] **************************** 2025-11-17 19:05:13.210296 | ok: [image-builder] 2025-11-17 19:05:13.214800 | TASK [sshd-config : Prepare sshd_config file] ***** 2025-11-17 19:05:14.778574 | changed: [image-builder] 2025-11-17 19:05:14.780991 | TASK [sshd-config : set_fact] ********************* 2025-11-17 19:05:14.792793 | ok: [image-builder] 2025-11-17 19:05:14.794996 | TASK [sshd-config : Generate ssh host keys] ******* 2025-11-17 19:05:14.807741 | skipping: [image-builder] 2025-11-17 19:05:14.809833 | TASK [sshd-config : set_fact] ********************* 2025-11-17 19:05:14.829831 | ok: [image-builder] 2025-11-17 19:05:14.833686 | TASK [zuul-user : Prepare the sudoers file] ******* 2025-11-17 19:05:16.298577 | changed: [image-builder] 2025-11-17 19:05:16.301547 | TASK [zuul-user : Prepare the authorized_keys file] *** 2025-11-17 19:05:17.811415 | changed: [image-builder] 2025-11-17 19:05:17.813879 | TASK [zuul-user : Prepare the authorized_keys file] *** 2025-11-17 19:05:17.821874 | skipping: [image-builder] 2025-11-17 19:05:17.824058 | TASK [zuul-user : set_fact] *********************** 2025-11-17 19:05:17.831641 | skipping: [image-builder] 2025-11-17 19:05:17.833762 | TASK [zuul-user : set_fact] *********************** 2025-11-17 19:05:17.841203 | skipping: [image-builder] 2025-11-17 19:05:17.843355 | TASK [zuul-user : set_fact] *********************** 2025-11-17 19:05:17.859143 | ok: [image-builder] 2025-11-17 19:05:17.861322 | TASK [zuul-user : set_fact] *********************** 2025-11-17 19:05:17.927042 | ok: [image-builder] 2025-11-17 19:05:17.931262 | TASK [base-install-packages : set_fact] *********** 2025-11-17 19:05:17.948754 | ok: [image-builder] 2025-11-17 19:05:17.955358 | TASK [base-install-packages : set_fact] *********** 2025-11-17 19:05:18.019614 | ok: [image-builder] 2025-11-17 19:05:18.023784 | TASK [network-config : set_fact] ****************** 2025-11-17 19:05:18.037818 | skipping: [image-builder] 2025-11-17 19:05:18.040140 | TASK [network-config : set_fact] ****************** 2025-11-17 19:05:18.057515 | ok: [image-builder] 2025-11-17 19:05:18.063143 | TASK [network-config : set_fact] ****************** 2025-11-17 19:05:18.135289 | ok: [image-builder] 2025-11-17 19:05:18.140172 | TASK [base-customize : debug] ********************* 2025-11-17 19:05:18.152053 | ok: [image-builder] => { "msg": "Running: virt-customize -m 2048 -a /home/zuul/build/cache/tmp/cloud-centos-10-dbde0459a0f34db18ef515a80834134c/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-dbde0459a0f34db18ef515a80834134c/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-dbde0459a0f34db18ef515a80834134c/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-dbde0459a0f34db18ef515a80834134c/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:05:18.155985 | 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:06:45.323680 | TASK [base-cleanup : Remove tmp directory] ******** 2025-11-17 19:06:46.516398 | changed: [image-builder] 2025-11-17 19:06:46.521973 | PLAY RECAP **************************************** 2025-11-17 19:06:46.522009 | image-builder : ok=44 changed=19 unreachable=0 failed=1 skipped=11 rescued=0 ignored=0 2025-11-17 19:06:46.522023 | 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-dbde0459a0f34db18ef515a80834134c -e raw_type=True Exit code: 2