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@sacpulp:/root # cd /etc/pki
root@sacpulp:/etc/pki # mkdir entitlement
root@sacpulp:/etc/pki # cd entitlement
root@sacpulp:/etc/pki/entitlement # scp
sacrhel6:/etc/pki/entitlement/4559066367770050104.pem .
root@sacpulp:/etc/pki/entitlement # scp
sacrhel6:/etc/pki/entitlement/4559066367770050104-key.pem .
root@sacpulp:/etc/pki/entitlement # cd /etc/pki/rpm-gpg
root@sacpulp:/etc/pki/rpm-gpg # scp sacrhel6:/etc/pki/rpm-gpg/* .
And then I add a repo definition for RHEL 6 server:
root@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@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@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.
_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list