How to find errata or package artifacts files under /var/lib/pulp on pulp-3 ?

Solution Verified - Updated -

Issue

Having some issue with repository metadata or (corrupted or missing) package, one needs to check the content of a repodata file (repomd.xml, updateinfo.xml etc.) or RPM package itself as stored on the disk on Satellite or Capsule. With pulp-2, the files were stored explicitly in /var/lib/pulp/published/yum/master/yum_distributor/REPO/TIMESTAMP/repodata/ (or packages) dir (and also behind symlink / URI path like/var/lib/pulp/published/yum/https/repos/RedHat/Library/content/dist/rhel8/8/x86_64/baseos/os).

pulp-3 does not follow that approach and stores the content under /var/lib/pulp/media/artifact directory. How to identify all or some specified repo metadata file or particular RPM there?

Environment

Red Hat Satellite / Capsule 6.10 or newer

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content