Sorry, should have reread your post before replying. I am curious if your redhat-release file lines up with the regex for version_file.
The redhat section of the report is:
redhat:
cloudlinux6
fedora16
fedora17
fedora18
fedora19
fedora20
fedora21
rhel4
rhel5
rhel6
rhel7
Fred Magee, DTM
Systems Programmer
(505)768-4615 (Fax)
(505)205-5753 (Cell)
From: cobbler-bounces@lists.fedorahosted.org [mailto:cobbler-bounces@lists.fedorahosted.org] On Behalf Of Matt Luettgen
Sent: Friday, January 30, 2015 10:56 AM
To: cobbler mailing list
Subject: Re: [cobbler] cobbler import
cobbler signature update; cobbler signature report
On Jan 30, 2015 11:45 AM, "Magee, Fred" <fmagee@cabq.gov> wrote:
Here it is:
Fri Jan 30 10:44:25 2015 - ERROR | No signature matched in /var/www/cobbler/ks_mirror/rhel-server-5.11
Fri Jan 30 10:44:25 2015 - ERROR | ### TASK FAILED ###
Fred Magee, DTM
Systems Programmer
(505)768-4615 (Fax)
(505)205-5753 (Cell)
From: cobbler-bounces@lists.fedorahosted.org [mailto:cobbler-bounces@lists.fedorahosted.org] On Behalf Of Matt Luettgen
Sent: Friday, January 30, 2015 10:41 AM
To: cobbler mailing list
Subject: Re: [cobbler] cobbler import
160bytes? Paste it inline
On Jan 30, 2015 9:49 AM, "Magee, Fred" <fmagee@cabq.gov> wrote:
I don't know how to paste into a pastebin. The file is less than 160 bytes. Can I attach it to an email? If not, how do I do the pastebin procedure?
Thanks.
Fred Magee, DTM
Systems Programmer
(505)768-2978
(505)768-4615 (Fax)
(505)205-5753 (Cell)
fmagee@cabq.gov
-----Original Message-----
From: cobbler-bounces@lists.fedorahosted.org [mailto:cobbler-bounces@lists.fedorahosted.org] On Behalf Of Alan Evangelista
Sent: Friday, January 30, 2015 8:44 AM
To: cobbler@lists.fedorahosted.org
Subject: Re: [cobbler] cobbler import
On 01/29/2015 05:02 PM, Magee, Fred wrote:
>
> I am running Cobbler 2.6.3 and I have mounted the source directory on
> /mnt. My ISO is rhel-server-5.11-i386-dvd.iso. When I run cobbler
> import I get:
>
> cobbler import --path=/mnt --name redhat
>
> task started: 2015-01-29_115144_import
>
> task started (id=Media import, time=Thu Jan 29 11:51:44 2015)
>
> No signature matched in /var/www/cobbler/ks_mirror/redhat
>
> !!! TASK FAILED !!!
>
> The relevant section of distro_signatures.json is:
>
> "redhat": {
>
> "rhel5": {
>
> "signatures":["RedHat","Server","CentOS","Client"],
>
> "version_file":"(redhat|sl|centos)-release-5([^\\.][\\w]*)?[\\.-]+(.*)
> \\.rpm",
>
> "version_file_regex":null,
>
> "kernel_arch":"kernel-(.*).rpm",
>
> "kernel_arch_regex":null,
>
> "supported_arches":["i386","x86_64","ppc","ppc64"],
>
> "supported_repo_breeds":["rsync", "rhn", "yum"],
>
> "kernel_file":"vmlinuz(.*)",
>
> "initrd_file":"initrd(.*)\\.img",
>
> "isolinux_ok":false,
>
> "default_kickstart":"/var/lib/cobbler/kickstarts/sample.ks",
>
> "kernel_options":"",
>
> "kernel_options_post":"",
>
> "boot_files":[]
>
> },
>
> What am I missing for import to recognize the signature for this release?
>
I'd guess Cobbler is not finding the signature dir (one of the values in signatures list) or the version file in the mounted ISO.
Task log is in /var/log/cobbler/tasks. Could you paste this task log in a pastebin and send us its URL?
Then I can help further.
Regards,
Alan Evangelista
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.fedorahosted.org_mailman_listinfo_cobbler&d=AwIGaQ&c=nQp_iw8Uzq1sgzSGIdF1j6KNEFgmuezNMJJZgU0t45g&r=SDPgqkdwVVgWMz7UgYvYcw&m=bwV4hreIziObxzhJoPO1XrDKlwjl7tNT-CEwU5MAA-g&s=XDvXGVByjGafVRAEbB_HUP0DOw8sJbQrxD9nCqVLtSU&e=
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler