Using /etc/ansible/ansible.cfg as config file 2025-11-17 19:06:47.887292 | PLAY [Build a centos 10 cloud image suitable for Zuul] *** 2025-11-17 19:06:47.894086 | 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:06:50.047649 | TASK [discover-centos : Fail when release is not set] *** 2025-11-17 19:06:50.056578 | skipping: [image-builder] 2025-11-17 19:06:50.058837 | TASK [discover-centos : Fail when composes is set to Centos 8 stream] *** 2025-11-17 19:06:50.072664 | skipping: [image-builder] 2025-11-17 19:06:50.075009 | TASK [discover-centos : tempfile] ***************** 2025-11-17 19:06:51.105731 | changed: [image-builder] 2025-11-17 19:06:51.108350 | TASK [discover-centos : file] ********************* 2025-11-17 19:06:52.117265 | changed: [image-builder] 2025-11-17 19:06:52.120067 | TASK [discover-centos : Set proper url - stable] *** 2025-11-17 19:06:52.139560 | ok: [image-builder] 2025-11-17 19:06:52.141891 | TASK [discover-centos : Set proper url - composes] *** 2025-11-17 19:06:52.155232 | skipping: [image-builder] 2025-11-17 19:06:52.157460 | TASK [discover-centos : Fetch publication page] *** 2025-11-17 19:06:54.283720 | changed: [image-builder] 2025-11-17 19:06:54.286568 | TASK [discover-centos : Find specified centos image version] *** 2025-11-17 19:06:54.298544 | skipping: [image-builder] 2025-11-17 19:06:54.302712 | TASK [discover-centos : Find centos-10-stream qcow] *** 2025-11-17 19:06:55.320404 | changed: [image-builder] 2025-11-17 19:06:55.322905 | TASK [discover-centos : Find checksum file url] *** 2025-11-17 19:06:56.085636 | changed: [image-builder] 2025-11-17 19:06:56.089501 | TASK [discover-centos : set_fact] ***************** 2025-11-17 19:06:56.101491 | ok: [image-builder] 2025-11-17 19:06:56.105125 | TASK [discover-centos : file] ********************* 2025-11-17 19:06:56.797934 | changed: [image-builder] 2025-11-17 19:06:56.800448 | TASK [discover-centos : Fetch checksum file] ****** 2025-11-17 19:06:57.959974 | changed: [image-builder] 2025-11-17 19:06:57.962425 | TASK [discover-centos : Find checksum] ************ 2025-11-17 19:06:58.727381 | changed: [image-builder] 2025-11-17 19:06:58.729854 | TASK [discover-centos : set_fact] ***************** 2025-11-17 19:06:58.747046 | ok: [image-builder] 2025-11-17 19:06:58.749662 | TASK [discover-centos : debug] ******************** 2025-11-17 19:06:58.761539 | 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:06:58.765577 | TASK [base-appliance : Set appliance_archive] ***** 2025-11-17 19:06:58.829545 | ok: [image-builder] 2025-11-17 19:06:58.831958 | TASK [base-appliance : Set appliance_path] ******** 2025-11-17 19:06:58.848951 | ok: [image-builder] 2025-11-17 19:06:58.851266 | 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:06:59.619206 | changed: [image-builder] 2025-11-17 19:06:59.621671 | TASK [base-appliance : Ensure appliance_path exists] *** 2025-11-17 19:07:00.383576 | changed: [image-builder] 2025-11-17 19:07:00.386050 | TASK [base-appliance : Download appliance] ******** 2025-11-17 19:07:01.611388 | ok: [image-builder] 2025-11-17 19:07:01.614071 | TASK [base-appliance : Unarchive appliance] ******* 2025-11-17 19:07:35.643796 | changed: [image-builder] 2025-11-17 19:07:35.646375 | TASK [base-appliance : set_fact] ****************** 2025-11-17 19:07:35.658681 | ok: [image-builder] 2025-11-17 19:07:35.663301 | TASK [base : assert] ****************************** 2025-11-17 19:07:35.681426 | ok: [image-builder] => { "changed": false, "msg": "All assertions passed" } 2025-11-17 19:07:35.719082 | TASK [base : Set some runtime facts] ************** 2025-11-17 19:07:35.736795 | ok: [image-builder] 2025-11-17 19:07:35.739313 | TASK [base : Make sure cache directory exist] ***** 2025-11-17 19:07:36.498047 | ok: [image-builder] 2025-11-17 19:07:36.500569 | TASK [base : Delete previous image cache] ********* 2025-11-17 19:07:36.508606 | skipping: [image-builder] 2025-11-17 19:07:36.510929 | TASK [base : Check if image is already downloaded] *** 2025-11-17 19:07:41.635978 | ok: [image-builder] 2025-11-17 19:07:41.638559 | TASK [base : Download if checksum doesn't match] *** 2025-11-17 19:07:41.646422 | skipping: [image-builder] 2025-11-17 19:07:41.648774 | TASK [base : Extract the image if necessary] ****** 2025-11-17 19:07:42.441770 | ok: [image-builder] 2025-11-17 19:07:42.444252 | TASK [base : Run pre-update command if needed] **** 2025-11-17 19:08:18.108561 | changed: [image-builder] 2025-11-17 19:08:18.112977 | TASK [base : Update the cache] ******************** 2025-11-17 19:08:55.894687 | changed: [image-builder] 2025-11-17 19:08:55.899849 | TASK [base : Create tmp directory] **************** 2025-11-17 19:08:56.661374 | changed: [image-builder] 2025-11-17 19:08:56.663842 | TASK [base : Set filename copy fact] ************** 2025-11-17 19:08:56.680988 | ok: [image-builder] 2025-11-17 19:08:56.683911 | TASK [base : Copy the image] ********************** 2025-11-17 19:09:12.443399 | changed: [image-builder] 2025-11-17 19:09:12.445985 | TASK [base : set_fact] **************************** 2025-11-17 19:09:12.467150 | ok: [image-builder] 2025-11-17 19:09:12.471723 | TASK [sshd-config : Prepare sshd_config file] ***** 2025-11-17 19:09:14.052624 | changed: [image-builder] 2025-11-17 19:09:14.055072 | TASK [sshd-config : set_fact] ********************* 2025-11-17 19:09:14.066867 | ok: [image-builder] 2025-11-17 19:09:14.069102 | TASK [sshd-config : Generate ssh host keys] ******* 2025-11-17 19:09:14.082102 | skipping: [image-builder] 2025-11-17 19:09:14.084234 | TASK [sshd-config : set_fact] ********************* 2025-11-17 19:09:14.129322 | ok: [image-builder] 2025-11-17 19:09:14.133547 | TASK [zuul-user : Prepare the sudoers file] ******* 2025-11-17 19:09:15.679109 | changed: [image-builder] 2025-11-17 19:09:15.682090 | TASK [zuul-user : Prepare the authorized_keys file] *** 2025-11-17 19:09:17.189453 | changed: [image-builder] 2025-11-17 19:09:17.191878 | TASK [zuul-user : Prepare the authorized_keys file] *** 2025-11-17 19:09:17.199781 | skipping: [image-builder] 2025-11-17 19:09:17.201992 | TASK [zuul-user : set_fact] *********************** 2025-11-17 19:09:17.209431 | skipping: [image-builder] 2025-11-17 19:09:17.211533 | TASK [zuul-user : set_fact] *********************** 2025-11-17 19:09:17.218792 | skipping: [image-builder] 2025-11-17 19:09:17.220880 | TASK [zuul-user : set_fact] *********************** 2025-11-17 19:09:17.235606 | ok: [image-builder] 2025-11-17 19:09:17.237743 | TASK [zuul-user : set_fact] *********************** 2025-11-17 19:09:17.248790 | ok: [image-builder] 2025-11-17 19:09:17.252804 | TASK [base-install-packages : set_fact] *********** 2025-11-17 19:09:17.324988 | ok: [image-builder] 2025-11-17 19:09:17.327885 | TASK [base-install-packages : set_fact] *********** 2025-11-17 19:09:17.340032 | ok: [image-builder] 2025-11-17 19:09:17.344129 | TASK [network-config : set_fact] ****************** 2025-11-17 19:09:17.357280 | skipping: [image-builder] 2025-11-17 19:09:17.359426 | TASK [network-config : set_fact] ****************** 2025-11-17 19:09:17.432064 | ok: [image-builder] 2025-11-17 19:09:17.438633 | TASK [network-config : set_fact] ****************** 2025-11-17 19:09:17.455678 | ok: [image-builder] 2025-11-17 19:09:17.460710 | TASK [base-customize : debug] ********************* 2025-11-17 19:09:17.524755 | ok: [image-builder] => { "msg": "Running: virt-customize -m 2048 -a /home/zuul/build/cache/tmp/cloud-centos-10-9c7bb48a0505453a89b9cdc9948b7922/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-9c7bb48a0505453a89b9cdc9948b7922/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-9c7bb48a0505453a89b9cdc9948b7922/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-9c7bb48a0505453a89b9cdc9948b7922/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:09:17.527466 | 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:10:40.801038 | TASK [base-cleanup : Remove tmp directory] ******** 2025-11-17 19:10:41.952924 | changed: [image-builder] 2025-11-17 19:10:41.957289 | PLAY RECAP **************************************** 2025-11-17 19:10:41.957326 | image-builder : ok=44 changed=19 unreachable=0 failed=1 skipped=11 rescued=0 ignored=0 2025-11-17 19:10:41.957339 | 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-9c7bb48a0505453a89b9cdc9948b7922 -e raw_type=True Exit code: 2