Project

Profile

Help

Issue #1630

Pulp not syncing RH repos

Added by paji@redhat.com over 5 years ago. Updated over 2 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Master
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Pulp seems to fail pretty badly with RH repos like the ones at -> http://download.devel.redhat.com/released/Satellite-6/6.1-GA/RHEL-7/Satellite/x86_64/os/

RH repo rpms are usually under "./Packages", while non RH repo rpms are in the same directory level as "repodata" . Pulp seems to misinterpret metadata and not download rpms correctly.

$ pulp-admin rpm repo create --repo-id=life --feed=http://download.devel.redhat.com/released/Satellite-6/6.1-GA/RHEL-7/Satellite/x86_64/os/
Successfully created repository [life]

$ pulp-admin rpm repo sync run --repo-id=life
+----------------------------------------------------------------------+
                    Synchronizing Repository [life]
+----------------------------------------------------------------------+

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

Downloading metadata...
[|]
... completed

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

... completed

Individual package errors encountered during sync:

Package:
http://download.devel.redhat.com/released/Satellite-6/6.1-GA/RHEL-7/Satellite/x8
6_64/os/aether-api-1.13.1-13.el7.noarch.rpm
Error:   

Package:
http://download.devel.redhat.com/released/Satellite-6/6.1-GA/RHEL-7/Satellite/x8
6_64/os/aether-connector-wagon-1.13.1-13.el7.noarch.rpm
Error:   

Package:
http://download.devel.redhat.com/released/Satellite-6/6.1-GA/RHEL-7/Satellite/x8
6_64/os/aether-impl-1.13.1-13.el7.noarch.rpm
Error:   

Package:
http://download.devel.redhat.com/released/Satellite-6/6.1-GA/RHEL-7/Satellite/x8
6_64/os/aether-spi-1.13.1-13.el7.noarch.rpm
Error:   

Package:
http://download.devel.redhat.com/released/Satellite-6/6.1-GA/RHEL-7/Satellite/x8
6_64/os/aether-util-1.13.1-13.el7.noarch.rpm
Error:   

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

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

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

Task Succeeded

Initializing repo metadata
[-]
... completed

Publishing Distribution files
[-]
... completed

Publishing RPMs
[-]
... completed

Publishing Delta RPMs
... skipped

Publishing Errata
[-]
... completed

Publishing Comps file
[-]
... completed

Publishing Metadata.
[-]
... completed

Closing repo metadata
[-]
... completed

Generating sqlite files
... skipped

Publishing files to web
[-]
... completed

Writing Listings File
[-]
... completed

Task Succeeded

History

#1 Updated by paji@redhat.com over 5 years ago

The error logs indicate no package got downloaded and it 404ed through out for every rpm listed

....
{'url': u'http://download.devel.redhat.com/released/Satellite-6/6.1-GA/RHEL-7/Satellite/x86_64/os/createrepo_c-0.7.4-1.el7sat.x86_64.rpm', u'errors': [u'Not Found']}
...

It did not add 'Packages' prefix as in "http://download.devel.redhat.com/released/Satellite-6/6.1-GA/RHEL-7/Satellite/x86_64/os/Packages/createrepo_c-0.7.4-1.el7sat.x86_64.rpm" ..

#2 Updated by paji@redhat.com over 5 years ago

  • Status changed from NEW to CLOSED - DUPLICATE

#3 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF