No config file found; using defaults [WARNING]: No inventory was parsed, only implicit localhost is available [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' PLAY [Build a centos 9 cloud image suitable for Zuul] ************************** TASK [Gathering Facts] ********************************************************* ok: [localhost] TASK [discover-centos : Fail when release is not set] ************************** skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [discover-centos : Fail when composes is set to Centos 8 stream] ********** skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [discover-centos : tempfile] ********************************************** changed: [localhost] => {"changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible._5q7o67l", "size": 0, "state": "file", "uid": 0} TASK [discover-centos : file] ************************************************** changed: [localhost] => {"changed": true, "path": "/tmp/ansible._5q7o67l", "state": "absent"} TASK [discover-centos : Set proper url - stable] ******************************* ok: [localhost] => {"ansible_facts": {"mirror_url": "https://cloud.centos.org/centos/9-stream/x86_64/images"}, "changed": false} TASK [discover-centos : Set proper url - composes] ***************************** skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [discover-centos : Fetch publication page] ******************************** changed: [localhost] => {"changed": true, "checksum_dest": null, "checksum_src": "4236eba339ed42ac647263dbdf8ee238f4d87ec2", "dest": "/tmp/ansible._5q7o67l", "elapsed": 0, "gid": 0, "group": "root", "md5sum": "e911734edb1c11d66653c0d2579950e8", "mode": "0644", "msg": "OK (unknown bytes)", "owner": "root", "size": 161886, "src": "/root/.ansible/tmp/ansible-tmp-1764630370.3967805-71905-104546980289169/tmpicq2txi7", "state": "file", "status_code": 200, "uid": 0, "url": "https://cloud.centos.org/centos/9-stream/x86_64/images"} TASK [discover-centos : Find specified centos image version] ******************* skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [discover-centos : Find centos-9-stream qcow] ***************************** [WARNING]: Consider using the replace, lineinfile or template module rather than running 'sed'. If you need to use command because replace, lineinfile or template is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. changed: [localhost] => {"changed": true, "cmd": "sed -n \"/qcow2/ s/.*\\(CentOS-Stream-GenericCloud-9-.*\\)<\\/a>.*/\\1/p\" /tmp/ansible._5q7o67l | grep -v 'latest' | sort | grep -vEi 'md5sum|sha1sum|sha256sum' | tail -n1\n", "delta": "0:00:00.014893", "end": "2025-12-01 23:06:12.239982", "rc": 0, "start": "2025-12-01 23:06:12.225089", "stderr": "", "stderr_lines": [], "stdout": "CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2", "stdout_lines": ["CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2"]} TASK [discover-centos : Find checksum file url] ******************************** changed: [localhost] => {"changed": true, "cmd": "sed -n \"/SHA256SUM/ s/.*\\(CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2.SHA256SUM\\)<\\/a>.*/\\1/p\" /tmp/ansible._5q7o67l\n", "delta": "0:00:00.006412", "end": "2025-12-01 23:06:12.450960", "rc": 0, "start": "2025-12-01 23:06:12.444548", "stderr": "", "stderr_lines": [], "stdout": "CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2.SHA256SUM", "stdout_lines": ["CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2.SHA256SUM"]} TASK [discover-centos : set_fact] ********************************************** ok: [localhost] => {"ansible_facts": {"checksums_url": "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2.SHA256SUM"}, "changed": false} TASK [discover-centos : file] ************************************************** changed: [localhost] => {"changed": true, "path": "/tmp/ansible._5q7o67l", "state": "absent"} TASK [discover-centos : Fetch checksum file] *********************************** changed: [localhost] => {"changed": true, "checksum_dest": null, "checksum_src": "e17968ce5ecab26e1d00daf5f9cce5e7e7896b82", "dest": "/tmp/ansible._5q7o67l", "elapsed": 0, "gid": 0, "group": "root", "md5sum": "8ae76009fc3f65cdc41b3444683fd10d", "mode": "0644", "msg": "OK (202 bytes)", "owner": "root", "size": 202, "src": "/root/.ansible/tmp/ansible-tmp-1764630372.712515-71983-92852542537954/tmp20cfr5pd", "state": "file", "status_code": 200, "uid": 0, "url": "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2.SHA256SUM"} TASK [discover-centos : Find checksum] ***************************************** changed: [localhost] => {"changed": true, "cmd": "tail -n1 /tmp/ansible._5q7o67l | awk '{print $4}'\n", "delta": "0:00:00.031059", "end": "2025-12-01 23:06:13.365994", "rc": 0, "start": "2025-12-01 23:06:13.334935", "stderr": "", "stderr_lines": [], "stdout": "cf709981b10dfe242e60e940dc223ead527b393197ffd08c62633d570f7ab7d0", "stdout_lines": ["cf709981b10dfe242e60e940dc223ead527b393197ffd08c62633d570f7ab7d0"]} TASK [discover-centos : set_fact] ********************************************** ok: [localhost] => {"ansible_facts": {"image": "CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2", "image_checksum": "sha256:cf709981b10dfe242e60e940dc223ead527b393197ffd08c62633d570f7ab7d0", "image_url": "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2"}, "changed": false} TASK [discover-centos : debug] ************************************************* ok: [localhost] => { "msg": "Discovered image name: CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2\nDiscovered image_url: https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2\nDiscovered image_checksum: sha256:cf709981b10dfe242e60e940dc223ead527b393197ffd08c62633d570f7ab7d0\n" } TASK [base-appliance : Set appliance_archive] ********************************** ok: [localhost] => {"ansible_facts": {"appliance_archive": "/tmp/appliance-1.54.0.tar.xz"}, "changed": false} TASK [base-appliance : Set appliance_path] ************************************* ok: [localhost] => {"ansible_facts": {"appliance_path": "/tmp//tmp/appliance-1.54.0"}, "changed": false} TASK [base-appliance : Remove existing appliance directory to avoid error: virt-customize: error: libguestfs error: cannot find any suitable libguestfs supermin] *** changed: [localhost] => {"changed": true, "path": "/tmp//tmp/appliance-1.54.0", "state": "absent"} TASK [base-appliance : Ensure appliance_path exists] *************************** changed: [localhost] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/tmp//tmp/appliance-1.54.0", "size": 6, "state": "directory", "uid": 0} TASK [base-appliance : Download appliance] ************************************* ok: [localhost] => {"changed": false, "dest": "/tmp/appliance-1.54.0.tar.xz", "elapsed": 0, "gid": 0, "group": "root", "mode": "0644", "msg": "HTTP Error 304: Not Modified", "owner": "root", "size": 197794224, "state": "file", "uid": 0, "url": "https://download.libguestfs.org/binaries/appliance/appliance-1.54.0.tar.xz"} TASK [base-appliance : Unarchive appliance] ************************************ changed: [localhost] => {"changed": true, "dest": "/tmp//tmp/appliance-1.54.0", "extract_results": {"cmd": ["/bin/gtar", "--extract", "-C", "/tmp//tmp/appliance-1.54.0", "-f", "/root/.ansible/tmp/ansible-tmp-1764630374.9155862-72077-232022533176363/source"], "err": "", "out": "", "rc": 0}, "gid": 0, "group": "root", "handler": "TarArchive", "mode": "0755", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1764630374.9155862-72077-232022533176363/source", "state": "directory", "uid": 0} TASK [base-appliance : set_fact] *********************************************** ok: [localhost] => {"ansible_facts": {"virt_customize_env": {"LIBGUESTFS_BACKEND": "direct", "LIBGUESTFS_PATH": "/tmp//tmp/appliance-1.54.0/appliance"}}, "changed": false} TASK [base : assert] *********************************************************** ok: [localhost] => { "changed": false, "msg": "All assertions passed" } TASK [base : Set some runtime facts] ******************************************* ok: [localhost] => {"ansible_facts": {"image_cache_file": "/var/cache/nodepool/CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2", "image_tmp_dir": "/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e"}, "changed": false} TASK [base : Make sure cache directory exist] ********************************** ok: [localhost] => {"changed": false, "gid": 1002, "group": "1002", "mode": "0755", "owner": "1002", "path": "/var/cache/nodepool", "size": 8192, "state": "directory", "uid": 1002} TASK [base : Delete previous image cache] ************************************** skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [base : Check if image is already downloaded] ***************************** ok: [localhost] => {"changed": false, "stat": {"atime": 1764623040.9937782, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 3201160, "charset": "binary", "checksum": "b9d9dd517f0c2e45d7f2826074c4858abe04904d", "ctime": 1764623040.087751, "dev": 64545, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 113, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/octet-stream", "mode": "0644", "mtime": 1764623040.087751, "nlink": 1, "path": "/var/cache/nodepool/CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1638858752, "uid": 0, "version": "532540326", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false}} TASK [base : Download if checksum doesn't match] ******************************* skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [base : Extract the image if necessary] *********************************** ok: [localhost] => {"changed": false, "cmd": ["xz", "-k", "-d", "/var/cache/nodepool/CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2.xz"], "rc": 0, "stdout": "skipped, since /var/cache/nodepool/CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2 exists", "stdout_lines": ["skipped, since /var/cache/nodepool/CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2 exists"]} TASK [base : Run pre-update command if needed] ********************************* skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [base : Set custom kernel version] **************************************** skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [base : Exclude packages for being updated] ******************************* skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [base : Update the cache] ************************************************* changed: [localhost] => {"changed": true, "cmd": ["virt-customize", "-m", "2048", "-a", "/var/cache/nodepool/CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2", "--update"], "delta": "0:00:19.940932", "end": "2025-12-01 23:07:12.151648", "rc": 0, "start": "2025-12-01 23:06:52.210716", "stderr": "", "stderr_lines": [], "stdout": "[ 0.0] Examining the guest ...\n[ 13.7] Setting a random seed\n[ 13.7] Updating packages\n[ 19.7] Finishing off", "stdout_lines": ["[ 0.0] Examining the guest ...", "[ 13.7] Setting a random seed", "[ 13.7] Updating packages", "[ 19.7] Finishing off"]} TASK [base : Create tmp directory] ********************************************* changed: [localhost] => {"changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e", "size": 6, "state": "directory", "uid": 0} TASK [base : Set filename copy fact] ******************************************* ok: [localhost] => {"ansible_facts": {"image_file": "/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2"}, "changed": false} TASK [base : Copy the image] *************************************************** changed: [localhost] => {"changed": true, "checksum": "86ec234b954b8607573675169df8407c496f64de", "dest": "/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2", "gid": 0, "group": "root", "md5sum": "c03d4196d0f7542a103ca7b2dce2f520", "mode": "0644", "owner": "root", "size": 1638858752, "src": "/var/cache/nodepool/CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2", "state": "file", "uid": 0} TASK [Install base package and setup SELINUX] ********************************** ok: [localhost] => {"ansible_facts": {"virt_customize_cmd": ["virt-customize -m 2048 -a /var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2", "--selinux-relabel", "--install 'traceroute,iproute,git,rsync'", "--run-command 'sed -e s/^SELINUX=.*/SELINUX=enforcing/ -i /etc/selinux/config'"]}, "changed": false} TASK [sshd-config : Prepare sshd_config file] ********************************** changed: [localhost] => {"changed": true, "checksum": "426f750873a82338136ef9ff497829722a2a035c", "dest": "/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/sshd_config", "gid": 0, "group": "root", "md5sum": "0f47734e2af65faf089c7bb0a53ff448", "mode": "0644", "owner": "root", "size": 907, "src": "/root/.ansible/tmp/ansible-tmp-1764630438.4715729-72247-266481656230933/source", "state": "file", "uid": 0} TASK [sshd-config : set_fact] ************************************************** ok: [localhost] => {"ansible_facts": {"cmd": ["--copy-in '/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/sshd_config:/etc/ssh/'", "--chmod '0600:/etc/ssh/sshd_config'"]}, "changed": false} TASK [sshd-config : Generate ssh host keys] ************************************ skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [sshd-config : set_fact] ************************************************** ok: [localhost] => {"ansible_facts": {"virt_customize_cmd": ["virt-customize -m 2048 -a /var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/CentOS-Stream-GenericCloud-9-20251124.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 '/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/sshd_config:/etc/ssh/'", "--chmod '0600:/etc/ssh/sshd_config'"]}, "changed": false} TASK [network-config : set_fact] *********************************************** ok: [localhost] => {"ansible_facts": {"cmd": ["--append-line '/etc/sysctl.conf:net.ipv6.conf.all.disable_ipv6 = 1'", "--append-line '/etc/sysctl.conf:net.ipv6.conf.default.disable_ipv6 = 1'", "--append-line '/etc/sysconfig/network:IPV6INIT=no'", "--append-line '/etc/sysconfig/network:IPV6_AUTOCONF=no'", "--append-line '/etc/sysconfig/network:IPV6_DEFROUTE=no'", "--append-line '/etc/yum.conf:ip_resolve=4'"]}, "changed": false} TASK [network-config : set_fact] *********************************************** skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [network-config : set_fact] *********************************************** ok: [localhost] => {"ansible_facts": {"virt_customize_cmd": ["virt-customize -m 2048 -a /var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/CentOS-Stream-GenericCloud-9-20251124.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 '/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/sshd_config:/etc/ssh/'", "--chmod '0600:/etc/ssh/sshd_config'", "--append-line '/etc/sysctl.conf:net.ipv6.conf.all.disable_ipv6 = 1'", "--append-line '/etc/sysctl.conf:net.ipv6.conf.default.disable_ipv6 = 1'", "--append-line '/etc/sysconfig/network:IPV6INIT=no'", "--append-line '/etc/sysconfig/network:IPV6_AUTOCONF=no'", "--append-line '/etc/sysconfig/network:IPV6_DEFROUTE=no'", "--append-line '/etc/yum.conf:ip_resolve=4'"]}, "changed": false} TASK [zuul-user : Prepare the sudoers file] ************************************ changed: [localhost] => {"changed": true, "checksum": "bf0831556e9f0a8ed0d5520b424f992f590ea2e3", "dest": "/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/zuul", "gid": 0, "group": "root", "md5sum": "4dca5fc5ab85dbdfff30d6dde7c49c65", "mode": "0644", "owner": "root", "size": 87, "src": "/root/.ansible/tmp/ansible-tmp-1764630439.046183-72284-117504649756928/source", "state": "file", "uid": 0} TASK [zuul-user : Prepare the authorized_keys file] **************************** changed: [localhost] => {"changed": true, "checksum": "8a762e403cc4ed4e8498b801fcf57c967505132e", "dest": "/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/authorized_keys", "gid": 0, "group": "root", "md5sum": "0df0a4d0f345163e88e6dd96d3cb5f35", "mode": "0644", "owner": "root", "size": 395, "src": "/var/lib/nodepool/.ssh/zuul_rsa.pub", "state": "file", "uid": 0} TASK [zuul-user : set_fact] **************************************************** skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [zuul-user : set_fact] **************************************************** skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [zuul-user : set_fact] **************************************************** ok: [localhost] => {"ansible_facts": {"cmd": ["--run-command 'adduser -m zuul-worker'", "--mkdir '/home/zuul-worker/.ssh'", "--chmod '0700:/home/zuul-worker/.ssh'", "--copy-in '/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/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 '/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/zuul:/etc/sudoers.d/'", "--chmod '0440:/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'"]}, "changed": false} TASK [zuul-user : set_fact] **************************************************** ok: [localhost] => {"ansible_facts": {"virt_customize_cmd": ["virt-customize -m 2048 -a /var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/CentOS-Stream-GenericCloud-9-20251124.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 '/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/sshd_config:/etc/ssh/'", "--chmod '0600:/etc/ssh/sshd_config'", "--append-line '/etc/sysctl.conf:net.ipv6.conf.all.disable_ipv6 = 1'", "--append-line '/etc/sysctl.conf:net.ipv6.conf.default.disable_ipv6 = 1'", "--append-line '/etc/sysconfig/network:IPV6INIT=no'", "--append-line '/etc/sysconfig/network:IPV6_AUTOCONF=no'", "--append-line '/etc/sysconfig/network:IPV6_DEFROUTE=no'", "--append-line '/etc/yum.conf:ip_resolve=4'", "--run-command 'adduser -m zuul-worker'", "--mkdir '/home/zuul-worker/.ssh'", "--chmod '0700:/home/zuul-worker/.ssh'", "--copy-in '/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/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 '/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/zuul:/etc/sudoers.d/'", "--chmod '0440:/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'"]}, "changed": false} TASK [base-install-packages : set_fact] **************************************** ok: [localhost] => {"ansible_facts": {"cmd": ["--install 'traceroute,iproute,git,rsync,pigz,wget,unzip,redhat-rpm-config,rpm-build,rpm-sign,rpmlint,createrepo,gnupg2,expect,rpmdevtools,gcc,gcc-c++,make,patch,python3,python3-PyYAML,python3-devel,python3-libselinux,python3-netifaces,python3-six,epel-release,dnf-plugins-core'"]}, "changed": false} TASK [base-install-packages : set_fact] **************************************** ok: [localhost] => {"ansible_facts": {"virt_customize_cmd": ["virt-customize -m 2048 -a /var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/CentOS-Stream-GenericCloud-9-20251124.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 '/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/sshd_config:/etc/ssh/'", "--chmod '0600:/etc/ssh/sshd_config'", "--append-line '/etc/sysctl.conf:net.ipv6.conf.all.disable_ipv6 = 1'", "--append-line '/etc/sysctl.conf:net.ipv6.conf.default.disable_ipv6 = 1'", "--append-line '/etc/sysconfig/network:IPV6INIT=no'", "--append-line '/etc/sysconfig/network:IPV6_AUTOCONF=no'", "--append-line '/etc/sysconfig/network:IPV6_DEFROUTE=no'", "--append-line '/etc/yum.conf:ip_resolve=4'", "--run-command 'adduser -m zuul-worker'", "--mkdir '/home/zuul-worker/.ssh'", "--chmod '0700:/home/zuul-worker/.ssh'", "--copy-in '/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/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 '/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/zuul:/etc/sudoers.d/'", "--chmod '0440:/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,redhat-rpm-config,rpm-build,rpm-sign,rpmlint,createrepo,gnupg2,expect,rpmdevtools,gcc,gcc-c++,make,patch,python3,python3-PyYAML,python3-devel,python3-libselinux,python3-netifaces,python3-six,epel-release,dnf-plugins-core'"]}, "changed": false} TASK [dci-customize : set_fact] ************************************************ skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [dci-customize : set_fact] ************************************************ skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [dci-customize : set_fact] ************************************************ ok: [localhost] => {"ansible_facts": {"cmd": ["--install ansible,python3-pip,http-parser,inotify-tools,zeromq-devel,mock,npm,podman,podman-compose,buildah", "--install https://packages.distributed-ci.io/dci-release.el9.noarch.rpm,postgresql-server,libpq-devel", "--run-command 'pip3 install tox ansible-lint ansible-review cython'", "--run-command 'usermod -a -G mock zuul-worker'"]}, "changed": false} TASK [dci-customize : debug] *************************************************** ok: [localhost] => { "msg": "DCI adds: --install ansible,python3-pip,http-parser,inotify-tools,zeromq-devel,mock,npm,podman,podman-compose,buildah --install https://packages.distributed-ci.io/dci-release.el9.noarch.rpm,postgresql-server,libpq-devel --run-command 'pip3 install tox ansible-lint ansible-review cython' --run-command 'usermod -a -G mock zuul-worker'" } TASK [dci-customize : set_fact] ************************************************ ok: [localhost] => {"ansible_facts": {"virt_customize_cmd": ["virt-customize -m 2048 -a /var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/CentOS-Stream-GenericCloud-9-20251124.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 '/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/sshd_config:/etc/ssh/'", "--chmod '0600:/etc/ssh/sshd_config'", "--append-line '/etc/sysctl.conf:net.ipv6.conf.all.disable_ipv6 = 1'", "--append-line '/etc/sysctl.conf:net.ipv6.conf.default.disable_ipv6 = 1'", "--append-line '/etc/sysconfig/network:IPV6INIT=no'", "--append-line '/etc/sysconfig/network:IPV6_AUTOCONF=no'", "--append-line '/etc/sysconfig/network:IPV6_DEFROUTE=no'", "--append-line '/etc/yum.conf:ip_resolve=4'", "--run-command 'adduser -m zuul-worker'", "--mkdir '/home/zuul-worker/.ssh'", "--chmod '0700:/home/zuul-worker/.ssh'", "--copy-in '/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/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 '/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/zuul:/etc/sudoers.d/'", "--chmod '0440:/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,redhat-rpm-config,rpm-build,rpm-sign,rpmlint,createrepo,gnupg2,expect,rpmdevtools,gcc,gcc-c++,make,patch,python3,python3-PyYAML,python3-devel,python3-libselinux,python3-netifaces,python3-six,epel-release,dnf-plugins-core'", "--install ansible,python3-pip,http-parser,inotify-tools,zeromq-devel,mock,npm,podman,podman-compose,buildah", "--install https://packages.distributed-ci.io/dci-release.el9.noarch.rpm,postgresql-server,libpq-devel", "--run-command 'pip3 install tox ansible-lint ansible-review cython'", "--run-command 'usermod -a -G mock zuul-worker'"]}, "changed": false} TASK [base-customize : debug] ************************************************** ok: [localhost] => { "msg": "Running: virt-customize -m 2048 -a /var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/CentOS-Stream-GenericCloud-9-20251124.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 '/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/sshd_config:/etc/ssh/' --chmod '0600:/etc/ssh/sshd_config' --append-line '/etc/sysctl.conf:net.ipv6.conf.all.disable_ipv6 = 1' --append-line '/etc/sysctl.conf:net.ipv6.conf.default.disable_ipv6 = 1' --append-line '/etc/sysconfig/network:IPV6INIT=no' --append-line '/etc/sysconfig/network:IPV6_AUTOCONF=no' --append-line '/etc/sysconfig/network:IPV6_DEFROUTE=no' --append-line '/etc/yum.conf:ip_resolve=4' --run-command 'adduser -m zuul-worker' --mkdir '/home/zuul-worker/.ssh' --chmod '0700:/home/zuul-worker/.ssh' --copy-in '/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/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 '/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/zuul:/etc/sudoers.d/' --chmod '0440:/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,redhat-rpm-config,rpm-build,rpm-sign,rpmlint,createrepo,gnupg2,expect,rpmdevtools,gcc,gcc-c++,make,patch,python3,python3-PyYAML,python3-devel,python3-libselinux,python3-netifaces,python3-six,epel-release,dnf-plugins-core' --install ansible,python3-pip,http-parser,inotify-tools,zeromq-devel,mock,npm,podman,podman-compose,buildah --install https://packages.distributed-ci.io/dci-release.el9.noarch.rpm,postgresql-server,libpq-devel --run-command 'pip3 install tox ansible-lint ansible-review cython' --run-command 'usermod -a -G mock zuul-worker'" } TASK [base-customize : Run virt-customize] ************************************* changed: [localhost] => {"changed": true, "cmd": ["virt-customize", "-m", "2048", "-a", "/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/CentOS-Stream-GenericCloud-9-20251124.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", "/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/sshd_config:/etc/ssh/", "--chmod", "0600:/etc/ssh/sshd_config", "--append-line", "/etc/sysctl.conf:net.ipv6.conf.all.disable_ipv6 = 1", "--append-line", "/etc/sysctl.conf:net.ipv6.conf.default.disable_ipv6 = 1", "--append-line", "/etc/sysconfig/network:IPV6INIT=no", "--append-line", "/etc/sysconfig/network:IPV6_AUTOCONF=no", "--append-line", "/etc/sysconfig/network:IPV6_DEFROUTE=no", "--append-line", "/etc/yum.conf:ip_resolve=4", "--run-command", "adduser -m zuul-worker", "--mkdir", "/home/zuul-worker/.ssh", "--chmod", "0700:/home/zuul-worker/.ssh", "--copy-in", "/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/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", "/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/zuul:/etc/sudoers.d/", "--chmod", "0440:/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,redhat-rpm-config,rpm-build,rpm-sign,rpmlint,createrepo,gnupg2,expect,rpmdevtools,gcc,gcc-c++,make,patch,python3,python3-PyYAML,python3-devel,python3-libselinux,python3-netifaces,python3-six,epel-release,dnf-plugins-core", "--install", "ansible,python3-pip,http-parser,inotify-tools,zeromq-devel,mock,npm,podman,podman-compose,buildah", "--install", "https://packages.distributed-ci.io/dci-release.el9.noarch.rpm,postgresql-server,libpq-devel", "--run-command", "pip3 install tox ansible-lint ansible-review cython", "--run-command", "usermod -a -G mock zuul-worker"], "delta": "0:04:49.237775", "end": "2025-12-01 23:12:09.384368", "rc": 0, "start": "2025-12-01 23:07:20.146593", "stderr": "", "stderr_lines": [], "stdout": "[ 0.0] Examining the guest ...\n[ 14.2] Setting a random seed\n[ 14.3] Installing packages: traceroute iproute git rsync\n[ 32.6] Running: sed -e s/^SELINUX=.*/SELINUX=enforcing/ -i /etc/selinux/config\n[ 32.7] Copying: /var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/sshd_config to /etc/ssh/\n[ 32.7] Changing permissions of /etc/ssh/sshd_config to 0600\n[ 32.7] Appending line to /etc/sysctl.conf\n[ 32.7] Appending line to /etc/sysctl.conf\n[ 32.7] Appending line to /etc/sysconfig/network\n[ 32.7] Appending line to /etc/sysconfig/network\n[ 32.7] Appending line to /etc/sysconfig/network\n[ 32.7] Appending line to /etc/yum.conf\n[ 32.7] Running: adduser -m zuul-worker\n[ 32.9] Making directory: /home/zuul-worker/.ssh\n[ 32.9] Changing permissions of /home/zuul-worker/.ssh to 0700\n[ 32.9] Copying: /var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/authorized_keys to /home/zuul-worker/.ssh/\n[ 33.0] Changing permissions of /home/zuul-worker/.ssh/authorized_keys to 0600\n[ 33.0] Running: chown -R zuul-worker:zuul-worker /home/zuul-worker/.ssh/\n[ 33.1] Copying: /var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/zuul to /etc/sudoers.d/\n[ 33.1] Changing permissions of /etc/sudoers.d/zuul to 0440\n[ 33.1] Running: 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\n[ 33.2] Installing packages: traceroute iproute git rsync pigz wget unzip redhat-rpm-config rpm-build rpm-sign rpmlint createrepo gnupg2 expect rpmdevtools gcc gcc-c++ make patch python3 python3-PyYAML python3-devel python3-libselinux python3-netifaces python3-six epel-release dnf-plugins-core\n[ 93.0] Installing packages: ansible python3-pip http-parser inotify-tools zeromq-devel mock npm podman podman-compose buildah\n[ 215.1] Installing packages: https://packages.distributed-ci.io/dci-release.el9.noarch.rpm postgresql-server libpq-devel\n[ 222.5] Running: pip3 install tox ansible-lint ansible-review cython\n[ 238.3] Running: usermod -a -G mock zuul-worker\n[ 238.5] SELinux relabelling\n[ 288.7] Finishing off", "stdout_lines": ["[ 0.0] Examining the guest ...", "[ 14.2] Setting a random seed", "[ 14.3] Installing packages: traceroute iproute git rsync", "[ 32.6] Running: sed -e s/^SELINUX=.*/SELINUX=enforcing/ -i /etc/selinux/config", "[ 32.7] Copying: /var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/sshd_config to /etc/ssh/", "[ 32.7] Changing permissions of /etc/ssh/sshd_config to 0600", "[ 32.7] Appending line to /etc/sysctl.conf", "[ 32.7] Appending line to /etc/sysctl.conf", "[ 32.7] Appending line to /etc/sysconfig/network", "[ 32.7] Appending line to /etc/sysconfig/network", "[ 32.7] Appending line to /etc/sysconfig/network", "[ 32.7] Appending line to /etc/yum.conf", "[ 32.7] Running: adduser -m zuul-worker", "[ 32.9] Making directory: /home/zuul-worker/.ssh", "[ 32.9] Changing permissions of /home/zuul-worker/.ssh to 0700", "[ 32.9] Copying: /var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/authorized_keys to /home/zuul-worker/.ssh/", "[ 33.0] Changing permissions of /home/zuul-worker/.ssh/authorized_keys to 0600", "[ 33.0] Running: chown -R zuul-worker:zuul-worker /home/zuul-worker/.ssh/", "[ 33.1] Copying: /var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/zuul to /etc/sudoers.d/", "[ 33.1] Changing permissions of /etc/sudoers.d/zuul to 0440", "[ 33.1] Running: 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", "[ 33.2] Installing packages: traceroute iproute git rsync pigz wget unzip redhat-rpm-config rpm-build rpm-sign rpmlint createrepo gnupg2 expect rpmdevtools gcc gcc-c++ make patch python3 python3-PyYAML python3-devel python3-libselinux python3-netifaces python3-six epel-release dnf-plugins-core", "[ 93.0] Installing packages: ansible python3-pip http-parser inotify-tools zeromq-devel mock npm podman podman-compose buildah", "[ 215.1] Installing packages: https://packages.distributed-ci.io/dci-release.el9.noarch.rpm postgresql-server libpq-devel", "[ 222.5] Running: pip3 install tox ansible-lint ansible-review cython", "[ 238.3] Running: usermod -a -G mock zuul-worker", "[ 238.5] SELinux relabelling", "[ 288.7] Finishing off"]} TASK [base-finalize : Create raw file] ***************************************** changed: [localhost] => {"changed": true, "cmd": ["qemu-img", "convert", "-O", "raw", "/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e/CentOS-Stream-GenericCloud-9-20251124.0.x86_64.qcow2", "/var/lib/nodepool/dib/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e.raw"], "delta": "0:00:08.803761", "end": "2025-12-01 23:12:18.427966", "rc": 0, "start": "2025-12-01 23:12:09.624205", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [base-finalize : Create qcow file] **************************************** skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [base-cleanup : Remove tmp directory] ************************************* changed: [localhost] => {"changed": true, "path": "/var/tmp/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e", "state": "absent"} PLAY RECAP ********************************************************************* localhost : ok=48 changed=20 unreachable=0 failed=0 skipped=16 rescued=0 ignored=0 Running: sudo /usr/local/bin/ansible-playbook -v /etc/nodepool/virt_images/dci-centos-9.yaml -e image_output=/var/lib/nodepool/dib/dci-centos-9-a0c80d0010244293a9f4979feea0ff0e -e raw_type=True Exit code: 0