Project

Profile

Help

Issue #2429

repomd.xml in a published yum repository is empty when retrieved via HTTP

Added by alanoe almost 4 years ago. Updated over 1 year ago.

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

Description

Error:
XML Parsing Error: no element found
Location: http://pkvm-repomgr.aus.stglabs.ibm.com/pulp/repos/in-3.1.0.0-service-installer-20160805130000-binary/repodata/repomd.xml
Line Number 1, Column 1:
^

I get an empty file if I try to download the file. File content in server is OK (not empty). This blocks me to use the published yum repositories with yum; when I try, I get the following error:
[Errno -1] Error importing repomd.xml for all: Damaged repomd.xml file

This occurs independently if XSendFile Apache module is enabled or not, so it seems to me it is not related to issue #2427.

History

#1 Updated by bmbouter almost 4 years ago

What does the file look like on disk? Could you paste the output of cat /var/lib/pulp/published/ ... /<reponame>/repomd.xml ? Also does the file differ between http, https, and master? http and https I expect to publish to be symlinks to the actual publish in master.

#2 Updated by bizhang almost 4 years ago

  • Status changed from NEW to CLOSED - WORKSFORME

#3 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF