Hello,
I'm new to Pulp and trying to learn under the gun as it were...
Goal - to use Pulp to sync our RHN channels (including Errata) to be the 
repo(s) for SUSE Manager/Spacewalk.
Problem that I've ran into is that the spacewalk-repo-sync fails because the 
pulp repo doesn't create a 'repomd.xml' file for the tree.  Am I doing 
something wrong? Is there another switch I need to add to the create command?

Here is the error I get from the spacewalk server -

['/usr/bin/spacewalk-repo-sync', '--channel', 'rhel-6-server', '--type', 'yum', 
'--non-interactive', '']

RepoError: Cannot retrieve repository metadata (repomd.xml) for repository: 
rhel-6-server. (failure: repodata/repomd.xml from rhel-6-server: [Errno 256] No 
more mirrors to try.) Please verify its path and try again

Here are the commands I used to create/publish the repo -
pulp-admin rpm repo create --repo-id=rhel-6-server 
--feeds=https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os 
--feed-ca-cert=/etc/rhsm/ca/redhat-uep.pem 
--feed-cert=/etc/pki/entitlement/9155491768266904137.pem 
--feed-key=/etc/pki/entitlement/9155491768266904137-key.pem

pulp-admin rpm repo sync run --repo-id=rhel-6-server
pulp-admin rpm repo publish run --repo-id=rhel-6-server

Or, do I need to find the physical path and run the createrepo command 
manually? If so, what path do I use/what directory would I run the createrepo 
against?

I'm running pulp 2.6.0-1.el6 on a RHEL6.6 x86_64 server.

Thanks for your help,

Patrick


----------------------------------------------------------------------
This email and any files transmitted with it are confidential and intended 
solely for the use of the addressee. If you are not the intended addressee, 
then you have received this email in error and any use, dissemination, 
forwarding, printing, or copying of this email is strictly prohibited. Please 
notify us immediately of your unintended receipt by reply and then delete this 
email and your reply. Tyson Foods, Inc. and its subsidiaries and affiliates 
will not be held liable to any person resulting from the unintended or 
unauthorized use of any information contained in this email or as a result of 
any additions or deletions of information originally contained in this email.
_______________________________________________
Pulp-list mailing list
Pulp-list@redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to