Re: [Pulp-list] syncing RHEL5 repositories

2015-05-05 Thread Baird, Josh
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-boun...@redhat.com [mailto:pulp-list-boun...@redhat.com] On 
Behalf Of Webb, Reece
Sent: Monday, May 04, 2015 4:41 PM
To: Pulp-list@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
___
Pulp-list mailing list
Pulp-list@redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list

[Pulp-list] syncing RHEL5 repositories

2015-05-04 Thread Webb, Reece
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
___
Pulp-list mailing list
Pulp-list@redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list