uyuni-project / uyuni

Source code for Uyuni
https://www.uyuni-project.org/
GNU General Public License v2.0
431 stars 180 forks source link

Package install/upgrade fails after migration to containerized podman #9318

Open Autoflow opened 1 day ago

Autoflow commented 1 day ago

Hello everybody,

after migrating to the containerized version of Uyuni (Server Version 2024.08, Podman) and when trying to install/upgrade packages I get errors for all selected hosts. Here an example error for one host:

`saltutil_|-syncstates|-syncstates|-sync_states: name: sync_states changes: { } result: true comment: No updates to sync sls: util.syncstates run_num__: 0.0 start_time: '13:27:44.306941' duration: 437.706 id: syncstates pkg|-mgr_absent_capackage|-rhn-org-trusted-ssl-cert_|-removed: name: rhn-org-trusted-ssl-cert changes: { } result: true comment: All specified packages are already absent sls: certs __run_num: 1.0 start_time: '13:27:45.471310' duration: 0.957 id: mgr_absent_capackage file|-mgr_cacert|-/usr/local/share/ca-certificates/susemanager/RHN-ORG-TRUSTED-SSL-CERT.crt_|-managed: changes: { } comment: File /usr/local/share/ca-certificates/susemanager/RHN-ORG-TRUSTED-SSL-CERT.crt is in the correct state name: /usr/local/share/ca-certificates/susemanager/RHN-ORG-TRUSTED-SSL-CERT.crt result: true sls: certs run_num__: 2.0 start_time: '13:27:45.474321' duration: 54.955 id: mgr_cacert cmd|-mgr_update_cacerts|-/usr/sbin/update-ca-certificates_|-run: changes: { } result: true duration: 0.003 start_time: '13:27:45.530254' comment: State was not run because none of the onchanges reqs changed __state_ran: false run_num: 3.0 sls: certs id: mgr_update_cacerts name: /usr/sbin/update-ca-certificates file|-mgr_proxy_ca_certsymlink|-/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT_|-symlink: result: true name: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT changes: { } comment: onlyif condition is false sls: certs id__: mgr_proxy_ca_cert_symlink skip_watch: true run_num: 4.0 starttime: '13:27:45.530333' duration: 415.715 file|-mgr_deploy_tools_uyunikey|-/etc/pki/rpm-gpg/uyuni-tools-gpg-pubkey-0d20833e.key_|-managed: changes: { } comment: File /etc/pki/rpm-gpg/uyuni-tools-gpg-pubkey-0d20833e.key is in the correct state name: /etc/pki/rpm-gpg/uyuni-tools-gpg-pubkey-0d20833e.key result: true sls: channels.gpg-keys run_num: 5.0 start_time: '13:27:45.946168' duration: 27.245 id: mgr_deploy_tools_uyunikey file|-mgr_deploy_suse_addonkey|-/etc/pki/rpm-gpg/suse-addon-97a636db0bad8ecc.key_|-managed: changes: { } comment: File /etc/pki/rpm-gpg/suse-addon-97a636db0bad8ecc.key is in the correct state name: /etc/pki/rpm-gpg/suse-addon-97a636db0bad8ecc.key result: true sls: channels.gpg-keys run_num: 6.0 start_time: '13:27:45.973548' duration: 25.823 id: mgr_deploy_suse_addonkey file|-mgrchannelsrepo|-/etc/apt/sources.list.d/susemanager:channels.list_|-managed: changes: { } comment: File /etc/apt/sources.list.d/susemanager:channels.list is in the correct state name: /etc/apt/sources.list.d/susemanager:channels.list result: true sls: channels __run_num: 7.0 start_time: '13:27:45.999580' duration: 107.493 id: mgrchannelsrepo file|-aptauthconf|-/etc/apt/auth.conf.d/susemanager.conf_|-managed: changes: { } comment: File /etc/apt/auth.conf.d/susemanager.conf is in the correct state name: /etc/apt/auth.conf.d/susemanager.conf result: true sls: channels run_num__: 8.0 start_time: '13:27:46.107211' duration: 71.226 id: aptauthconf pkg|-install_gnupgdebian|-install_gnupgdebian|-installed: name: install_gnupg_debian changes: { } result: true comment: All specified packages are already installed sls: channels run_num: 9.0 start_time: '13:27:46.178595' duration: 0.75 id: install_gnupgdebian pkg|-pkginstalled|-pkginstalled|-installed: name: pkg_installed result: false changes: { } comment: |- Problem encountered installing package(s). Additional info follows: errors: - Running scope as unit: run-r21f0053febac4d88bb23a5dfcbbefb09.scope E: Unable to correct problems, you have held broken packages. sls: packages.pkginstall __run_num: 10.0 start_time: '13:27:46.179582' duration: 1094.638 id: pkg_installed

Can someone please point me out what's going wrong and in case tell me if I missed something during migration?

mbussolotto commented 3 hours ago

I don't think it's a uyuni issue... can you provide zypper.log of the minion that's failing?