Hi all,
I’m trying to upgrade from AlmaLinux 8 to 9 with ELevate and I’ve had success with 4 VMs recently.
I’m using this guide ELevate Quickstart Guide | AlmaLinux Wiki
Interestingly, on 1 VM the “leapp preupgrade” fails with this error:
============================================================
ERRORS
============================================================
2024-01-20 17:18:40.136082 [ERROR] Actor: target_userspace_creator
Message: Unable to install RHEL 9 userspace packages.
Summary:
Details: Command [‘systemd-nspawn’, ‘–register=no’, ‘–quiet’, ‘–keep-unit’, ‘–capability=all’, ‘-D’, ‘/var/lib/leapp/scratch/mounts/root_/system_overlay’, ‘–setenv=LEAPP_HOSTNAME=p-svc-ansible-01.eosksihu.net’, ‘–setenv=LEAPP_EXPERIMENTAL=0’, ‘–setenv=LEAPP_UNSUPPORTED=0’, ‘–setenv=LEAPP_NO_RHSM=0’, ‘–setenv=LEAPP_UPGRADE_PATH_TARGET_RELEASE=9.0’, ‘–setenv=LEAPP_UPGRADE_PATH_FLAVOUR=default’, ‘–setenv=LEAPP_IPU_IN_PROGRESS=8to9’, ‘–setenv=LEAPP_EXECUTION_ID=4a0cb258-093e-40a1-a9d7-3d8e186137a8’, ‘–setenv=LEAPP_COMMON_TOOLS=:/etc/leapp/repos.d/system_upgrade/common/tools:/etc/leapp/repos.d/system_upgrade/el8toel9/tools’, ‘–setenv=LEAPP_COMMON_FILES=:/etc/leapp/repos.d/system_upgrade/common/files:/etc/leapp/repos.d/system_upgrade/el8toel9/files:/etc/leapp/repos.d/system_upgrade/wp-toolkit/files’, ‘dnf’, ‘install’, ‘-y’, ‘–nogpgcheck’, ‘–setopt=module_platform_id=platform:el9’, ‘–setopt=keepcache=1’, ‘–releasever’, ‘9.0’, ‘–installroot’, ‘/el9target’, ‘–disablerepo’, ‘*’, ‘–enablerepo’, ‘almalinux9-resilientstorage’, ‘–enablerepo’, ‘almalinux9-highavailability’, ‘–enablerepo’, ‘almalinux9-baseos’, ‘–enablerepo’, ‘almalinux9-appstream’, ‘–enablerepo’, ‘almalinux9-extras’, ‘–enablerepo’, ‘almalinux9-crb’, ‘dnf’, ‘dnf-command(config-manager)’, ‘–disableplugin’, ‘subscription-manager’] failed with exit code 1.
Stderr: Host and machine ids are equal (7b857be71228472d9ac6196f89f36b66): refusing to link journals
warning: Generating 18 missing index(es), please wait…
Error: “etckeeper post-install” returned: 1
============================================================
END OF ERRORS
============================================================
I’ve tried “leapp upgrade” for testing purposes but it fails with the same error.
Googled for the error but couldn’t find anything useful.
Check the mentioned logs but the error is not detailed there, same as above.
I’ve tried regenerating the machine-id with/without reboot, but it fails with the same error.
Has anyone ever encountered the error above?
I’m out of ideas, I’d appreciate every help I can get.
#crossposted from Reddit