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

Satellite 6.15 to 6.16 upgrade failing with python38 package dependencies

XMLWordPrintable

    • False
    • Important
    • sat-rocket
    • None
    • None
    • None
    • No Coverage

      Description of problem:

      Satellites built on or before 6.11 attempting to upgrade from 6.15 to 6.16 are hitting a python38-pytz, python38-cffi, python38-babel dependency issue as seen below.

      How reproducible:

      Every time

      Is this issue a regression from an earlier version:

      No

      Steps to Reproduce:

      1. Upgrade 6.11 on rhel 8 (or older version) Satellite to 6.16

      2.

      3.

      Actual behavior:
      Satellite 6.15 to 6.16 upgrade failing with the following error:

                :output: "Failed executing dnf -y --downloadonly --disableplugin=foreman-protector
                  update, exit status 1:\n Updating Subscription Management repositories.\nRed
                  Hat Satellite Maintenance 6.16 for RHEL 8 x  21 kB/s |  20 kB     00:00
                  \   \nRed Hat Enterprise Linux 8 for x86_64 - AppStre  20 MB/s |  69 MB
                  \    00:03    \nRed Hat Satellite 6.16 for RHEL 8 x86_64 (RPMs) 1.6 MB/s
                  | 1.0 MB     00:00    \nRed Hat Enterprise Linux 8 for x86_64 - BaseOS
                  \  28 MB/s |  76 MB     00:02    \nLast metadata expiration check: 0:00:01
                  ago on Mon 16 Dec 2024 11:04:59 AM CST.\nError: \n Problem 1: package
                  python38-babel-2.7.0-11.module+el8.9.0+19598+4a60c7b7.noarch from @System
                  requires python38-pytz, but none of the providers can be installed\n  -
                  package satellite-common-6.16.0.1-1.el8sat.noarch from satellite-6.16-for-rhel-8-x86_64-rpms
                  obsoletes python38-pytz < 2021.3-2 provided by python38-pytz-2019.3-4.module+el8.9.0+19598+4a60c7b7.noarch
                  from @System\n  - package satellite-common-6.16.0.1-1.el8sat.noarch from
                  satellite-6.16-for-rhel-8-x86_64-rpms obsoletes python38-pytz < 2021.3-2
                  provided by python38-pytz-2019.3-3.module+el8.2.0+5234+f98739b6.noarch
                  from rhel-8-for-x86_64-appstream-rpms\n  - package satellite-common-6.16.0.1-1.el8sat.noarch
                  from satellite-6.16-for-rhel-8-x86_64-rpms obsoletes python38-pytz < 2021.3-2
                  provided by python38-pytz-2019.3-3.module+el8.4.0+8888+89bc7e79.noarch
                  from rhel-8-for-x86_64-appstream-rpms\n  - package satellite-common-6.16.0.1-1.el8sat.noarch
                  from satellite-6.16-for-rhel-8-x86_64-rpms obsoletes python38-pytz < 2021.3-2
                  provided by python38-pytz-2019.3-4.module+el8.9.0+19598+4a60c7b7.noarch
                  from rhel-8-for-x86_64-appstream-rpms\n  - cannot install the best update
                  candidate for package python38-cffi-1.13.2-3.module+el8.9.0+19598+4a60c7b7.x86_64\n
                  \ - cannot install the best update candidate for package python38-babel-2.7.0-11.module+el8.9.0+19598+4a60c7b7.noarch\n
                  Problem 2: problem with installed package python38-babel-2.7.0-11.module+el8.9.0+19598+4a60c7b7.noarch\n
                  \ - package python38-babel-2.7.0-11.module+el8.9.0+19598+4a60c7b7.noarch
                  from @System requires python38-pytz, but none of the providers can be
                  installed\n  - package python38-babel-2.7.0-11.module+el8.9.0+19598+4a60c7b7.noarch
                  from rhel-8-for-x86_64-appstream-rpms requires python38-pytz, but none
                  of the providers can be installed\n  - package satellite-common-6.16.0.1-1.el8sat.noarch
                  from satellite-6.16-for-rhel-8-x86_64-rpms obsoletes python38-pytz < 2021.3-2
                  provided by python38-pytz-2019.3-4.module+el8.9.0+19598+4a60c7b7.noarch
                  from @System\n  - package satellite-common-6.16.0.1-1.el8sat.noarch from
                  satellite-6.16-for-rhel-8-x86_64-rpms obsoletes python38-pytz < 2021.3-2
                  provided by python38-pytz-2019.3-3.module+el8.2.0+5234+f98739b6.noarch
                  from rhel-8-for-x86_64-appstream-rpms\n  - package satellite-common-6.16.0.1-1.el8sat.noarch
                  from satellite-6.16-for-rhel-8-x86_64-rpms obsoletes python38-pytz < 2021.3-2
                  provided by python38-pytz-2019.3-3.module+el8.4.0+8888+89bc7e79.noarch
                  from rhel-8-for-x86_64-appstream-rpms\n  - package satellite-common-6.16.0.1-1.el8sat.noarch
                  from satellite-6.16-for-rhel-8-x86_64-rpms obsoletes python38-pytz < 2021.3-2
                  provided by python38-pytz-2019.3-4.module+el8.9.0+19598+4a60c7b7.noarch
                  from rhel-8-for-x86_64-appstream-rpms\n  - cannot install the best update
                  candidate for package python38-cryptography-2.8-3.module+el8.9.0+19598+4a60c7b7.x86_64\n(try
                  to add '--skip-broken' to skip uninstallable packages or '--nobest' to
                  use not only best candidate packages)"

      Expected behavior:
      Packages should be removed during the upgrade as they are no longer used in 6.16.

      Business Impact / Additional info:

      Breaks upgrade process

              Unassigned Unassigned
              rhn-support-tasander Taft Sanders
              Lukas Pramuk Lukas Pramuk
              Votes:
              1 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated: