Upgrade to Red Hat Capsule 6.16 fails with module satellite:el8 from @modulefailsafe requires module(postgresql:12) but none of the providers can be installed.

Solution Verified - Updated

Environment

  • Red Hat Capsule 6.15
  • Red Hat Capsule 6.16

Issue

  • Red Hat Capsule upgrade from 6.15 to Red Hat Capsule 6.16 fails with below error message:

    Problem: module satellite:el8:61520241010164927:10fe54c7.x86_64 from @modulefailsafe requires 
    module(postgresql:12), but none of the providers can be installed
    module postgresql:12:8090020240209130909:a75119d5.x86_64 from rhel-8-for-x86_64-appstream-rpms conflicts with 
    module(postgresql:13) provided by postgresql:13:8100020240814102212:489197e6.x86_64 
    from rhel-8-for-x86_64-appstream-rpms
    

Resolution

  • Check the modules enabled on Capsule server:

    # dnf module list | grep satellite
      satellite             el8 [e]                                                  Satellite module                                                                                                                                                                                                                          
      satellite-5-client    1.0 [d][e]      common [d], gui                   Red Hat Satellite 5 client packages                                                                                                                                                                                                       
      satellite-capsule     el8 [e]                                                  Satellite Capsule module                                                                                                                                                                                                                  
      satellite-maintenance el8 [e]                                                  Satellite Maintenance module                                                                                                                                                                                                              
      satellite-maintenance el8 [e]                                                  Satellite Maintenance module                                                                                                                                                                                                              
    
  • Above output indicates that the satellite module is also enabled on the Capsule server.

  • Disable the satellite module coming from modulefailsafe:

    # dnf module disable satellite
    
  • If satellite module is not found on the Capsule server, perform a complete sync of the repositories listed below from Satellite Web UI to ensure up-to-date content delivery to the Capsule server.

    rhel-8-for-x86_64-baseos-rpms
    rhel-8-for-x86_64-appstream-rpms
    satellite-capsule-6.15-for-rhel-8-x86_64-rpms
    satellite-maintenance-6.15-for-rhel-8-x86_64-rpms
    satellite-capsule-6.16-for-rhel-8-x86_64-rpms
    satellite-maintenance-6.16-for-rhel-8-x86_64-rpms
    
    Navigate to Satellite Web UI -> Content -> Products -> Open the respective Product -> Search for the respective Repositories -> Open the Repository -> Select Action -> Advanced Sync -> Complete Sync -> Sync
    

    NOTE: Make sure all sync tasks complete successfully.

  • If the Capsule server is associated to any Content view, publish and promote the Content view afterwards.

  • Rerun the upgrade:

    # satellite-maintain upgrade run
    

For more KB articles/solutions related to Red Hat Satellite 6.x Installation/Upgrade/Update Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Installation/Upgrade/Update Issues.

Root Cause

  • Satellite module is enabled on Capsule server:

    # dnf module list| grep satellite
    satellite             el8 [e]                                                  Satellite module                                                                                                                                                                                                                          
    satellite-5-client    1.0 [d][e]      common [d], gui                     Red Hat Satellite 5 client packages                                                                                                                                                                                                       
    satellite-capsule     el8 [e]                                                  Satellite Capsule module                                                                                                                                                                                                                  
    satellite-maintenance el8 [e]                                                  Satellite Maintenance module                                                                                                                                                                                                              
    satellite-maintenance el8 [e]                                                  Satellite Maintenance module                                                                                                                                                                                      
    
  • Capsule server lacks the necessary packages to resolve the module conflict issue.

Diagnostic Steps

  • Red Hat Capsule upgrade from 6.15 to Red Hat Capsule 6.16 fails with error:

       # satellite-maintain upgrade run
    
       Switch the given stream modules:                                      [OK]
       Enable the given stream modules:                                      [FAIL]
       Failed executing dnf -y --disableplugin=foreman-protector module enable satellite-capsule:el8, exit status 1:
       Updating Subscription Management repositories.
       Red Hat Enterprise Linux 8 for x86_64 - BaseOS   16 kB/s | 4.1 kB     00:00
       Red Hat Enterprise Linux 8 for x86_64 - AppStre  14 kB/s | 4.5 kB     00:00
       Red Hat Satellite Maintenance 6.16 for RHEL 8 x  11 kB/s | 4.2 kB     00:00
       Red Hat Satellite Capsule 6.16 for RHEL 8 x86_6  14 kB/s | 4.5 kB     00:00
       Modular dependency problem:
    
       Problem: module satellite:el8:61520241010164927:10fe54c7.x86_64 from @modulefailsafe requires 
       module(postgresql:12), but none of the providers can be installed
    
  • Check the list of module enabled on Red Hat Satellite Capsule:

       # dnf module list --enabled | head
    
       @modulefailsafe
       Name                  Stream          Profiles                                 Summary                                                                                                                                                                                                                                   
       javapackages-tools    201801 [e]      common                                   Tools and macros for Java 
       packaging support                                                                                                                                                                                               
       satellite             el8 [e]                                                  Satellite module  
    
  • Verify that all required repositories are synced up-to-date in Satellite Web UI.

  • A lower package count may be observed on the Capsule server using the command below.

    # dnf repoinfo
    
SBR
Product(s)
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.