redhat-developer / mapt

Multi Architecture Provisioning Tool
Apache License 2.0
9 stars 7 forks source link

[bug] Issue spinning RHEL machines on AWS due to errors during cloud-init install packages #205

Closed adrianriobo closed 5 months ago

adrianriobo commented 5 months ago
[Errno 2] No such file or directory: '/var/cache/dnf/rhel-9-baseos-rhui-rpms-4d323764dca7e6ab/packages/python3-cryptography-36.0.1-4.el9.x86_64.rpm'
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
2024-05-08 11:38:59,406 - util.py[WARNING]: Failed to install packages: ['podman', 'qemu-kvm', 'libvirt', 'virt-install', 'virt-viewer', 'jq']
2024-05-08 11:38:59,417 - cc_package_update_upgrade_install.py[WARNING]: 1 failed with exceptions, re-raising the last one
2024-05-08 11:38:59,417 - util.py[WARNING]: Running module package_update_upgrade_install (<module 'cloudinit.config.cc_package_update_upgrade_install' from '/usr/lib/python3.9/site-packages/cloudinit/config/cc_package_update_upgrade_install.py'>) failed

The package: python3-cryptography is already installed in the system and dnf mark it as SKIP but then it looks for it on the cache instead of resolve to the current installed one