Using /etc/ansible/ansible.cfg as config file 2025-11-17 18:46:57.688222 | PLAY [Build a centos 10 cloud image suitable for Zuul] *** 2025-11-17 18:46:57.718662 | 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:46:59.668485 | TASK [discover-centos : Fail when release is not set] *** 2025-11-17 18:46:59.677286 | skipping: [image-builder] 2025-11-17 18:46:59.679438 | TASK [discover-centos : Fail when composes is set to Centos 8 stream] *** 2025-11-17 18:46:59.692370 | skipping: [image-builder] 2025-11-17 18:46:59.694566 | TASK [discover-centos : tempfile] ***************** 2025-11-17 18:47:00.673749 | changed: [image-builder] 2025-11-17 18:47:00.676490 | TASK [discover-centos : file] ********************* 2025-11-17 18:47:01.719207 | changed: [image-builder] 2025-11-17 18:47:01.721943 | TASK [discover-centos : Set proper url - stable] *** 2025-11-17 18:47:01.741404 | ok: [image-builder] 2025-11-17 18:47:01.743703 | TASK [discover-centos : Set proper url - composes] *** 2025-11-17 18:47:01.757619 | skipping: [image-builder] 2025-11-17 18:47:01.818263 | TASK [discover-centos : Fetch publication page] *** 2025-11-17 18:47:03.304807 | changed: [image-builder] 2025-11-17 18:47:03.307529 | TASK [discover-centos : Find specified centos image version] *** 2025-11-17 18:47:03.319358 | skipping: [image-builder] 2025-11-17 18:47:03.323167 | TASK [discover-centos : Find centos-10-stream qcow] *** 2025-11-17 18:47:04.380495 | changed: [image-builder] 2025-11-17 18:47:04.383020 | TASK [discover-centos : Find checksum file url] *** 2025-11-17 18:47:05.125636 | changed: [image-builder] 2025-11-17 18:47:05.128092 | TASK [discover-centos : set_fact] ***************** 2025-11-17 18:47:05.139954 | ok: [image-builder] 2025-11-17 18:47:05.142227 | TASK [discover-centos : file] ********************* 2025-11-17 18:47:05.905501 | changed: [image-builder] 2025-11-17 18:47:05.907989 | TASK [discover-centos : Fetch checksum file] ****** 2025-11-17 18:47:06.781238 | changed: [image-builder] 2025-11-17 18:47:06.783678 | TASK [discover-centos : Find checksum] ************ 2025-11-17 18:47:07.587317 | changed: [image-builder] 2025-11-17 18:47:07.589770 | TASK [discover-centos : set_fact] ***************** 2025-11-17 18:47:07.607919 | ok: [image-builder] 2025-11-17 18:47:07.610494 | TASK [discover-centos : debug] ******************** 2025-11-17 18:47:07.622808 | 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:47:07.626909 | TASK [base-appliance : Set appliance_archive] ***** 2025-11-17 18:47:07.641983 | ok: [image-builder] 2025-11-17 18:47:07.644136 | TASK [base-appliance : Set appliance_path] ******** 2025-11-17 18:47:07.661060 | ok: [image-builder] 2025-11-17 18:47:07.718673 | 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:47:08.460359 | changed: [image-builder] 2025-11-17 18:47:08.462852 | TASK [base-appliance : Ensure appliance_path exists] *** 2025-11-17 18:47:09.187545 | changed: [image-builder] 2025-11-17 18:47:09.190022 | TASK [base-appliance : Download appliance] ******** 2025-11-17 18:47:10.378718 | ok: [image-builder] 2025-11-17 18:47:10.381505 | TASK [base-appliance : Unarchive appliance] ******* 2025-11-17 18:47:45.541747 | changed: [image-builder] 2025-11-17 18:47:45.545824 | TASK [base-appliance : set_fact] ****************** 2025-11-17 18:47:45.557723 | ok: [image-builder] 2025-11-17 18:47:45.562041 | TASK [base : assert] ****************************** 2025-11-17 18:47:45.579521 | ok: [image-builder] => { "changed": false, "msg": "All assertions passed" } 2025-11-17 18:47:45.617897 | TASK [base : Set some runtime facts] ************** 2025-11-17 18:47:45.635171 | ok: [image-builder] 2025-11-17 18:47:45.637471 | TASK [base : Make sure cache directory exist] ***** 2025-11-17 18:47:46.399389 | ok: [image-builder] 2025-11-17 18:47:46.401911 | TASK [base : Delete previous image cache] ********* 2025-11-17 18:47:46.409670 | skipping: [image-builder] 2025-11-17 18:47:46.411866 | TASK [base : Check if image is already downloaded] *** 2025-11-17 18:47:51.333429 | ok: [image-builder] 2025-11-17 18:47:51.335974 | TASK [base : Download if checksum doesn't match] *** 2025-11-17 18:47:51.344050 | skipping: [image-builder] 2025-11-17 18:47:51.346570 | TASK [base : Extract the image if necessary] ****** 2025-11-17 18:47:52.104838 | ok: [image-builder] 2025-11-17 18:47:52.107403 | TASK [base : Run pre-update command if needed] **** 2025-11-17 18:48:35.667038 | changed: [image-builder] 2025-11-17 18:48:35.670566 | TASK [base : Update the cache] ******************** 2025-11-17 18:49:14.246292 | changed: [image-builder] 2025-11-17 18:49:14.250347 | TASK [base : Create tmp directory] **************** 2025-11-17 18:49:15.069736 | changed: [image-builder] 2025-11-17 18:49:15.072175 | TASK [base : Set filename copy fact] ************** 2025-11-17 18:49:15.089395 | ok: [image-builder] 2025-11-17 18:49:15.092121 | TASK [base : Copy the image] ********************** 2025-11-17 18:49:30.793789 | changed: [image-builder] 2025-11-17 18:49:30.796258 | TASK [base : set_fact] **************************** 2025-11-17 18:49:30.815971 | ok: [image-builder] 2025-11-17 18:49:30.820124 | TASK [sshd-config : Prepare sshd_config file] ***** 2025-11-17 18:49:32.434409 | changed: [image-builder] 2025-11-17 18:49:32.436825 | TASK [sshd-config : set_fact] ********************* 2025-11-17 18:49:32.448727 | ok: [image-builder] 2025-11-17 18:49:32.451023 | TASK [sshd-config : Generate ssh host keys] ******* 2025-11-17 18:49:32.464789 | skipping: [image-builder] 2025-11-17 18:49:32.466973 | TASK [sshd-config : set_fact] ********************* 2025-11-17 18:49:32.527498 | ok: [image-builder] 2025-11-17 18:49:32.531666 | TASK [zuul-user : Prepare the sudoers file] ******* 2025-11-17 18:49:34.063409 | changed: [image-builder] 2025-11-17 18:49:34.066483 | TASK [zuul-user : Prepare the authorized_keys file] *** 2025-11-17 18:49:35.623742 | changed: [image-builder] 2025-11-17 18:49:35.626242 | TASK [zuul-user : Prepare the authorized_keys file] *** 2025-11-17 18:49:35.634887 | skipping: [image-builder] 2025-11-17 18:49:35.637215 | TASK [zuul-user : set_fact] *********************** 2025-11-17 18:49:35.645869 | skipping: [image-builder] 2025-11-17 18:49:35.648228 | TASK [zuul-user : set_fact] *********************** 2025-11-17 18:49:35.656909 | skipping: [image-builder] 2025-11-17 18:49:35.659203 | TASK [zuul-user : set_fact] *********************** 2025-11-17 18:49:35.730428 | ok: [image-builder] 2025-11-17 18:49:35.733224 | TASK [zuul-user : set_fact] *********************** 2025-11-17 18:49:35.745040 | ok: [image-builder] 2025-11-17 18:49:35.749103 | TASK [base-install-packages : set_fact] *********** 2025-11-17 18:49:35.821905 | ok: [image-builder] 2025-11-17 18:49:35.824830 | TASK [base-install-packages : set_fact] *********** 2025-11-17 18:49:35.837173 | ok: [image-builder] 2025-11-17 18:49:35.841162 | TASK [network-config : set_fact] ****************** 2025-11-17 18:49:35.854116 | skipping: [image-builder] 2025-11-17 18:49:35.856211 | TASK [network-config : set_fact] ****************** 2025-11-17 18:49:35.931858 | ok: [image-builder] 2025-11-17 18:49:35.934925 | TASK [network-config : set_fact] ****************** 2025-11-17 18:49:35.952147 | ok: [image-builder] 2025-11-17 18:49:35.957113 | TASK [base-customize : debug] ********************* 2025-11-17 18:49:36.026567 | ok: [image-builder] => { "msg": "Running: virt-customize -m 2048 -a /home/zuul/build/cache/tmp/cloud-centos-10-4751ae6cc68242b99c422e7173107fac/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-4751ae6cc68242b99c422e7173107fac/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-4751ae6cc68242b99c422e7173107fac/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-4751ae6cc68242b99c422e7173107fac/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:49:36.029396 | 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:50:49.596802 | TASK [base-cleanup : Remove tmp directory] ******** 2025-11-17 18:50:50.726368 | changed: [image-builder] 2025-11-17 18:50:50.730794 | PLAY RECAP **************************************** 2025-11-17 18:50:50.730830 | image-builder : ok=44 changed=19 unreachable=0 failed=1 skipped=11 rescued=0 ignored=0 2025-11-17 18:50:50.730843 | 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-4751ae6cc68242b99c422e7173107fac -e raw_type=True Exit code: 2