Bug 1007396

Summary: can't sync pulp repo
Product: [Retired] Pulp Reporter: cristi falcas <cristi.falcas>
Component: rpm-supportAssignee: Barnaby Court <bcourt>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: medium    
Version: MasterCC: cristi.falcas, mhrivnak, pthomas, skarmark
Target Milestone: ---Keywords: Triaged
Target Release: 2.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-09 06:56:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description cristi falcas 2013-09-12 11:56:04 UTC
Description of problem:
when syncing from http://yum.puppetlabs.com/el/6Server/products/x86_64/, the followinf error is thrown:

[Thu Sep 12 07:50:08 2013] [error] InvalidChecksumType: Unknown checksum type [sha]

Remote repodata has sha as the checksum:

http://yum.puppetlabs.com/el/6Server/products/x86_64/repodata/repomd.xml

Version-Release number of selected component (if applicable):
2.2

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 cristi falcas 2013-09-13 08:14:32 UTC
Looks like this is a problem only with  --validate true

Comment 2 Michael Hrivnak 2013-11-04 14:26:13 UTC
This was probably already fixed by work done by bcourt.

Comment 3 Barnaby Court 2013-11-25 19:31:52 UTC
Verified on current master, this was fixed.

Comment 4 Jeff Ortel 2014-04-03 13:36:01 UTC
build: 2.4.0-0.7.beta

Comment 5 Preethi Thomas 2014-04-16 13:43:42 UTC
verified
[root@pulp-24-server ~]# rpm -qa pulp-serverpulp-server-2.4.0-0.9.beta.el6.noarch
[root@pulp-24-server ~]# 

[root@pulp-24-server ~]# pulp-admin rpm repo create --repo-id yum-puppet --feed http://yum.puppetlabs.com/el/6Server/products/x86_64/ --validate=true
Successfully created repository [yum-puppet]

[root@pulp-24-server ~]# 
[root@pulp-24-server ~]# 
[root@pulp-24-server ~]# 
[root@pulp-24-server ~]# pulp-admin rpm repo sync run --repo-id yum-puppet
+----------------------------------------------------------------------+
                 Synchronizing Repository [yum-puppet]
+----------------------------------------------------------------------+

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


Downloading metadata...
[/]
... completed

Downloading repository content...
[==================================================] 100%
RPMs:       352/352 items
Delta RPMs: 0/0 items

... completed

Downloading distribution files...
[==================================================] 100%
Distributions: 0/0 items
... completed

Importing errata...
[-]
... completed

Importing package groups/categories...
[-]
... completed


Task Succeeded



Publishing rpms...
[==================================================] 100%
Rpms: 352/352 items
... completed

Publishing repository over HTTPS
[-]
... completed


Task Succeeded


[root@pulp-24-server ~]#

Comment 6 Randy Barlow 2014-08-09 06:56:29 UTC
This has been fixed in Pulp 2.4.0-1.