Project

Profile

Help

Issue #2429

closed

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

Added by alanoe over 7 years ago. Updated about 5 years 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.

Actions #1

Updated by bmbouter over 7 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.

Actions #2

Updated by bizhang over 7 years ago

  • Status changed from NEW to CLOSED - WORKSFORME
Actions #3

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF