[Pulp-list] PULP - repo structure

Nelson Manuel Marques nelson-manuel-marques at telecom.pt
Mon Dec 15 14:38:19 UTC 2014


Hi all,

It's working now too... the only difference is that I used '--relative-url=/nginx/$dist/$arch (as opposed to --relative-url=nginx/$dist/$arch) and I had a --feed also.

It's working now properly :) Time to go dig in ISSO mirroring and others.

Thanks !

NM




-----Mensagem original-----
De: Barnaby Court [mailto:bcourt at redhat.com] 
Enviada: 15 de dezembro de 2014 14:36
Para: Nelson Manuel Marques
Cc: pulp-list at redhat.com
Assunto: Re: [Pulp-list] PULP - repo structure

Hi, 

Can you provide the error that you are encountering?  The relative url you specified should be fine.  I just tested your command as specified using the current 2.5-testing source code and was able to sync & publish as https://<myserver>/pulp/repos/nginx/6/x86_64/.  The only thing that stands out from what you sent is that if you would like to serve via http as opposed to https you will need to specify '--serve-http true' on your repo.

--Barnaby

----- Original Message -----
From: "Nelson Manuel Marques" <nelson-manuel-marques at telecom.pt>
To: pulp-list at redhat.com
Sent: Monday, December 15, 2014 9:06:47 AM
Subject: [Pulp-list] PULP - repo structure

Hi,

I'm currently testing 'PULP' to mirror CentOS and other repositories in my intranet so I can avoid internet traffic for our development machines; The first mirror I've tried to pull up (because it's small) is the one from NGINX upstream. I would like to have a layout pretty much as:

 http://myserver/pulp/repos/nginx/${dist}/${arch}

Running something like:

 $ pulp-admin -u admin rpm repo create --repo-id=nginx-el6-x86_64 --feed http://nginx.org/packages/centos/6/x86_64/ --relative-url=nginx/6/x86_64

Won't work and breaks with na error. Looking at the logs, it appears that --relative-url is the culprit; Is it possible to create such hierarchy with PULP? Ori t must be something like:

http://myserver/pulp/repos/nginx-el5-x86_64
http://myserver/pulp/repos/nginx-el5-i386
http://myserver/pulp/repos/nginx-el6-x86_64
http://myserver/pulp/repos/nginx-el6-i386

Is there a workaround for such cases? Anyone can help?

Kindest Regards,
NM
 



_______________________________________________
Pulp-list mailing list
Pulp-list at redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list




More information about the Pulp-list mailing list