Project

Profile

Help

Issue #8287

Rhel8 remote redhat repo showing Malformed repository: metadata is missing for some packages in filelists.xml and in other.xml

Added by midhuhk 9 days ago. Updated about 3 hours ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
Platform Release:
OS:
RHEL 7
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Remote repo: appstream-rhel8

data": { "reason": "metadata is missing for some packages in filelists.xml and in other.xml" }, "description": "Malformed repository: metadata is missing for some packages in filelists.xml and in other.xml",

History

#1 Updated by fao89 8 days ago

  • Project changed from Pulp to RPM Support

#2 Updated by ipanova@redhat.com 8 days ago

  • Tags Pulp 2 added

#3 Updated by ggainey 8 days ago

@midhuhk - this is a Pulp2 error-msg. Can you tell us what version of Pulp2 you're using? Also, can you tell us the URL you're using to sync rhel8-appstream? Thanks

#4 Updated by ggainey 8 days ago

Running on pulp-2.21.5, the following script sync'd rhel8-base and rhel8-appstream from cdn.redhat.com successfully:

#!/bin/bash -v
BASE='rhel8-baseos'
STREAM='rhel8-appstream'
REMOTE1='http://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/'
REMOTE2='http://cdn.redhat.com/content/dist/rhel8/8/x86_64/appstream/os/'
DEST='destination'
pulp-admin rpm repo create --repo-id=$BASE --relative-url=$BASE --feed=$REMOTE1 \
        --download-policy on_demand \
        --generate-sqlite false --repoview false \
        --feed-ca-cert /home/vagrant/devel/pulp_startup/CDN_cert/redhat-uep.pem \
        --feed-cert /home/vagrant/devel/pulp_startup/CDN_cert/cdn.crt \
        --feed-key /home/vagrant/devel/pulp_startup/CDN_cert/cdn.key
pulp-admin rpm repo sync run --repo-id=$BASE
pulp-admin rpm repo create --repo-id=$STREAM --relative-url=$STREAM --feed=$REMOTE2 \
        --download-policy on_demand \
        --generate-sqlite false --repoview false \
        --feed-ca-cert /home/vagrant/devel/pulp_startup/CDN_cert/redhat-uep.pem \
        --feed-cert /home/vagrant/devel/pulp_startup/CDN_cert/cdn.crt \
        --feed-key /home/vagrant/devel/pulp_startup/CDN_cert/cdn.key
pulp-admin rpm repo sync run --repo-id=$STREAM
pulp-admin rpm repo create --repo-id=$DEST
pulp-admin repo list

If the problem persists, you might want to open a support ticket with Red Hat - it's more likely a problem with bad data on CDN, and there isn't anything Pulp can do about that.

#5 Updated by midhuhk 6 days ago

Pulp version used : 2.21.3-1.el7. I see issue only with appstream repo . Base repo works fine. Case has already been opened with redhat . Just want to make sure on pulp side as well

link : https://cdn.redhat.com/content/dist/rhel8/8/x86_64/appstream/os/

#6 Updated by dalley 6 days ago

  • Triaged changed from No to Yes

#7 Updated by midhuhk 2 days ago

Redhat confirmed CDN is fine and validated by syncing with satellite in lab setup and it was fine . But with pulp sync , its still showing same error for me . Any suggestions ??

#8 Updated by ggainey about 23 hours ago

midhuhk wrote:

Redhat confirmed CDN is fine and validated by syncing with satellite in lab setup and it was fine . But with pulp sync , its still showing same error for me . Any suggestions ??

On CentOS7 on 2.21.3, I can't recreate - whatever the problem is, it's not Pulp.

I'm leaning towards "bad repo on a specific akamai node". Syncing "from a lab machine" won't help if that's the case, because you don't know what CDN node you're getting the content from.

If you ping cdn.redhat.com from the pulp2 box, what Ip/machine does it return? I'll see if I can coerce my reproducer into using that specific node for its feed and see what happens.

#9 Updated by midhuhk about 7 hours ago

cdn.redhat.com is connected via proxy like all other repo . For failed repo sync ,destination IP is pointing to 95.101.92.251

#10 Updated by ggainey about 3 hours ago

midhuhk wrote:

cdn.redhat.com is connected via proxy like all other repo . For failed repo sync ,destination IP is pointing to 95.101.92.251

Well, there;s another idea down the tubes. I linked cdn.redhat.com to that specific IP/akamai-node and sync'd rhel8-appstream with no problem (other than it being slow due to coming from Far Away).

Somewhere there is a cache of filelists.xml and other.xml, that is broken, that your sync is finding. Is your proxy perchance a caching proxy?

The repo-metadata appears to be ok, we've had no other reports of pulp2 having problems with rhel8-appstream. I'm out of ideas, I'm afraid. :(

Please register to edit this issue

Also available in: Atom PDF