Hello,
I'm trying to add EPEL7 repo locally to my repo_mirror folder. In EPEL7 repo do not exist "config.repo" file, so cobbler can't add it. Also, EPEL7 folder is structured in subfolders, one per letter, while EPEL6 had all RPMs in the same folder... I don't know if it could be the problem but I would need to add EPEL7 to my repos.
Thanks.
On 10/22/2014 03:53 AM, Personal Técnico wrote:
Hello,
I'm trying to add EPEL7 repo locally to my repo_mirror folder. In EPEL7 repo do not exist "config.repo" file, so cobbler can't add it. Also, EPEL7 folder is structured in subfolders, one per letter, while EPEL6 had all RPMs in the same folder... I don't know if it could be the problem but I would need to add EPEL7 to my repos.
Isn't config.repo something that cobbler creates? Seems like you problem may be elsewhere. What errors do you see? What are the cobbler.log messages?
subfolder repo structure is fine.
I have centos and rhel 7.0 repos in cobbler working fine. Used the import iso on web page. No issues, apart from centos is missing loads of 32bit libs (which rhel has). Not a cobbler issue; issue with contents of iso.
-- Alastair Munro
-----Original Message----- From: Orion Poplawski orion@cora.nwra.com To: cobbler mailing list cobbler@lists.fedorahosted.org Sent: Thu, 23 Oct 2014 18:38 Subject: Re: [cobbler] Problems with EPEL7 repo
On 10/22/2014 03:53 AM, Personal Técnico wrote:
Hello,
I'm trying to add EPEL7 repo locally to my repo_mirror folder. In EPEL7 repo do not exist "config.repo" file, so cobbler can't add it. Also, EPEL7 folder is structured in subfolders, one per letter, while EPEL6 had all RPMs in the same folder... I don't know if it could be the problem but I would need to add EPEL7 to my repos.
Isn't config.repo something that cobbler creates? Seems like you problem may be elsewhere. What errors do you see? What are the cobbler.log messages?
subfolder repo structure is fine.
Here is what I have for my EPEL7 repo:
cobbler repo report --name=epel-7-x86_64 Name : epel-7-x86_64 Apt Components (apt only) : [] Apt Dist Names (apt only) : [] Arch : x86_64 Breed : yum Comment : Createrepo Flags : <<inherit>> Environment Variables : {} Keep Updated : True Mirror : http://mirror.symnds.com/distributions/fedora-epel/7/x86_64/ Mirror locally : True Owners : ['admin'] Priority : 99 External proxy URL : RPM List : [] Yum Options : {}
/var/www/cobbler/repo_mirror/epel-7-x86_64 does have a lot of lettered directories, but that mirrors EPEL 7 itself.
This configuration is working for me.
On Thu, Oct 23, 2014 at 10:37 AM, Orion Poplawski orion@cora.nwra.com wrote:
On 10/22/2014 03:53 AM, Personal Técnico wrote:
Hello,
I'm trying to add EPEL7 repo locally to my repo_mirror folder. In EPEL7 repo do not exist "config.repo" file, so cobbler can't add it. Also, EPEL7 folder is structured in subfolders, one per letter, while EPEL6 had all RPMs in the same folder... I don't know if it could be the problem but I would need to add EPEL7 to my repos.
Isn't config.repo something that cobbler creates? Seems like you problem may be elsewhere. What errors do you see? What are the cobbler.log messages?
subfolder repo structure is fine.
-- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane orion@nwra.com Boulder, CO 80301 http://www.nwra.com _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
Wiki page i created a while back: https://github.com/cobbler/cobbler/wiki/Creating%20custom%20yum%20repos
I think createrepo deals with subdirs?
Presumably reposync deals with keeping the repo in sync? Guess you need to filter the el7 packages out somehow; rsync filtering on filename?
-- Alastair Munro
-----Original Message----- From: Orion Poplawski orion@cora.nwra.com To: cobbler mailing list cobbler@lists.fedorahosted.org Sent: Thu, 23 Oct 2014 18:38 Subject: Re: [cobbler] Problems with EPEL7 repo
On 10/22/2014 03:53 AM, Personal Técnico wrote:
Hello,
I'm trying to add EPEL7 repo locally to my repo_mirror folder. In EPEL7 repo do not exist "config.repo" file, so cobbler can't add it. Also, EPEL7 folder is structured in subfolders, one per letter, while EPEL6 had all RPMs in the same folder... I don't know if it could be the problem but I would need to add EPEL7 to my repos.
Isn't config.repo something that cobbler creates? Seems like you problem may be elsewhere. What errors do you see? What are the cobbler.log messages?
subfolder repo structure is fine.
cobbler@lists.fedorahosted.org