Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Alma 9 #91

Merged
merged 5 commits into from
Aug 30, 2024
Merged

Add Alma 9 #91

merged 5 commits into from
Aug 30, 2024

Conversation

sebastian-luna-valero
Copy link
Member

Summary

This config is based on:


Related issues : #54 #68

Copy link

Build status: success

Build log
VM is d8d5de41-d4ff-4adb-8820-d82adb8efb12
status: done
/var/tmp/egi/alma /var/tmp/egi
Generating public/private ed25519 key pair.
Your identification has been saved in /tmp/tmp.leu10pKwzg/key
Your public key has been saved in /tmp/tmp.leu10pKwzg/key.pub
The key fingerprint is:
SHA256:KS3EdR6L2wb87GqtNS/CYEOo30d/SCzqiVmbPnW/k1w root@builder
The key's randomart image is:
+--[ED25519 256]--+
|        . o      |
|     . o + o     |
|     .o + o      |
|    .... B       |
|   . .o S.=      |
|  .   +o+o+   E  |
|   . o.B *++ o   |
|    .+++=o=o*    |
|    oo*+oo ooo   |
+----[SHA256]-----+
�[1;32mqemu.alma_9: output will be in this color.�[0m

�[1;32m==> qemu.alma_9: Retrieving ISO�[0m
�[1;32m==> qemu.alma_9: Trying https://repo.almalinux.org/almalinux/9/isos/x86_64/AlmaLinux-9-latest-x86_64-boot.iso�[0m
�[1;32m==> qemu.alma_9: Trying https://repo.almalinux.org/almalinux/9/isos/x86_64/AlmaLinux-9-latest-x86_64-boot.iso?checksum=sha256%3A1e5d7da3d84d5d9a5a1177858a5df21b868390bfccf7f0f419b1e59acc293160�[0m
�[1;32m==> qemu.alma_9: https://repo.almalinux.org/almalinux/9/isos/x86_64/AlmaLinux-9-latest-x86_64-boot.iso?checksum=sha256%3A1e5d7da3d84d5d9a5a1177858a5df21b868390bfccf7f0f419b1e59acc293160 => /var/tmp/egi/alma/.cache/packer/9b4d7940c6ae1c1ec0efddaf6407216fea977949.iso�[0m
�[1;32m==> qemu.alma_9: Starting HTTP server on port 8545�[0m
�[1;32m==> qemu.alma_9: Found port for communicator (SSH, WinRM, etc): 2589.�[0m
�[1;32m==> qemu.alma_9: Using existing SSH private key�[0m
�[1;32m==> qemu.alma_9: Looking for available port between 5900 and 6000 on 127.0.0.1�[0m
�[1;32m==> qemu.alma_9: Starting VM, booting from CD-ROM�[0m
�[0;32m    qemu.alma_9: The VM will be run headless, without a GUI. If you want to
    qemu.alma_9: view the screen of the VM, connect via VNC without a password to
    qemu.alma_9: vnc://127.0.0.1:5905�[0m
�[1;32m==> qemu.alma_9: Overriding default Qemu arguments with qemuargs template option...�[0m
�[1;32m==> qemu.alma_9: Waiting 3s for boot...�[0m
�[1;32m==> qemu.alma_9: Connecting to VM via VNC (127.0.0.1:5905)�[0m
�[1;32m==> qemu.alma_9: Typing the boot commands over VNC...�[0m
�[0;32m    qemu.alma_9: Not using a NetBridge -- skipping StepWaitGuestAddress�[0m
�[1;32m==> qemu.alma_9: Using SSH communicator to connect: 127.0.0.1�[0m
�[1;32m==> qemu.alma_9: Waiting for SSH to become available...�[0m
�[1;32m==> qemu.alma_9: Connected to SSH!�[0m
�[1;32m==> qemu.alma_9: Provisioning with Ansible...�[0m
�[0;32m    qemu.alma_9: Not using Proxy adapter for Ansible run:
    qemu.alma_9: 	Using ssh keys from Packer communicator...�[0m
�[1;32m==> qemu.alma_9: Executing Ansible: ansible-playbook -e packer_build_name="alma_9" -e packer_builder_type=qemu -e packer_http_addr=10.0.2.2:8545 --ssh-extra-args '-o IdentitiesOnly=yes' -e ansible_ssh_private_key_file=/tmp/tmp.leu10pKwzg/key -i /tmp/packer-provisioner-ansible2559962028 /var/tmp/egi/alma/provisioners/config.yml�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: PLAY [AlmaLinux Generic Cloud] *************************************************�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [Gathering Facts] *********************************************************�[0m
�[0;32m    qemu.alma_9: ok: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cloud_init : Install cloud-init] *****************************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cloud_init : Enable cloud-init services] *********************************�[0m
�[0;32m    qemu.alma_9: ok: [default] => (item=cloud-config)�[0m
�[0;32m    qemu.alma_9: ok: [default] => (item=cloud-init)�[0m
�[0;32m    qemu.alma_9: ok: [default] => (item=cloud-init-local)�[0m
�[0;32m    qemu.alma_9: ok: [default] => (item=cloud-final)�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cloud_init : Create fedcloud config] *************************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [qemu_guest : Install qemu-guest-agent and rsync] *************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [config_vm : Configure /etc/sysconfig/network] ****************************�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=NETWORKING=yes)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=NOZEROCONF=yes)�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [config_vm : Enable xen drivers in dracut] ********************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [config_vm : Upgrade initramfs] *******************************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [config_vm : Regenerate the initramfs] ************************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [config_vm : Disable root login] ******************************************�[0m
�[0;32m    qemu.alma_9: [WARNING]: The input password appears not to have been hashed. The 'password'�[0m
�[0;32m    qemu.alma_9: argument must be encrypted for this module to work properly.�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Remove old kernels] *****************************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Delete DNF cache] *******************************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Find DNF history files] *************************************�[0m
�[0;32m    qemu.alma_9: ok: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Reset DNF history] ******************************************�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/lib/dnf/history.sqlite)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/lib/dnf/history.sqlite-shm)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/lib/dnf/history.sqlite-wal)�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Find temporary files] ***************************************�[0m
�[0;32m    qemu.alma_9: ok: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Remove temporary files] *************************************�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/tmp/systemd-private-1a0af309b2a54ce69b516fcf1ff51b19-systemd-logind.service-I0jdvh)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/tmp/systemd-private-1a0af309b2a54ce69b516fcf1ff51b19-chronyd.service-GWNT2j)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/tmp/systemd-private-1a0af309b2a54ce69b516fcf1ff51b19-dbus-broker.service-mHyH2N)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/tmp/systemd-private-1a0af309b2a54ce69b516fcf1ff51b19-kdump.service-suyvwV)�[0m
�[0;32m    qemu.alma_9: ok: [default] => (item=/tmp/ansible_find_payload_y9ooaxwz)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/tmp/systemd-private-1a0af309b2a54ce69b516fcf1ff51b19-dbus-broker.service-0jEqY9)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/tmp/systemd-private-1a0af309b2a54ce69b516fcf1ff51b19-systemd-logind.service-YfQeva)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/tmp/systemd-private-1a0af309b2a54ce69b516fcf1ff51b19-chronyd.service-rPGUw1)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/tmp/systemd-private-1a0af309b2a54ce69b516fcf1ff51b19-kdump.service-1k02w2)�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Find SSH host keys] *****************************************�[0m
�[0;32m    qemu.alma_9: ok: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Remove SSH host keys] ***************************************�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/etc/ssh/ssh_host_ed25519_key)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/etc/ssh/ssh_host_ed25519_key.pub)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/etc/ssh/ssh_host_rsa_key.pub)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/etc/ssh/ssh_host_rsa_key)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/etc/ssh/ssh_host_ecdsa_key.pub)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/etc/ssh/ssh_host_ecdsa_key)�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Remove kickstart files] *************************************�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/root/anaconda-ks.cfg)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/root/original-ks.cfg)�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Truncate files] *********************************************�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/etc/machine-id)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/etc/resolv.conf)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/audit/audit.log)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/wtmp)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/lastlog)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/btmp)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/cron)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/maillog)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/messages)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/secure)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/spooler)�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Remove log folders.] ****************************************�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/anaconda)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/qemu-ga)�[0m
�[0;32m    qemu.alma_9: ok: [default] => (item=/var/log/tuned)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/lib/cloud)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/etc/hostname)�[0m
�[0;32m    qemu.alma_9: ok: [default] => (item=/etc/machine-info)�[0m
�[0;32m    qemu.alma_9: ok: [default] => (item=/var/lib/systemd/credential.secret)�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Find log files.] ********************************************�[0m
�[0;32m    qemu.alma_9: ok: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Remove log files] *******************************************�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/tallylog)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/dnf.librepo.log)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/dnf.rpm.log)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/kdump.log)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/lastlog)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/maillog)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/dnf.log)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/hawkey.log)�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Remove random-seed] *****************************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Disable root SSH login via password] ************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Fill free space with zeroes] ********************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Detect swap partition] **************************************�[0m
�[0;32m    qemu.alma_9: fatal: [default]: FAILED! => {"changed": true, "cmd": ["grep", "-oP", "^/dev/[\w-]+", "/proc/swaps"], "delta": "0:00:00.003809", "end": "2024-08-30 09:11:21.354411", "msg": "non-zero return code", "rc": 1, "start": "2024-08-30 09:11:21.350602", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}�[0m
�[0;32m    qemu.alma_9: ...ignoring�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Get swap partition UUID] ************************************�[0m
�[0;32m    qemu.alma_9: skipping: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Unmount swap partition] *************************************�[0m
�[0;32m    qemu.alma_9: skipping: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Fill swap partition with zeroes] ****************************�[0m
�[0;32m    qemu.alma_9: skipping: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Format swap partition] **************************************�[0m
�[0;32m    qemu.alma_9: skipping: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Mount swap partition] ***************************************�[0m
�[0;32m    qemu.alma_9: skipping: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Sync disc] **************************************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Clear shell history] ****************************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Check if WALinuxAgent is installed] *************************�[0m
�[0;32m    qemu.alma_9: ok: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Deprovision WALinuxAgent] ***********************************�[0m
�[0;32m    qemu.alma_9: skipping: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: PLAY RECAP *********************************************************************�[0m
�[0;32m    qemu.alma_9: default                    : ok=30   changed=23   unreachable=0    failed=0    skipped=6    rescued=0    ignored=1�[0m
�[0;32m    qemu.alma_9:�[0m
�[1;32m==> qemu.alma_9: Provisioning with shell script: provisioners/cleanup.sh�[0m
�[1;31m==> qemu.alma_9: + sudo rm -fr '/home/*/.ssh' '/home/*/.ansible' '/home/*/.cache'�[0m
�[1;31m==> qemu.alma_9: + sudo rm -fr /root/.ssh /root/.ansible /root/.cache�[0m
�[1;31m==> qemu.alma_9: + sudo rm -fr '/root/~*'�[0m
�[1;32m==> qemu.alma_9: Gracefully halting virtual machine...�[0m
�[1;32m==> qemu.alma_9: Converting hard drive...�[0m
�[1;32mBuild 'qemu.alma_9' finished after 11 minutes 39 seconds.�[0m

==> Wait completed after 11 minutes 39 seconds

==> Builds finished. The artifacts of successful builds are:
--> qemu.alma_9: VM files in directory: output-alma_9
SUCCESSFUL BUILD - alma.9-2024.08.29.qcow2 - 4c92810eeaf85568b4e1adeeb22e069ed35dea1ba252b0878dabe7751d388ba9cc83c96728ffaf072a9f43adefcf6be9a73c3d45aebf631d7c8a534ab8345583
BUILD ENDED
*Pusher: @sebastian-luna-valero, Action: `pull_request`*

Copy link

Build status: success

Build log
VM is c616a695-7a11-4d3e-a835-aa944d492d91
status: done
/var/tmp/egi/alma /var/tmp/egi
Generating public/private ed25519 key pair.
Your identification has been saved in /tmp/tmp.q1iWiAB7OT/key
Your public key has been saved in /tmp/tmp.q1iWiAB7OT/key.pub
The key fingerprint is:
SHA256:JwB0gqMyAw8EYH5IEnSbrWEcOb8MnytywYOyMYzhvuA root@builder
The key's randomart image is:
+--[ED25519 256]--+
|X* == .          |
|B *o=+           |
|.* Oo..          |
|* +.o. .         |
|=+o.+ o S .      |
|=+ + =   o       |
|++  o .          |
|+o o .           |
| E+ .            |
+----[SHA256]-----+
�[1;32mqemu.alma_9: output will be in this color.�[0m

�[1;32m==> qemu.alma_9: Retrieving ISO�[0m
�[1;32m==> qemu.alma_9: Trying https://repo.almalinux.org/almalinux/9/isos/x86_64/AlmaLinux-9-latest-x86_64-boot.iso�[0m
�[1;32m==> qemu.alma_9: Trying https://repo.almalinux.org/almalinux/9/isos/x86_64/AlmaLinux-9-latest-x86_64-boot.iso?checksum=sha256%3A1e5d7da3d84d5d9a5a1177858a5df21b868390bfccf7f0f419b1e59acc293160�[0m
�[1;32m==> qemu.alma_9: https://repo.almalinux.org/almalinux/9/isos/x86_64/AlmaLinux-9-latest-x86_64-boot.iso?checksum=sha256%3A1e5d7da3d84d5d9a5a1177858a5df21b868390bfccf7f0f419b1e59acc293160 => /var/tmp/egi/alma/.cache/packer/9b4d7940c6ae1c1ec0efddaf6407216fea977949.iso�[0m
�[1;32m==> qemu.alma_9: Starting HTTP server on port 8546�[0m
�[1;32m==> qemu.alma_9: Found port for communicator (SSH, WinRM, etc): 4259.�[0m
�[1;32m==> qemu.alma_9: Using existing SSH private key�[0m
�[1;32m==> qemu.alma_9: Looking for available port between 5900 and 6000 on 127.0.0.1�[0m
�[1;32m==> qemu.alma_9: Starting VM, booting from CD-ROM�[0m
�[0;32m    qemu.alma_9: The VM will be run headless, without a GUI. If you want to
    qemu.alma_9: view the screen of the VM, connect via VNC without a password to
    qemu.alma_9: vnc://127.0.0.1:5991�[0m
�[1;32m==> qemu.alma_9: Overriding default Qemu arguments with qemuargs template option...�[0m
�[1;32m==> qemu.alma_9: Waiting 3s for boot...�[0m
�[1;32m==> qemu.alma_9: Connecting to VM via VNC (127.0.0.1:5991)�[0m
�[1;32m==> qemu.alma_9: Typing the boot commands over VNC...�[0m
�[0;32m    qemu.alma_9: Not using a NetBridge -- skipping StepWaitGuestAddress�[0m
�[1;32m==> qemu.alma_9: Using SSH communicator to connect: 127.0.0.1�[0m
�[1;32m==> qemu.alma_9: Waiting for SSH to become available...�[0m
�[1;32m==> qemu.alma_9: Connected to SSH!�[0m
�[1;32m==> qemu.alma_9: Provisioning with Ansible...�[0m
�[0;32m    qemu.alma_9: Not using Proxy adapter for Ansible run:
    qemu.alma_9: 	Using ssh keys from Packer communicator...�[0m
�[1;32m==> qemu.alma_9: Executing Ansible: ansible-playbook -e packer_build_name="alma_9" -e packer_builder_type=qemu -e packer_http_addr=10.0.2.2:8546 --ssh-extra-args '-o IdentitiesOnly=yes' -e ansible_ssh_private_key_file=/tmp/tmp.q1iWiAB7OT/key -i /tmp/packer-provisioner-ansible97559900 /var/tmp/egi/alma/provisioners/config.yml�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: PLAY [AlmaLinux Generic Cloud] *************************************************�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [Gathering Facts] *********************************************************�[0m
�[0;32m    qemu.alma_9: ok: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cloud_init : Install cloud-init] *****************************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cloud_init : Enable cloud-init services] *********************************�[0m
�[0;32m    qemu.alma_9: ok: [default] => (item=cloud-config)�[0m
�[0;32m    qemu.alma_9: ok: [default] => (item=cloud-init)�[0m
�[0;32m    qemu.alma_9: ok: [default] => (item=cloud-init-local)�[0m
�[0;32m    qemu.alma_9: ok: [default] => (item=cloud-final)�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cloud_init : Create fedcloud config] *************************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [qemu_guest : Install qemu-guest-agent and rsync] *************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [config_vm : Configure /etc/sysconfig/network] ****************************�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=NETWORKING=yes)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=NOZEROCONF=yes)�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [config_vm : Enable xen drivers in dracut] ********************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [config_vm : Upgrade initramfs] *******************************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [config_vm : Regenerate the initramfs] ************************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [config_vm : Disable root login] ******************************************�[0m
�[0;32m    qemu.alma_9: [WARNING]: The input password appears not to have been hashed. The 'password'�[0m
�[0;32m    qemu.alma_9: argument must be encrypted for this module to work properly.�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Remove old kernels] *****************************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Delete DNF cache] *******************************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Find DNF history files] *************************************�[0m
�[0;32m    qemu.alma_9: ok: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Reset DNF history] ******************************************�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/lib/dnf/history.sqlite-shm)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/lib/dnf/history.sqlite-wal)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/lib/dnf/history.sqlite)�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Find temporary files] ***************************************�[0m
�[0;32m    qemu.alma_9: ok: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Remove temporary files] *************************************�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/tmp/systemd-private-e15654b129de45c4b2cc5429e573ba78-chronyd.service-sh9p05)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/tmp/systemd-private-e15654b129de45c4b2cc5429e573ba78-dbus-broker.service-dYjoTL)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/tmp/systemd-private-e15654b129de45c4b2cc5429e573ba78-kdump.service-PKpBjs)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/tmp/systemd-private-e15654b129de45c4b2cc5429e573ba78-systemd-logind.service-nWYJXh)�[0m
�[0;32m    qemu.alma_9: ok: [default] => (item=/tmp/ansible_find_payload_40nedlzg)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/tmp/systemd-private-e15654b129de45c4b2cc5429e573ba78-chronyd.service-O81p0g)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/tmp/systemd-private-e15654b129de45c4b2cc5429e573ba78-kdump.service-CL8DJz)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/tmp/systemd-private-e15654b129de45c4b2cc5429e573ba78-systemd-logind.service-4hdvf0)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/tmp/systemd-private-e15654b129de45c4b2cc5429e573ba78-dbus-broker.service-saRMHN)�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Find SSH host keys] *****************************************�[0m
�[0;32m    qemu.alma_9: ok: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Remove SSH host keys] ***************************************�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/etc/ssh/ssh_host_ecdsa_key)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/etc/ssh/ssh_host_rsa_key.pub)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/etc/ssh/ssh_host_ed25519_key)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/etc/ssh/ssh_host_ecdsa_key.pub)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/etc/ssh/ssh_host_rsa_key)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/etc/ssh/ssh_host_ed25519_key.pub)�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Remove kickstart files] *************************************�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/root/anaconda-ks.cfg)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/root/original-ks.cfg)�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Truncate files] *********************************************�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/etc/machine-id)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/etc/resolv.conf)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/audit/audit.log)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/wtmp)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/lastlog)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/btmp)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/cron)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/maillog)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/messages)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/secure)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/spooler)�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Remove log folders.] ****************************************�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/anaconda)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/qemu-ga)�[0m
�[0;32m    qemu.alma_9: ok: [default] => (item=/var/log/tuned)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/lib/cloud)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/etc/hostname)�[0m
�[0;32m    qemu.alma_9: ok: [default] => (item=/etc/machine-info)�[0m
�[0;32m    qemu.alma_9: ok: [default] => (item=/var/lib/systemd/credential.secret)�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Find log files.] ********************************************�[0m
�[0;32m    qemu.alma_9: ok: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Remove log files] *******************************************�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/kdump.log)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/hawkey.log)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/dnf.librepo.log)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/dnf.rpm.log)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/maillog)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/dnf.log)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/tallylog)�[0m
�[0;32m    qemu.alma_9: changed: [default] => (item=/var/log/lastlog)�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Remove random-seed] *****************************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Disable root SSH login via password] ************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Fill free space with zeroes] ********************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Detect swap partition] **************************************�[0m
�[0;32m    qemu.alma_9: fatal: [default]: FAILED! => {"changed": true, "cmd": ["grep", "-oP", "^/dev/[\w-]+", "/proc/swaps"], "delta": "0:00:00.004127", "end": "2024-08-30 09:40:26.064533", "msg": "non-zero return code", "rc": 1, "start": "2024-08-30 09:40:26.060406", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}�[0m
�[0;32m    qemu.alma_9: ...ignoring�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Get swap partition UUID] ************************************�[0m
�[0;32m    qemu.alma_9: skipping: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Unmount swap partition] *************************************�[0m
�[0;32m    qemu.alma_9: skipping: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Fill swap partition with zeroes] ****************************�[0m
�[0;32m    qemu.alma_9: skipping: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Format swap partition] **************************************�[0m
�[0;32m    qemu.alma_9: skipping: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Mount swap partition] ***************************************�[0m
�[0;32m    qemu.alma_9: skipping: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Sync disc] **************************************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Clear shell history] ****************************************�[0m
�[0;32m    qemu.alma_9: changed: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Check if WALinuxAgent is installed] *************************�[0m
�[0;32m    qemu.alma_9: ok: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: TASK [cleanup_vm : Deprovision WALinuxAgent] ***********************************�[0m
�[0;32m    qemu.alma_9: skipping: [default]�[0m
�[0;32m    qemu.alma_9:�[0m
�[0;32m    qemu.alma_9: PLAY RECAP *********************************************************************�[0m
�[0;32m    qemu.alma_9: default                    : ok=30   changed=23   unreachable=0    failed=0    skipped=6    rescued=0    ignored=1�[0m
�[0;32m    qemu.alma_9:�[0m
�[1;32m==> qemu.alma_9: Provisioning with shell script: provisioners/cleanup.sh�[0m
�[1;31m==> qemu.alma_9: + sudo rm -fr '/home/*/.ssh' '/home/*/.ansible' '/home/*/.cache'�[0m
�[1;31m==> qemu.alma_9: + sudo rm -fr /root/.ssh /root/.ansible /root/.cache�[0m
�[1;31m==> qemu.alma_9: + sudo rm -fr '/root/~*'�[0m
�[1;32m==> qemu.alma_9: Gracefully halting virtual machine...�[0m
�[1;32m==> qemu.alma_9: Converting hard drive...�[0m
�[1;32mBuild 'qemu.alma_9' finished after 11 minutes 5 seconds.�[0m

==> Wait completed after 11 minutes 5 seconds

==> Builds finished. The artifacts of successful builds are:
--> qemu.alma_9: VM files in directory: output-alma_9
SUCCESSFUL BUILD - alma.9-2024.08.29.qcow2 - 4d5f54b9bdeede2feec4c865cc3d28d7771a06a2f6cb94e6dde48041eee35e8d290e6062a167efbf35bea4de4670cf0a75d0f024cbd2edbb44f65fe4d77eda8c
BUILD ENDED
*Pusher: @sebastian-luna-valero, Action: `pull_request`*

Copy link
Contributor

@enolfc enolfc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sebastian-luna-valero sebastian-luna-valero marked this pull request as ready for review August 30, 2024 09:49
@sebastian-luna-valero sebastian-luna-valero merged commit a821a40 into main Aug 30, 2024
16 checks passed
@sebastian-luna-valero sebastian-luna-valero deleted the alma-9 branch August 30, 2024 09:56
This was referenced Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants