Bug 2110627
| Summary: | leapp is stuck in Required DNF plugins are not being loaded when LANGUAGE envars is set to non-us lang | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Christoph Karl <pampelmuse> |
| Component: | leapp-repository | Assignee: | Petr Stodulka <pstodulk> |
| Status: | CLOSED ERRATA | QA Contact: | Michal Macura <mmacura> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.6 | CC: | mmacura, vfeenstr |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | leapp-repository-0.17.0-1.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-08 09:46:52 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Christoph Karl
2022-07-25 17:43:24 UTC
Hi Christoph, thank you for the report. We've tested this scenario and I've retested it manually right now based on the report but in all our tests everything works. Can you confirm you addressed all post-upgrade steps mentioned in the upgrade documentation?
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/upgrading_from_rhel_7_to_rhel_8/index#performing-post-upgrade-tasks-rhel-7-to-rhel-8_upgrading-from-rhel-7-to-rhel-8
If so, can you share the output of the following command?
# dnf -v
Hi Petr!
I have now done the post-upgrade steps, but I sill get the same result:
>cat /var/log/leapp/leapp-report.txt
Risk Factor: high (inhibitor)
Title: Required DNF plugins are not being loaded.
Summary: The following DNF plugins are not being loaded:
- subscription-manager
- product-id
Remediation: [hint] If you have yum plugins globally disabled, please enable them by editing the /etc/dnf/dnf.conf. Individually, the DNF plugins can be enabled in their corresponding configurations found at: /etc/dnf/plugins
[command] bash -c "sed -i 's/^plugins=0/plugins=1/' '/etc/dnf/dnf.conf'; sed -i 's/^enabled=0/enabled=1/' '/etc/dnf/plugins/subscription-manager.conf'; sed -i 's/^enabled=0/enabled=1/' '/etc/dnf/plugins/product-id.conf'"
Key: 2a0ff91bea885cfe9d763cf3a379789848a501b9
>dnf -v
Geladene Plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, kpatch, needs-restarting, playground, product-id, repoclosure, repodiff, repograph, repomanage, reposync, subscription-manager, uploadprofile
Subscription Management Repositorys werden aktualisiert.
usage: dnf [options] COMMAND
Hauptbefehle
alias Befehlsaliase auflisten oder anlegen
autoremove Alle nicht genutzten Pakete entfernen, die ursprünglich als Abhängigkeiten installiert wurden
[and so on]
Maybe because of my langugae setting? Hmm.... the language should not be problem as we are setting the language related envars to english always, which should be present on any system. Could you please attach the /var/lib/leapp/leapp.db file? That`s it! I now unset LANG, LANGUAGE and LC_CTYPE and now it is working (at least preupgrade is now OK (green)) leapp.db file is larger than allowed limit (156MB) My env was: LANG=de_AT.UTF-8 LANGUAGE=de LC_CTYPE=de_AT.utf8 That's it! The we covered the LANGUAGE envar after we finished the work on the release so it's not part of the current build, but the next one is going to handle this case as well. The upstream PR: https://github.com/oamg/leapp-repository/pull/887 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (leapp-repository bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:7590 |