Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1200564 - RHEL 5 yum content fails to sync to capsules
Summary: RHEL 5 yum content fails to sync to capsules
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Foreman Proxy
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: jaudet
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-10 20:44 UTC by jaudet
Modified: 2017-02-23 20:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-13 19:58:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description jaudet 2015-03-10 20:44:07 UTC
Description of problem:
RHEL 5 repositories do not fully sync to capsules. As a result, RHEL 5 content hosts that register to a satellite and attach an appropriate subscription are unable to consume any content.

Version-Release number of selected component (if applicable):
Produced on a RHEL 7.0 server running Satellite-6.1.0-RHEL-7-20150303.0.

How reproducible:
Unknown

Steps to Reproduce:
1. On a satellite, sync a RHEL 5 repository. For example: "Red Hat Enterprise Linux 5 Server RPMs x86_64 5Server".
2. On that satellite, create a product which contains that repository.
3. Attach a capsule to that satellite.
4. Sync content to that capsule using a command such as `hammer capsule content synchronize ...`
5. Register a RHEL 5 content host to the capsule and attach an appropriate subscription to that content host. Attempt to list or consume content. Alternatively, check if the content has been made available with a command like this:

    test -d /var/lib/pulp/published/yum/https/repos/Default_Organization/Library/content/dist/rhel/server/5; echo $?

Actual results:
The client is unable to consume content. Instead, errors like this are emitted:

    [root@example ~]# yum repolist
    Loaded plugins: product-id, security, subscription-manager
    https://example.com/pulp/repos/Default_Organization/Library/content/dist/rhel/server/5/5Server/x86_64/os/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
    Trying other mirror.
    repo id             repo name                                 status
    rhel-5-server-rpms  Red Hat Enterprise Linux 5 Server (RPMs)  0
    repolist: 0


Expected results:
The client can consume content, or the relevant directory exists and is populated with content.

Additional info:

Comment 4 jaudet 2015-03-13 19:58:29 UTC
Unable to reproduce this issue. History of commands from a RHEL 5 client:

    # history
        1  passwd
        2  rpm -Uvh http://my-capsule.example.com/pub/katello-ca-consumer-latest.noarch.rpm
        3  rm -f /etc/yum.repos.d/beaker*
        4  yum clean all
        5  subscription-manager register --org="Default_Organization" --activationkey="rhel5-oldfart"
        6  yum list --available --all
        7  subscription-manager --available --all
        8  subscription-manager list --available --all
        9  subscription-manager attach --pool 8a9084f14c0f5c9e014c0f6bb7bd009a
       10  yum repolist
       11  yum list | less
       12  yum install zsh


Note You need to log in before you can comment on or make changes to this bug.