[Pulp-list] Error syncing RHEL 6 server repo

Donald Wolfe dwolfe at central.com
Tue Oct 3 20:32:17 UTC 2017


Hi Pulp list,

I am trying to get Pulp to serve up RHEL repositories, but having an issue and hoped someone might help.

I have a CentOS 7 system I am using to serve up s/w repositories with Pulp.  I am able to successfully use CentOS 6 and 7 repositories.  I am having trouble with RHEL repos.

I copies over Certificate files from an existing RHEL 6 machine:

root at sacpulp:/root #  cd /etc/pki

root at sacpulp:/etc/pki #  mkdir entitlement

root at sacpulp:/etc/pki #  cd entitlement

root at sacpulp:/etc/pki/entitlement #  scp sacrhel6:/etc/pki/entitlement/4559066367770050104.pem .

root at sacpulp:/etc/pki/entitlement #  scp sacrhel6:/etc/pki/entitlement/4559066367770050104-key.pem .



root at sacpulp:/etc/pki/entitlement #  cd /etc/pki/rpm-gpg

root at sacpulp:/etc/pki/rpm-gpg #  scp sacrhel6:/etc/pki/rpm-gpg/* .



And then I add a repo definition for RHEL 6 server:



root at sacpulp:/etc/pki/entitlement #  pulp-admin rpm repo create --repo-id=rhel-6-server-rpms \

        --feed=https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os \

        --feed-ca-cert=/etc/rhsm/ca/redhat-uep.pem \

        --feed-key=/etc/pki/entitlement/4559066367770050104-key.pem \

        --feed-cert=/etc/pki/entitlement/4559066367770050104.pem \

        --relative-url=rhel-6-server-rpms \

        --gpg-key=/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release \

        --serve-http=True



No errors...



Then I try and sync it up, and it runs for a while and bombs with this message:



root at sacpulp:/etc/pki/rpm-gpg # pulp-admin rpm repo sync run --repo-id=rhel-6-server-rpms

+----------------------------------------------------------------------+

             Synchronizing Repository [rhel-6-server-rpms]

+----------------------------------------------------------------------+



This command may be exited via ctrl+c without affecting the request.





Downloading metadata...

[\]

... completed



Downloading repository content...

[/]

[================                                  ] 33%

RPMs:       6573/19742 items

Delta RPMs: 0/0 items



An internal error occurred on the Pulp server:



RequestException: GET request on

/pulp/api/v2/tasks/64e8e910-084a-454b-89ff-228a5dd863d6/ failed with 500 -

localhost:27017: [Errno 111] Connection refused



When I ran it again, it bombed immediately:

root at sacpulp:/etc/pki/rpm-gpg # pulp-admin rpm repo sync run --repo-id=rhel-6-server-rpms

+----------------------------------------------------------------------+

             Synchronizing Repository [rhel-6-server-rpms]

+----------------------------------------------------------------------+



An internal error occurred on the Pulp server:



RequestException: POST request

on /pulp/api/v2/tasks/search/ failed with 500 - localhost:27017: [Errno 111]

Connection refused



Any ideas would be appreciated...

Thank you, and best regards,

Don

Office:  (925) 948-2829

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20171003/c51e111c/attachment.htm>


More information about the Pulp-list mailing list