-
Feature Request
-
Resolution: Unresolved
-
Undefined
-
None
-
6.16.0
-
None
Problem Statement
In the documentation to upgrade capsule to Satellite 6.16 / RHEL 9 using LEAPP[1]
it's saying we need to enable and synchronize
Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs)
Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)
repositories and add it to th content view attached to the capsule server.
But based on leapp supported upgrade path [2] we currently need 9.5 minor repositories:
Red Hat Enterprise Linux 9 for x86_64 - BaseOS RPMs 9.5
Red Hat Enterprise Linux 9 for x86_64 - AppStream RPMs 9.5
It we don't add those repositories "leapp preupgrade" failed with following error :
============================================================ ERRORS ============================================================2024-11-22 13:22:58.543407 [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=capsule.gnali.lab', '--setenv=LEAPP_EXPERIMENTAL=0', '--setenv=LEAPP_UNSUPPORTED=0', '--setenv=LEAPP_NO_RHSM=0', '--setenv=LEAPP_TARGET_PRODUCT_CHANNEL=ga', '--setenv=LEAPP_UPG RADE_PATH_TARGET_RELEASE=9.5', '--setenv=LEAPP_UPGRADE_PATH_FLAVOUR=default', '--setenv=LEAPP_IPU_IN_PROGRESS=8to9', '--setenv=LEAPP_EXECUTION_ID=19e2298c-31ba-4d42-b415-5c99d256885a', '--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/sy stem_upgrade/common/files:/etc/leapp/repos.d/system_upgrade/el8toel9/files', 'dnf', 'install', '-y', '--setopt=module_platform_id=platform:el9', '--setopt=keepcache=1', '--releasever', '9.5', '--installroot', '/el9target', '--disablerepo', '*', '--enablerepo', 'rhel-9-for-x86_64-baseos-rpms', '--enablerepo', 'rhel-9-for-x86_64-appstream-rpms', '--enablerepo', 's atellite-capsule-6.16-for-rhel-9-x86_64-rpms', 'dnf-command(config-manager)', 'util-linux', 'dnf'] failed with exit code 1. Stderr: Host and machine ids are equal (08ce25623f6cfcc5d345339093eccfc3): refusing to link journals Errors during downloading metadata for repository 'rhel-9-for-x86_64-appstream-rpms': - Status code: 404 for https://satellite.gnali.lab/pulp/content/Red_Hat/Capsule/cv_capsule/content/dist/rhel9/9.5/x86_64/appstream/os/repodata/repomd.xml (IP: 192.168.122.45) Error: Failed to download metadata for repo 'rhel-9-for-x86_64-appstream-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
So we should need some related statement about having the latest minor release version enabled for baseos and appstream
[2]https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/upgrading_from_rhel_8_to_rhel_9/con_supported-upgrade-paths_upgrading-from-rhel-8-to-rhel-9#con_supported-upgrade-paths_upgrading-from-rhel-8-to-rhel-9