Description of problem: An attempt to upgrade latest-RHEL-7.9 to latest-RHEL-8.9.0 fails with: ============================================================ ERRORS ============================================================ 2023-06-23 13:27:47.745086 [ERROR] Actor: check_installed_kernels Message: Cannot find any installed kernel signed by Red Hat. ============================================================ END OF ERRORS ============================================================ Version-Release number of selected component (if applicable): [root@localhost ~]# rpm -qa | grep leapp python2-leapp-0.15.1-1.el7_9.noarch leapp-0.15.1-1.el7_9.noarch leapp-deps-0.15.1-1.el7_9.noarch leapp-upgrade-el7toel8-deps-0.18.0-4.el7_9.noarch leapp-upgrade-el7toel8-0.18.0-4.el7_9.noarch [root@localhost ~]# [root@localhost ~]# rpm -qa | grep kernel kernel-3.10.0-1160.94.1.el7.x86_64 kernel-tools-3.10.0-1160.94.1.el7.x86_64 kernel-tools-libs-3.10.0-1160.94.1.el7.x86_64 [root@localhost ~]# How reproducible: Always Steps to Reproduce: 1. Install latest-RHEL-7.9 compose, Server variant, minimal package set 2. # yum install leapp-upgrade 3. Create RHEL-8 repositories, disabled by default 4. # export LEAPP_UNSUPPORTED=1 5. # export LEAPP_DEVEL_SKIP_CHECK_OS_RELEASE=1 6. # leapp upgrade --no-rhsm --enablerepo AppStream --enablerepo BaseOS Actual results: 2023-06-23 13:27:47.745086 [ERROR] Actor: check_installed_kernels Message: Cannot find any installed kernel signed by Red Hat. Expected results: No error, successful upgrade
Hi \o thank you for the ticket. this is valid behaviour. you do not have installed kernel (and many other pkgs..) signed by red hat and in such a case this - valid behaviour. if you are installing testing packages that are not signed yet, you have to set additional devel envar to make actors trat all installed packages as signed by red hat: * https://leapp.readthedocs.io/en/latest/el7toel8/envars.html#leapp-devel-rpms-all-signed
Sorry for the number of typos. I wrote the msg in rush.