Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install RHEL 8 userspace packages #333

Open
jalarcon666 opened this issue Aug 18, 2024 · 3 comments
Open

Unable to install RHEL 8 userspace packages #333

jalarcon666 opened this issue Aug 18, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@jalarcon666
Copy link

Hello,

New error when using version 1.4.0:

Risk Factor: high (error)
Title: Unable to install RHEL 8 userspace packages.
Summary: {"details": "Command ['systemd-nspawn', '--register=no', '--quiet', '-D', '/var/lib/leapp/scratch/mounts/root_/system_overlay', '--setenv=LEAPP_COMMON_FILES=:/etc/leapp/repos.d/system_upgrade/common/files:/etc/leapp/repos.d/system_upgrade/el7toel8/files', '--setenv=LEAPP_UPGRADE_PATH_TARGET_RELEASE=8.9', '--setenv=LEAPP_NO_RHSM=0', '--setenv=LEAPP_EXPERIMENTAL=0', '--setenv=LEAPP_UPGRADE_PATH_FLAVOUR=default', '--setenv=LEAPP_COMMON_TOOLS=:/etc/leapp/repos.d/system_upgrade/common/tools:/etc/leapp/repos.d/system_upgrade/el7toel8/tools', '--setenv=LEAPP_OVL_SIZE=4096', '--setenv=LEAPP_IPU_IN_PROGRESS=7to8', '--setenv=LEAPP_UNSUPPORTED=0', '--setenv=LEAPP_EXECUTION_ID=c5570578-6ad5-42cc-8aa1-bc029c1aa320', '--setenv=LEAPP_HOSTNAME=VM297-CLON-ELEVATE-PRUEBAS.dnspropio.com', 'dnf', 'install', '-y', '--setopt=module_platform_id=platform:el8', '--setopt=keepcache=1', '--releasever', u'8.9', '--installroot', '/el8target', '--disablerepo', '*', '--enablerepo', u'el8-epel', '--enablerepo', u'almalinux8-baseos', '--enablerepo', u'alma-epel-debuginfo', '--enablerepo', u'almalinux8-saphana', '--enablerepo', u'almalinux8-ha', '--enablerepo', u'alma-PLESK_18_0_62', '--enablerepo', u'alma-plesk-ext-docker', '--enablerepo', u'alma-plesk-ext-panel-migrator', '--enablerepo', u'alma-PLESK_18_0_62-extras', '--enablerepo', u'alma-epel', '--enablerepo', u'almalinux8-sap', '--enablerepo', u'alma-epel-source', '--enablerepo', u'almalinux8-extras', '--enablerepo', u'alma-PLESK_17_PHP82', '--enablerepo', u'almalinux8-appstream', '--enablerepo', u'almalinux8-nfv', '--enablerepo', u'almalinux8-powertools', '--enablerepo', u'almalinux8-resilientstorage', '--enablerepo', u'alma-PLESK_17_PHP74', '--enablerepo', u'alma-PLESK_17_PHP73', '--enablerepo', u'alma-PLESK_17_PHP72', '--enablerepo', u'alma-PLESK_17_PHP71', 'dnf', 'dnf-command(config-manager)', '--disableplugin', 'subscription-manager'] failed with exit code 1.", "stderr": "Failed to create directory /var/lib/leapp/scratch/mounts/root_/system_overlay//sys/fs/selinux: Read-only file system\nFailed to create directory /var/lib/leapp/scratch/mounts/root_/system_overlay//sys/fs/selinux: Read-only file system\nHost and machine ids are equal (d95a50005420493eb46cd8b69ebd9275): refusing to link journals\nFailed to synchronize cache for repo 'almalinux8-baseos', ignoring this repo.\nFailed to synchronize cache for repo 'alma-plesk-ext-docker', ignoring this repo.\nFailed to synchronize cache for repo 'alma-PLESK_18_0_62-extras', ignoring this repo.\nFailed to synchronize cache for repo 'alma-epel', ignoring this repo.\nFailed to synchronize cache for repo 'almalinux8-sap', ignoring this repo.\nFailed to synchronize cache for repo 'alma-epel-source', ignoring this repo.\nFailed to synchronize cache for repo 'almalinux8-nfv', ignoring this repo.\nFailed to synchronize cache for repo 'alma-epel-debuginfo', ignoring this repo.\nFailed to synchronize cache for repo 'almalinux8-saphana', ignoring this repo.\nFailed to synchronize cache for repo 'almalinux8-ha', ignoring this repo.\nFailed to synchronize cache for repo 'almalinux8-extras', ignoring this repo.\nFailed to synchronize cache for repo 'almalinux8-resilientstorage', ignoring this repo.\nFailed to synchronize cache for repo 'el8-epel', ignoring this repo.\nFailed to synchronize cache for repo 'alma-PLESK_17_PHP82', ignoring this repo.\nFailed to synchronize cache for repo 'almalinux8-appstream', ignoring this repo.\nFailed to synchronize cache for repo 'alma-plesk-ext-panel-migrator', ignoring this repo.\nFailed to synchronize cache for repo 'almalinux8-powertools', ignoring this repo.\nFailed to synchronize cache for repo 'alma-PLESK_18_0_62', ignoring this repo.\nFailed to synchronize cache for repo 'alma-PLESK_17_PHP74', ignoring this repo.\nFailed to synchronize cache for repo 'alma-PLESK_17_PHP73', ignoring this repo.\nFailed to synchronize cache for repo 'alma-PLESK_17_PHP72', ignoring this repo.\nFailed to synchronize cache for repo 'alma-PLESK_17_PHP71', ignoring this repo.\nError: Unable to find a match: dnf dnf-command(config-manager)\n"}
Key: 5028175de6dcfea0cf809ced42f6e560139a5e8d


@jalarcon666 jalarcon666 added the bug Something isn't working label Aug 18, 2024
@SandakovMM
Copy link
Collaborator

Hello,
Cloud you please provide a feedback archive?

@jalarcon666
Copy link
Author

One thing, the feedback file leaks sensitive information from the machines, it includes the named.conf with the DNS zones, if it is not necessary this file could be deleted from the report, I attach a sanitized zip without this file, thanks @SandakovMM
feedback.zip

@SandakovMM
Copy link
Collaborator

There are problems with all the repositories listed in the /etc/leapp/files/leapp_upgrade_repositories.repo file. The Leapp utility uses these repositories to get packages needed for the upgrade. Since even the repositories provided by Leapp are having issues, I think this might be due to a network issue or a proxy configuration for yum/dnf utility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants