Bug 2274148
| Summary: | Erratas fail to get applied to the Capsule Server 6.16 installed on RHEL-9 | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Anand Jambhulkar <ajambhul> |
| Component: | Installation | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED MIGRATED | QA Contact: | Satellite QE Team <sat-qe-bz-list> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.16.0 | CC: | ahumbe, rlavi |
| Target Milestone: | Unspecified | Keywords: | MigratedToJIRA, Triaged |
| Target Release: | Unused | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-06-06 17:27:59 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: | |||
Initially I tried to check if I can apply the OS patches with the following command or not - # satellite-maintain upgrade check --target-version 6.16.z
However, this above check command fails at the "Validate availability of repositories" phase as it fails to find the repositories with the correct name.
During this phase, I received the following error log -
[root@cap616testrhel9 ~]# satellite-maintain upgrade check --target-version 6.16.z
Checking for new version of satellite-maintain...
Nothing to update, can't find new version of satellite-maintain.
Running preparation steps required to run the next scenarios
================================================================================
Check whether system has any non Red Hat repositories (e.g.: EPEL) enabled:
/ Checking repositories enabled on the system [OK]
--------------------------------------------------------------------------------
Running Checks before upgrading to Capsule 6.16.z
================================================================================
Check whether all services are running: [OK]
--------------------------------------------------------------------------------
Check whether all services are running using the ping call: [OK]
--------------------------------------------------------------------------------
Check whether system is self-registered or not: [OK]
--------------------------------------------------------------------------------
Check to make sure root(/) partition has enough space: [OK]
--------------------------------------------------------------------------------
Check to verify if any hotfix installed on system:
- Checking for presence of hotfix(es). It may take some time to verify.
[OK]
--------------------------------------------------------------------------------
Check whether system has any non Red Hat repositories (e.g.: EPEL) enabled:
\ Checking repositories enabled on the system [OK]
--------------------------------------------------------------------------------
Check if TMOUT environment variable is set: [OK]
--------------------------------------------------------------------------------
Check if any upstream repositories are enabled on system:
| Checking for presence of upstream repositories [OK]
--------------------------------------------------------------------------------
Check if system has any non Red Hat RPMs installed (e.g.: Fedora): [OK]
--------------------------------------------------------------------------------
Check to validate dnf configuration before upgrade: [OK]
--------------------------------------------------------------------------------
Validate availability of repositories:
\ Some repositories missing, calling `subscription-manager refresh` [FAIL]
Following repositories are not available on your system: satellite-capsule-6.16-for-rhel-9-x86_64-rpms, satellite-maintenance-6.16-for-rhel-9-x86_64-rpms
--------------------------------------------------------------------------------
Scenario [Checks before upgrading to Capsule 6.16.z] failed.
The following steps ended up in failing state:
[repositories-validate]
Resolve the failed steps and rerun the command.
If the situation persists and, you are unclear what to do next,
contact Red Hat Technical Support.
In case the failures are false positives, use
--whitelist="repositories-validate"
[root@cap616testrhel9 ~]#
When it failed with the above command, that is when I tried to apply the OS patches using the following command - "satellite-maintain packages update" which failed as well.
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there. Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information. To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "SAT-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like: "Bugzilla Bug" = 1234567 In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information. |
Description of problem: ---------------------- Applying erratas to the base OS of the Capsule Server 6.16 installed on RHEL-9 fails with the following error - Error: Problem: package python3.11-solv-0.7.22-6.el9pc.x86_64 from @System requires libsolv(x86-64) = 0.7.22-6.el9pc, but none of the providers can be installed - cannot install both libsolv-0.7.24-2.el9.x86_64 from rhel-9-for-x86_64-baseos-rpms and libsolv-0.7.22-6.el9pc.x86_64 from @System - cannot install both libsolv-0.7.22-6.el9pc.x86_64 from Satellite_Engineering_Satellite_stream_Composes_Satellite_Capsule_stream_RHEL9 and libsolv-0.7.24-2.el9.x86_64 from rhel-9-for-x86_64-baseos-rpms - cannot install the best update candidate for package python3.11-solv-0.7.22-6.el9pc.x86_64 - cannot install the best update candidate for package libsolv-0.7.22-6.el9pc.x86_64 (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) [WARNING] Failed executing dnf --disableplugin=foreman-protector update, exit status 1 Version-Release number of selected component (if applicable): ------------------------------------------------------------ Red Hat Capsule 6.16 on RHEL-9.3 How reproducible: ---------------- Always Steps to Reproduce: ------------------ 1. Install and configure Capsule Server 6.16 on RHEL-9.3 which is the latest RHEL available in 9.x series. 2. Try to apply the erratas using the following command on Red Hat Capsule 6.16 CLI - # satellite-maintain packages update Actual results: -------------- RHEL-9 erratas don't get applied successfully. Expected results: ---------------- RHEL-9 erratas should get applied successfully. Additional info: --------------- Note - This issue does not occur on Red Hat Capsule 6.16 installed on RHEL-8 operating system. I was able to successfully apply the erratas there. The detailed log of the command is as follows - [root@cap616testrhel9 ~]# satellite-maintain packages update Running update packages in unlocked session ================================================================================ Confirm update all is intentional: WARNING: No specific packages to update were provided so we are going to update all available packages. It is recommended to update everything only as part of upgrade of the Capsule to the next version. To Upgrade to next version use 'foreman-maintain upgrade'. NOTE: --assumeyes is not applicable for this check Do you want to proceed with update of everything regardless of the recommendations?, [y(yes), q(quit)] y [OK] -------------------------------------------------------------------------------- Confirm installer run is allowed: WARNING: This script runs foreman-installer after the dnf execution to ensure the Capsule is in a consistent state. As a result some of your services may be restarted. Do you want to proceed?, [y(yes), q(quit)] y [OK] -------------------------------------------------------------------------------- Unlock packages: [OK] -------------------------------------------------------------------------------- Update package(s) : Updating Subscription Management repositories. Cache was expired 29 files removed Updating Subscription Management repositories. Red Hat Enterprise Linux 9 for x86_64 - BaseOS 15 MB/s | 19 MB 00:01 Red Hat Enterprise Linux 9 for x86_64 - AppStre 18 MB/s | 30 MB 00:01 Satellite Capsule Stream RHEL9 2.2 MB/s | 340 kB 00:00 Satellite Maintenance Stream RHEL9 49 kB/s | 7.7 kB 00:00 Error: Problem: package python3.11-solv-0.7.22-6.el9pc.x86_64 from @System requires libsolv(x86-64) = 0.7.22-6.el9pc, but none of the providers can be installed - cannot install both libsolv-0.7.24-2.el9.x86_64 from rhel-9-for-x86_64-baseos-rpms and libsolv-0.7.22-6.el9pc.x86_64 from @System - cannot install both libsolv-0.7.22-6.el9pc.x86_64 from Satellite_Engineering_Satellite_stream_Composes_Satellite_Capsule_stream_RHEL9 and libsolv-0.7.24-2.el9.x86_64 from rhel-9-for-x86_64-baseos-rpms - cannot install the best update candidate for package python3.11-solv-0.7.22-6.el9pc.x86_64 - cannot install the best update candidate for package libsolv-0.7.22-6.el9pc.x86_64 (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) [WARNING] Failed executing dnf --disableplugin=foreman-protector update, exit status 1 -------------------------------------------------------------------------------- Running foreman-installer : 2024-04-09 17:36:27 [NOTICE] [root] Loading installer configuration. This will take some time. 2024-04-09 17:36:33 [NOTICE] [root] Running installer with log based terminal output at level NOTICE. 2024-04-09 17:36:33 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions. 2024-04-09 17:36:47 [NOTICE] [configure] Starting system configuration. 2024-04-09 17:36:59 [NOTICE] [configure] 250 configuration steps out of 1178 steps complete. 2024-04-09 17:37:00 [NOTICE] [configure] 500 configuration steps out of 1181 steps complete. 2024-04-09 17:37:02 [NOTICE] [configure] 750 configuration steps out of 1185 steps complete. 2024-04-09 17:37:03 [NOTICE] [configure] 1000 configuration steps out of 1187 steps complete. 2024-04-09 17:37:24 [NOTICE] [configure] System configuration has finished. Success! * Capsule is running at https://capsule.example.com:9090 The full log is at /var/log/foreman-installer/capsule.log [OK] -------------------------------------------------------------------------------- Check status of version locking of packages: Automatic locking of package versions is disabled in installer. Packages are not locked. WARNING: When locking is disabled there is a risk of unwanted update of Capsule and its components and possible data inconsistency [OK] -------------------------------------------------------------------------------- Scenario [update packages in unlocked session] failed. The following steps ended up in warning state: [packages-update] The steps in warning state itself might not mean there is an error, but it should be reviewed to ensure the behavior is expected [root@cap616testrhel9 ~]#