Satellite client associated with Content View fails with "[Errno 14] HTTPS Error 404 - Not Found Trying other mirror" error.

Solution Verified - Updated -

Environment

  • Red Hat Satellite 6.x.

Issue

  • Yum transactions on the client systems that are registered to the Satellite fails with the below error.

    https://satellite.example.com/pulp/repos/RedHat/Library/RH-RHEL7/content/dist/rhel/server/7/7Server/x86_64/optional/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
    Trying other mirror.
    https://satellite.example.com/pulp/repos/RedHat/Library/RH-RHEL7/content/dist/rhel/server/7/7Server/x86_64/rh-common/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
    Trying other mirror.
    https://satellite.example.com/pulp/repos/RedHat/Library/RH-RHEL7/content/dist/rhel/server/7/7Server/x86_64/rhn-tools/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
    Trying other mirror.
    

Resolution

  • Re-synchronize the problematic repository.

    • On Satellite WEB UI > Content > Sync Status > synchronize the affected repository
  • Re-publish the content view by executing the below steps:

    • Satellite GUI --> Content --> Content Views --> Click on the content view --> Click on Publish New Version to re-publish.
  • If required, promote the content view to the required lifecycle environment.

    • Satellite GUI --> Content --> Content Views --> Click on the content view --> Promote the latest version of the content view to the required lifecycle environment by clicking on Promote
  • Now execute the below commands on the client systems.

    # subscription-manager refresh
    # rm -rf /var/cache/yum/*
    # yum clean all
    # yum repolist
    
  • Verify if the release version set on the affected server matches the release version for the host in Web UI

    # subscription-manager release --show
    
    • Satellite GUI -> Host -->Content Host- -> On Details page : Content Host Content

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.

Comments