I am having an issue with Pulp syncing the rhel 7 server repository, but a 
similarly setup optional packages repository sync works.  Does anyone have any 
suggestions about what to do, or where to look?  Any help would be greatly 
appreciated.

They were created like this and I got the information out of the 
/etc/yum.repos.d/redhat.repo file on one of our rhel 7 systems, and the cert 
files were copied from it as well:

certnum=xxxxxxxxxxxxxxxxx
        pulp-admin rpm repo create --repo-id=rhel-7-server-rpms \
                
--feed=https://cdn.redhat.com/content/dist/rhel/server/7/7server/x86_64/os \
                --feed-ca-cert=/etc/rhsm/ca/redhat-uep.pem \
                --feed-cert=/etc/pki/entitlement/${certnum}.pem \
                --feed-key=/etc/pki/entitlement/${certnum}-key.pem \
                --gpg-key=/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release \
                --relative-url=rhel-7-server-rpms \
                --serve-http=True

        pulp-admin rpm repo create --repo-id=rhel-7-server-optional-rpms \
                
--feed=https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/optional/os
 \
                --feed-ca-cert=/etc/rhsm/ca/redhat-uep.pem \
                --feed-cert=/etc/pki/entitlement/${certnum}.pem \
                --feed-key=/etc/pki/entitlement/${certnum}-key.pem \
                --gpg-key=/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release \
                --relative-url=rhel-7-server-optional-rpms \
                --serve-http=True

When I sync the rhel 7 server repo, I see this:
pulp-admin rpm repo sync run --repo-id=rhel-7-server-rpms
+----------------------------------------------------------------------+
             Synchronizing Repository [rhel-7-server-rpms]
+----------------------------------------------------------------------+
This command may be exited via ctrl+c without affecting the request.
Downloading metadata...
[\]
... completed
Downloading repository content...
[-]
[==================================================] 100%
RPMs:       0/0 items
Delta RPMs: 0/0 items
... completed
Downloading distribution files...
[==================================================] 100%
Distributions: 0/0 items
Task Failed
Error retrieving metadata: Not Found

When I check the messages file, I see this:
Nov 17 15:44:26 sacpulp pulp: nectar.downloaders.threaded:INFO: Download 
failed: Download of 
https://cdn.redhat.com/content/dist/rhel/server/7/7server/x86_64/os/repodata/repomd.xml
 failed with code 404: Not Found

When I do the successful sync of the optional packages repo, I see this instead:
Nov 17 16:05:48 sacpulp pulp: nectar.downloaders.threaded:INFO: Download 
succeeded: https://cdn.redhat.com/content/d    
ist/rhel/server/7/7Server/x86_64/optional/os/repodata/repomd.xml.

Thank you, and best regards,

Don Wolfe
Sr. Unix Administrator
Central Garden and Pet
1340 Treat Blvd. Suite 600
Walnut Creek, CA 94597
Email:  [email protected]
Office:  (925) 948-2829
Mobile:  (925) 239-5941

Disclaimer: This communication and any attachments contain private, 
confidential, privileged and/or proprietary information intended solely for the 
Recipient(s) named above. If you are not the intended Recipient, any use, 
dissemination, distribution or copying of the communication is strictly 
prohibited. If received in error, we apologize and ask that you please notify 
the Sender by returning this e-mail and permanently deleting this communication 
from your computer, including destruction of any printed copies. Any views 
expressed herein are not necessarily those of the Company represented by this 
e-mail source. No contracts, agreements or legally binding understandings may 
be entered into solely by an e-mail communication.
_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to