Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-24478

Erratas fail to get applied to the Capsule Server 6.16 installed on RHEL-9

XMLWordPrintable

    • Important
    • No

      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 -

      1. 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!

      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 ~]#

              pcreech@redhat.com Patrick Creech
              rhn-support-ajambhul Anand Jambhulkar
              Radek Mynar Radek Mynar
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: