Using /etc/ansible/ansible.cfg as config file 2025-11-17 18:38:49.123286 | PLAY [Build a centos 10 cloud image suitable for Zuul] *** 2025-11-17 18:38:49.129655 | 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:38:51.080728 | TASK [discover-centos : Fail when release is not set] *** 2025-11-17 18:38:51.089450 | skipping: [image-builder] 2025-11-17 18:38:51.091639 | TASK [discover-centos : Fail when composes is set to Centos 8 stream] *** 2025-11-17 18:38:51.104597 | skipping: [image-builder] 2025-11-17 18:38:51.117933 | TASK [discover-centos : tempfile] ***************** 2025-11-17 18:38:52.149959 | changed: [image-builder] 2025-11-17 18:38:52.152601 | TASK [discover-centos : file] ********************* 2025-11-17 18:38:53.124500 | changed: [image-builder] 2025-11-17 18:38:53.127286 | TASK [discover-centos : Set proper url - stable] *** 2025-11-17 18:38:53.145621 | ok: [image-builder] 2025-11-17 18:38:53.147856 | TASK [discover-centos : Set proper url - composes] *** 2025-11-17 18:38:53.160532 | skipping: [image-builder] 2025-11-17 18:38:53.162743 | TASK [discover-centos : Fetch publication page] *** 2025-11-17 18:38:54.493953 | changed: [image-builder] 2025-11-17 18:38:54.496751 | TASK [discover-centos : Find specified centos image version] *** 2025-11-17 18:38:54.508619 | skipping: [image-builder] 2025-11-17 18:38:54.512529 | TASK [discover-centos : Find centos-10-stream qcow] *** 2025-11-17 18:38:55.532885 | changed: [image-builder] 2025-11-17 18:38:55.535567 | TASK [discover-centos : Find checksum file url] *** 2025-11-17 18:38:56.320254 | changed: [image-builder] 2025-11-17 18:38:56.322744 | TASK [discover-centos : set_fact] ***************** 2025-11-17 18:38:56.334540 | ok: [image-builder] 2025-11-17 18:38:56.336825 | TASK [discover-centos : file] ********************* 2025-11-17 18:38:57.058825 | changed: [image-builder] 2025-11-17 18:38:57.061370 | TASK [discover-centos : Fetch checksum file] ****** 2025-11-17 18:38:57.957473 | changed: [image-builder] 2025-11-17 18:38:57.959876 | TASK [discover-centos : Find checksum] ************ 2025-11-17 18:38:58.717612 | changed: [image-builder] 2025-11-17 18:38:58.720080 | TASK [discover-centos : set_fact] ***************** 2025-11-17 18:38:58.737489 | ok: [image-builder] 2025-11-17 18:38:58.740051 | TASK [discover-centos : debug] ******************** 2025-11-17 18:38:58.751979 | 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:38:58.755997 | TASK [base-appliance : Set appliance_archive] ***** 2025-11-17 18:38:58.822801 | ok: [image-builder] 2025-11-17 18:38:58.825113 | TASK [base-appliance : Set appliance_path] ******** 2025-11-17 18:38:58.841508 | ok: [image-builder] 2025-11-17 18:38:58.843814 | 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:38:59.585018 | changed: [image-builder] 2025-11-17 18:38:59.587524 | TASK [base-appliance : Ensure appliance_path exists] *** 2025-11-17 18:39:00.320710 | changed: [image-builder] 2025-11-17 18:39:00.323214 | TASK [base-appliance : Download appliance] ******** 2025-11-17 18:39:01.681333 | ok: [image-builder] 2025-11-17 18:39:01.684087 | TASK [base-appliance : Unarchive appliance] ******* 2025-11-17 18:39:50.751660 | changed: [image-builder] 2025-11-17 18:39:50.756530 | TASK [base-appliance : set_fact] ****************** 2025-11-17 18:39:50.768583 | ok: [image-builder] 2025-11-17 18:39:50.772995 | TASK [base : assert] ****************************** 2025-11-17 18:39:50.790268 | ok: [image-builder] => { "changed": false, "msg": "All assertions passed" } 2025-11-17 18:39:50.792856 | TASK [base : Set some runtime facts] ************** 2025-11-17 18:39:50.833326 | ok: [image-builder] 2025-11-17 18:39:50.835688 | TASK [base : Make sure cache directory exist] ***** 2025-11-17 18:39:51.573058 | ok: [image-builder] 2025-11-17 18:39:51.575620 | TASK [base : Delete previous image cache] ********* 2025-11-17 18:39:51.583396 | skipping: [image-builder] 2025-11-17 18:39:51.585671 | TASK [base : Check if image is already downloaded] *** 2025-11-17 18:39:56.559023 | ok: [image-builder] 2025-11-17 18:39:56.561567 | TASK [base : Download if checksum doesn't match] *** 2025-11-17 18:39:56.569510 | skipping: [image-builder] 2025-11-17 18:39:56.571900 | TASK [base : Extract the image if necessary] ****** 2025-11-17 18:39:57.364033 | ok: [image-builder] 2025-11-17 18:39:57.366466 | TASK [base : Run pre-update command if needed] **** 2025-11-17 18:40:35.342885 | changed: [image-builder] 2025-11-17 18:40:35.345360 | TASK [base : Update the cache] ******************** 2025-11-17 18:41:12.685311 | changed: [image-builder] 2025-11-17 18:41:12.690993 | TASK [base : Create tmp directory] **************** 2025-11-17 18:41:13.481481 | changed: [image-builder] 2025-11-17 18:41:13.483995 | TASK [base : Set filename copy fact] ************** 2025-11-17 18:41:13.502324 | ok: [image-builder] 2025-11-17 18:41:13.505147 | TASK [base : Copy the image] ********************** 2025-11-17 18:41:29.153291 | changed: [image-builder] 2025-11-17 18:41:29.155829 | TASK [base : set_fact] **************************** 2025-11-17 18:41:29.176343 | ok: [image-builder] 2025-11-17 18:41:29.180704 | TASK [sshd-config : Prepare sshd_config file] ***** 2025-11-17 18:41:30.791496 | changed: [image-builder] 2025-11-17 18:41:30.793943 | TASK [sshd-config : set_fact] ********************* 2025-11-17 18:41:30.805773 | ok: [image-builder] 2025-11-17 18:41:30.808008 | TASK [sshd-config : Generate ssh host keys] ******* 2025-11-17 18:41:30.820901 | skipping: [image-builder] 2025-11-17 18:41:30.823065 | TASK [sshd-config : set_fact] ********************* 2025-11-17 18:41:30.839404 | ok: [image-builder] 2025-11-17 18:41:30.843433 | TASK [zuul-user : Prepare the sudoers file] ******* 2025-11-17 18:41:32.425990 | changed: [image-builder] 2025-11-17 18:41:32.428972 | TASK [zuul-user : Prepare the authorized_keys file] *** 2025-11-17 18:41:33.962844 | changed: [image-builder] 2025-11-17 18:41:33.965352 | TASK [zuul-user : Prepare the authorized_keys file] *** 2025-11-17 18:41:33.973419 | skipping: [image-builder] 2025-11-17 18:41:33.975625 | TASK [zuul-user : set_fact] *********************** 2025-11-17 18:41:33.982949 | skipping: [image-builder] 2025-11-17 18:41:33.985052 | TASK [zuul-user : set_fact] *********************** 2025-11-17 18:41:33.992372 | skipping: [image-builder] 2025-11-17 18:41:33.994563 | TASK [zuul-user : set_fact] *********************** 2025-11-17 18:41:34.030727 | ok: [image-builder] 2025-11-17 18:41:34.033356 | TASK [zuul-user : set_fact] *********************** 2025-11-17 18:41:34.045276 | ok: [image-builder] 2025-11-17 18:41:34.049450 | TASK [base-install-packages : set_fact] *********** 2025-11-17 18:41:34.126849 | ok: [image-builder] 2025-11-17 18:41:34.131111 | TASK [base-install-packages : set_fact] *********** 2025-11-17 18:41:34.143619 | ok: [image-builder] 2025-11-17 18:41:34.147571 | TASK [network-config : set_fact] ****************** 2025-11-17 18:41:34.160342 | skipping: [image-builder] 2025-11-17 18:41:34.217753 | TASK [network-config : set_fact] ****************** 2025-11-17 18:41:34.235337 | ok: [image-builder] 2025-11-17 18:41:34.242664 | TASK [network-config : set_fact] ****************** 2025-11-17 18:41:34.260112 | ok: [image-builder] 2025-11-17 18:41:34.265172 | TASK [base-customize : debug] ********************* 2025-11-17 18:41:34.329129 | ok: [image-builder] => { "msg": "Running: virt-customize -m 2048 -a /home/zuul/build/cache/tmp/cloud-centos-10-6b4bf93a79004e128be68c3d737a2219/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-6b4bf93a79004e128be68c3d737a2219/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-6b4bf93a79004e128be68c3d737a2219/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-6b4bf93a79004e128be68c3d737a2219/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:41:34.331821 | 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:42:51.931001 | TASK [base-cleanup : Remove tmp directory] ******** 2025-11-17 18:42:53.026291 | changed: [image-builder] 2025-11-17 18:42:53.030329 | PLAY RECAP **************************************** 2025-11-17 18:42:53.030363 | image-builder : ok=44 changed=19 unreachable=0 failed=1 skipped=11 rescued=0 ignored=0 2025-11-17 18:42:53.030376 | 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-6b4bf93a79004e128be68c3d737a2219 -e raw_type=True Exit code: 2