You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actual behavior
setuptargetrepos actor reports standard CentOS repositories as unknown and suggests that essential packages might not be upgraded.
Relevant output in /var/log/leapp/leapp-report.txt:
Risk Factor: low
Title: Some enabled RPM repositories are unknown to Leapp
Summary: The following repositories with Red Hat-signed packages are unknown to Leapp:
elevate
base
updates
extras
And the following packages installed from those repositories may not be upgraded:
nss-pem
nss-tools
less
openssh-clients
openssl-libs
python2-leapp
systemd
...
(truncated)
Remediation: [hint] You can file a request to add this repository to the scope of in-place upgrades by filing a support ticket
Key: 8e89e20c645cea600b240156071d81c64daab7ad
Relevant output in /var/log/leapp/leapp-report.txt:
Risk Factor: low
Title: Some enabled RPM repositories are unknown to Leapp
Summary: The following repositories with Red Hat-signed packages are unknown to Leapp:
elevate
And the following packages installed from those repositories may not be upgraded:
python2-leapp
leapp-deps
leapp-upgrade-el7toel8-deps
leapp-upgrade-el7toel8
leapp-data-oraclelinux
leapp
Remediation: [hint] You can file a request to add this repository to the scope of in-place upgrades by filing a support ticket
Key: 8e89e20c645cea600b240156071d81c64daab7ad
System information (please complete the following information):
OS and version: CentOS Linux release 7.9.2009 (Core)
Linux centos7.localdomain 3.10.0-1160.119.1.el7.x86_64 fixed version_id #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Additional context
After adding some debug logging to /repos/system_upgrade/common/actors/setuptargetrepos/libraries/setuptargetrepos.py, it looks like code initializing setuptargetrepos_repomap.RepoMapDataHandler from RepositoriesMapping message(s) was not adjusted for multiple repository mappings when vendor repository mapping support was added (e.g. actor vendor_repositories_mapping).
The original code just picks first repository mapping, which in this case is parsed from /etc/leapp/files/vendors.d/docker-ce_map.json by vendor_repositories_mapping actor which is executed before repository_mapping actor parsing /etc/leapp/files/repomap.json during FactsCollection phase.
(I'm not well versed in Python neither Leapp tool, so my conclusion might be wrong)
The text was updated successfully, but these errors were encountered:
Actual behavior
setuptargetrepos actor reports standard CentOS repositories as unknown and suggests that essential packages might not be upgraded.
Relevant output in /var/log/leapp/leapp-report.txt:
Risk Factor: low
Title: Some enabled RPM repositories are unknown to Leapp
Summary: The following repositories with Red Hat-signed packages are unknown to Leapp:
And the following packages installed from those repositories may not be upgraded:
...
(truncated)
Remediation: [hint] You can file a request to add this repository to the scope of in-place upgrades by filing a support ticket
Key: 8e89e20c645cea600b240156071d81c64daab7ad
To Reproduce
Steps to reproduce the behavior
Expected behavior
To get expected behaviour follow these steps:
Relevant output in /var/log/leapp/leapp-report.txt:
Risk Factor: low
Title: Some enabled RPM repositories are unknown to Leapp
Summary: The following repositories with Red Hat-signed packages are unknown to Leapp:
And the following packages installed from those repositories may not be upgraded:
Remediation: [hint] You can file a request to add this repository to the scope of in-place upgrades by filing a support ticket
Key: 8e89e20c645cea600b240156071d81c64daab7ad
System information (please complete the following information):
Additional context
After adding some debug logging to /repos/system_upgrade/common/actors/setuptargetrepos/libraries/setuptargetrepos.py, it looks like code initializing setuptargetrepos_repomap.RepoMapDataHandler from RepositoriesMapping message(s) was not adjusted for multiple repository mappings when vendor repository mapping support was added (e.g. actor vendor_repositories_mapping).
The original code just picks first repository mapping, which in this case is parsed from /etc/leapp/files/vendors.d/docker-ce_map.json by vendor_repositories_mapping actor which is executed before repository_mapping actor parsing /etc/leapp/files/repomap.json during FactsCollection phase.
(I'm not well versed in Python neither Leapp tool, so my conclusion might be wrong)
The text was updated successfully, but these errors were encountered: