pulp_rpm does not currently support metalink so it's not capable of syncing from a metalink source. When you try to do that (the feed that isn't working) it treats it like a normal rpm remote repo and looks for the primary.xml file which it can't find and then bails.
pulp_rpm does support mirrorlist and is capable of following the mirror info from a URL (the second url, the one that works) to a specific mirror to find the primary.xml it needs. So that is why the second feed url works. On Thu, Mar 22, 2018 at 12:37 PM, Ashish Humbe <[email protected]> wrote: > Hi, > > When we try to create and sync the mirrorlist URL on Sat6.3 > with pulp-server-2.13.4.6-1 it fails > > # pulp-admin -u admin -p XXX rpm repo create --repo-id mirror4 --feed " > https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64" > > # pulp-admin -u admin -p XXX rpm repo sync run --repo-id mirror4 > +----------------------------------------------------------------------+ > Synchronizing Repository [mirror4] > +----------------------------------------------------------------------+ > This command may be exited via ctrl+c without affecting the request. > Downloading metadata... > [\] > Task Failed > Malformed repository: "primary" metadata is not found in repomd.xml > > > If I create a repo with "http://mirrors.fedoraproject.org/mirrorlist?repo= > fedora-24&arch=x86_64" feed URL then it works properly. > > Is this issue due to any problem with the fedoraproject epel-7 repo or a > pulp side issue (since with this URL yum works properly)? > > Any pointers? > > Regards, > Ashish > > _______________________________________________ > Pulp-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/pulp-list >
_______________________________________________ Pulp-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/pulp-list
