[Errno 14] HTTPS Error 403 - Forbidden when trying to install packages from capsules

Solution Verified - Updated -

Issue

When capsules are load balanced and capsule and/or repository are configured with On-Demand sync, clients are able to launch commands like yum repolist correctly but downloading packages will fail.

    [root@client01 ~]# yum repolist -v
    (...)
    (16/24): rhel-7-server-satellite-tools-6.3-rpms/x86_64/group          | 1.1 kB  00:00:00     
    (17/24): rhel-7-server-satellite-tools-6.3-rpms/x86_64/updateinfo     | 8.1 kB  00:00:00     
    (18/24): rhel-7-server-satellite-tools-6.3-rpms/x86_64/primary        |  22 kB  00:00:00     
    (...)
    Repo-id      : rhel-7-server-satellite-tools-6.3-rpms/x86_64
    Repo-name    : Red Hat Satellite Tools 6.3 (for RHEL 7 Server) (RPMs)
    Repo-revision: 1534428556
    Repo-updated : Thu Aug 16 16:09:18 2018
    Repo-pkgs    : 80
    Repo-size    : 8.2 M
    Repo-baseurl : https://lb-satellite-capsule.example.com/pulp/repos/Example/Library/ccv-rhel74/content/dist/rhel/server/7/7Server/x86_64/sat-tools/6.3/os/
    (...)

    [root@client01 ~]# yum update katello-agent
    (...)
    rhel-7-server-satellite-tools-6.3-rpms                        | 2.1 kB  00:00:00     
    Resolving Dependencies
    --> Running transaction check
    ---> Package katello-agent.noarch 0:3.0.2-1.el7sat will be updated
    ---> Package katello-agent.noarch 0:3.1.0-2.el7sat will be an update
    --> Finished Dependency Resolution

    Dependencies Resolved

    ========================================================================================
     Package         Arch     Version          Repository                               Size
    ========================================================================================
    Updating:
     katello-agent   noarch   3.1.0-2.el7sat   rhel-7-server-satellite-tools-6.3-rpms   26 k

    Transaction Summary

    ========================================================================================
    Upgrade  1 Package(s)

    Total download size: 26 k
    Is this ok [y/d/N]: y
    Downloading packages:
    No Presto metadata available for rhel-7-server-satellite-tools-6.3-rpms
    katello-agent-3.1.0-2.el7sat.n FAILED                                          
    https://lb-satellite-capsule.example.com/pulp/repos/Example/Library/ccv-rhel74/content/dist/rhel/server/7/7Server/x86_64/sat-tools/6.3/os/Packages/k/katello-agent-3.1.0-2.el7sat.noarch.rpm: [Errno 14] HTTPS Error 403 - Forbidden

Environment

  • Satellite 6.3
  • Load balanced capsules

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.