Project

Profile

Help

Issue #512

closed

Pulp cannot sync an EPEL 5 repository that was published by Pulp

Added by rbarlow about 9 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.4.1
Platform Release:
2.6.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Description of problem:
I cannot sync an EPEL 5 repository that was published by Pulp.

Version-Release number of selected component (if applicable):
2.4.1-0.7.beta.

How reproducible:
Every time.

Steps to Reproduce:
1. Sync/Publish EPEL 5 (https://download.fedoraproject.org/pub/epel/5/x86_64/)
2. Create a new repo that has the Pulp published EPEL 5 as its feed.
3. Sync the new repo

Actual results:
$ pulp-admin rpm repo sync run --repo-id epel-5 --------------------------------------------------------------------
Synchronizing Repository [epel-5]
--------------------------------------------------------------------

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

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

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

... failed

Task Failed

Importer indicated a failed response

$ sudo cat /var/log/messages | grep <the_fail>
Sep 4 17:38:18 grapefruit pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: sync failed
Sep 4 17:38:18 grapefruit pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: Traceback (most recent call last):
Sep 4 17:38:18 grapefruit pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: File "/home/rbarlow/devel/pulp_rpm/plugins/pulp_rpm/plugins/importers/yum/sync.py", line 113, in run
Sep 4 17:38:18 grapefruit pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: self.update_content(metadata_files)
Sep 4 17:38:18 grapefruit pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: File "/home/rbarlow/devel/pulp_rpm/plugins/pulp_rpm/plugins/importers/yum/sync.py", line 267, in update_content
Sep 4 17:38:18 grapefruit pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: purge.purge_unwanted_units(metadata_files, self.sync_conduit, self.call_config)
Sep 4 17:38:18 grapefruit pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: File "/home/rbarlow/devel/pulp_rpm/plugins/pulp_rpm/plugins/importers/yum/purge.py", line 37, in purge_unwanted_units
Sep 4 17:38:18 grapefruit pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: remove_missing_errata(metadata_files, conduit)
Sep 4 17:38:18 grapefruit pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: File "/home/rbarlow/devel/pulp_rpm/plugins/pulp_rpm/plugins/importers/yum/purge.py", line 127, in remove_missing_errata
Sep 4 17:38:18 grapefruit pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: updateinfo.process_package_element)
Sep 4 17:38:18 grapefruit pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: File "/home/rbarlow/devel/pulp_rpm/plugins/pulp_rpm/plugins/importers/yum/purge.py", line 255, in get_remote_units
Sep 4 17:38:18 grapefruit pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: for model in package_info_generator:
Sep 4 17:38:18 grapefruit pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: File "/home/rbarlow/devel/pulp_rpm/plugins/pulp_rpm/plugins/importers/yum/repomd/packages.py", line 63, in package_list_generator
Sep 4 17:38:18 grapefruit pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: package_info = process_func(element)
Sep 4 17:38:18 grapefruit pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: File "/home/rbarlow/devel/pulp_rpm/plugins/pulp_rpm/plugins/importers/yum/repomd/updateinfo.py", line 27, in process_package_element
Sep 4 17:38:18 grapefruit pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: 'description': element.find('description').text,
Sep 4 17:38:18 grapefruit pulp: pulp_rpm.plugins.importers.yum.sync:ERROR: AttributeError: 'NoneType' object has no attribute 'text'
Sep 4 17:38:18 grapefruit pulp: celery.worker.job:ERROR: Task pulp.server.tasks.repository.sync_with_auto_publish[6a7f5fdd-6214-47ae-b9ff-fa569924bbe3] raised unexpected: PulpExecutionException('Importer indicated a failed response',)

Expected results:
The second repo sync should succeed.

Additional info:
I noticed this with EPEL 5, though it may not be unique to EPEL 5. I haven't tried to do this same operation with other repositories.

+ This bug was cloned from Bugzilla Bug #1138475 +


Related issues

Blocked by Pulp - Issue #647: rpm repo publish fails with "Incorrect length of data produced" errorCLOSED - CURRENTRELEASEbcourtActions

Also available in: Atom PDF