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

Upgrading Satellite version from 6.15 to 6.16 fails with error nothing provides module(postgresql:13) needed by module satellite:el8:61620240906175455:25814d71.x86_64

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Critical Critical
    • None
    • 6.16.0
    • Upgrades
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • Important
    • None

      Description of problem:

      Upgrading to Satellite version 6.16 fails with below error:

       

             nothing provides module(postgresql:13) needed by module satellite:el8:61620240906175455:25814d71.x86_64

       

      How reproducible: Always{}

       

      Steps to Reproduce:

      1. Deploy a FIPS enabled Satellite 6.15 server

      2. Run below commands to perform the 6.16 upgrade:

      1. curl -o /etc/pki/ca-trust/source/anchors/satellite-sat-engineering-ca.crt http://satellite.sat.engineering.redhat.com/pub/katello-server-ca.crt; update-ca-trust
      1. curl -o /etc/yum.repos.d/satellite.repo http://ohsnap.sat.engineering.redhat.com/api/releases/6.16.0/snaps/3.0/el8/satellite/repo_file
      1. satellite-maintain self-upgrade --maintenance-repo-label=Satellite_Engineering_Satellite_6_16_Composes_Satellite_Maintenance_6_16_RHEL8
      1. satellite-maintain upgrade check -y --whitelist=repositories-validate,repositories-setup,non-rh-packages
      1. satellite-maintain upgrade run -y --whitelist=repositories-validate,repositories-setup,non-rh-packages

       

      Actual behavior:
      The upgrade fails with below error:

      Switch the given stream modules:                                      [FAIL]
      Failed executing dnf -y --disableplugin=foreman-protector module switch-to postgresql:13, exit status 1:
       Updating Subscription Management repositories.
      Satellite 6.16 RHEL8                            5.8 kB/s | 2.6 kB     00:00    
      Satellite Maintenance 6.16 RHEL8                4.8 kB/s | 2.1 kB     00:00    
      Modular dependency problem:

       Problem: conflicting requests
        - nothing provides module(postgresql:13) needed by module satellite:el8:61620240906175455:25814d71.x86_64 from Satellite_Engineering_Satellite_6_16_Composes_Satellite_6_16_RHEL8
      Error: Problems in request:
      missing groups or modules: postgresql:13
      Modular dependency problems:

       Problem: conflicting requests
        - nothing provides module(postgresql:13) needed by module satellite:el8:61620240906175455:25814d71.x86_64 from Satellite_Engineering_Satellite_6_16_Composes_Satellite_6_16_RHEL8
      --------------------------------------------------------------------------------
      Scenario [Migration scripts] failed.

      The following steps ended up in failing state:

        [packages-switch-modules]

       

      Expected behavior:

      The upgrade should be successful{}

       

      Additional Info:

       

      Upgrading Capsule server is also not successful

       

      Switch the given stream modules:                                      [FAIL]
      Failed executing dnf -y --disableplugin=foreman-protector module switch-to postgresql:13, exit status 1:
       Updating Subscription Management repositories.
      Satellite Capsule 6.16 RHEL8                    5.8 kB/s | 2.6 kB     00:00    
      Satellite Maintenance 6.16 RHEL8                4.7 kB/s | 2.1 kB     00:00    
      Installing module 'postgresql:13' from Fail-Safe repository @modulefailsafe is not allowed
      Error: Installing module from Fail-Safe repository is not allowed
      --------------------------------------------------------------------------------
      Scenario [Migration scripts] failed.

      The following steps ended up in failing state:

        [packages-switch-modules]
        [packages-enable-modules]

      Resolve the failed steps and rerun the command.

       

              Unassigned Unassigned
              rhn-support-jbhatia Jayant Bhatia
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: