[Pulp-list] syncing RHEL5 repositories

Webb, Reece Reece.Webb at ucsf.edu
Tue May 5 16:15:36 UTC 2015


I’m still seeing the same checksum errors:

bash-3.2# yum repolist
rad-base                                                                                                                                                                                                                                                                                                                                             | 4.2 kB     00:00
rad-base/primary_db                                                                                                                                                                                                                                                                                                                                  | 1.3 MB     00:00
http://yummy.radiology.ucsf.edu/pulp/repos/base-5Client/repodata/1679c7a2f70fde9cb9ca7c75e93a432f64a1196b619668bdcd21400e8ef880f7-primary.sqlite.bz2: [Errno -3] Error performing checksum

I even tried deleting and recreating the repository using —checksum=sha1 as suggested instead of —checksum-type=sha1. Same error.

# pulp-admin rpm repo create —repo-id=base-5Client --relative-url=base-5Client --generate-sqlite=true --serve-http=true --retain-old-count=2 --remove-missing=true --checksum=sha1 --description="Red Hat Enterprise Linux 5 Client - Base" --feed=https://cdn.redhat.com/content/dist/rhel/workstation/5/5Client/x86_64/kickstart/ --feed-ca-cert=/etc/rhsm/ca/redhat-uep.pem --feed-cert=/etc/pki/pulp/content/Workstation-Entitlement.pem --feed-key=/etc/pki/pulp/content/Workstation-Entitlement.pem

What other info can I provide to help troubleshoot this?

Thanks,
Reece


From: "Baird, Josh"
Date: Tuesday, May 5, 2015 at 4:25 AM
To: Reece Webb, "Pulp-list at redhat.com<mailto:Pulp-list at redhat.com>"
Subject: RE: syncing RHEL5 repositories

Here is what you need to do:

$ pulp-admin rpm repo update --checksum=sha1 --repo-id=repo
$ pulp-admin rpm repo publish run --repo-id=repo

Thanks,

Josh

From: pulp-list-bounces at redhat.com<mailto:pulp-list-bounces at redhat.com> [mailto:pulp-list-bounces at redhat.com] On Behalf Of Webb, Reece
Sent: Monday, May 04, 2015 4:41 PM
To: Pulp-list at redhat.com<mailto:Pulp-list at redhat.com>
Subject: [Pulp-list] syncing RHEL5 repositories

I’m able to sync RHEL5 repositories to Pulp 2.6.1, but I get a checksum error when I try a ‘yum update’ on a RHEL5 host:

[Errno -3] Error performing checksum

I found a few threads from a couple of years ago stating that this was apparently an issue with the repository being published with sha256. I’ve tried re-creating my repositories with —checksum-type=sha1, but no luck. I checked repomd.xml, I still see sha256 listed. Any advice?

Here’s my repo create:

# pulp-admin rpm repo create --repo-id=rad-5Client --relative-url=rad-5Client --generate-sqlite=true --serve-http=true --retain-old-count=2 --remove-missing=true --checksum-type=sha1 --description="Red Hat Enterprise Linux 5 Client - Updates" --feed=https://cdn.redhat.com/content/dist/rhel/workstation/5/5Client/x86_64/os/ --feed-ca-cert=/etc/rhsm/ca/redhat-uep.pem --feed-cert=/etc/pki/pulp/content/Workstation-Entitlement.pem --feed-key=/etc/pki/pulp/content/Workstation-Entitlement.pem

Thanks,
Reece
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20150505/15bd2c07/attachment.htm>


More information about the Pulp-list mailing list