I’ve been trying to puzzle out the regex in the version file but our iso is 
rhel-server-5.11-i386-dvd.iso. This doesn’t look much like the regex in the 
file and my attempts to modify it have all failed.

Fred Magee, DTM
Systems Programmer
(505)768-2978
(505)768-4615 (Fax)
(505)205-5753 (Cell)
fma...@cabq.gov

From: cobbler-boun...@lists.fedorahosted.org 
[mailto:cobbler-boun...@lists.fedorahosted.org] On Behalf Of Matt Luettgen
Sent: Friday, January 30, 2015 11:13 AM
To: cobbler mailing list
Subject: Re: [cobbler] cobbler import


Sorry, should have reread your post before replying.  I am curious if your 
redhat-release file lines up with the regex for version_file.
On Jan 30, 2015 11:59 AM, "Magee, Fred" 
<fma...@cabq.gov<mailto:fma...@cabq.gov>> wrote:
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-2978<tel:%28505%29768-2978>
(505)768-4615<tel:%28505%29768-4615> (Fax)
(505)205-5753<tel:%28505%29205-5753> (Cell)
fma...@cabq.gov<mailto:fma...@cabq.gov>

From: 
cobbler-boun...@lists.fedorahosted.org<mailto:cobbler-boun...@lists.fedorahosted.org>
 
[mailto:cobbler-boun...@lists.fedorahosted.org<mailto:cobbler-boun...@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" 
<fma...@cabq.gov<mailto:fma...@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-2978<tel:%28505%29768-2978>
(505)768-4615<tel:%28505%29768-4615> (Fax)
(505)205-5753<tel:%28505%29205-5753> (Cell)
fma...@cabq.gov<mailto:fma...@cabq.gov>

From: 
cobbler-boun...@lists.fedorahosted.org<mailto:cobbler-boun...@lists.fedorahosted.org>
 
[mailto:cobbler-boun...@lists.fedorahosted.org<mailto:cobbler-boun...@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" 
<fma...@cabq.gov<mailto:fma...@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<tel:%28505%29768-2978>
(505)768-4615<tel:%28505%29768-4615> (Fax)
(505)205-5753<tel:%28505%29205-5753> (Cell)
fma...@cabq.gov<mailto:fma...@cabq.gov>


-----Original Message-----
From: 
cobbler-boun...@lists.fedorahosted.org<mailto:cobbler-boun...@lists.fedorahosted.org>
 
[mailto:cobbler-boun...@lists.fedorahosted.org<mailto:cobbler-boun...@lists.fedorahosted.org>]
 On Behalf Of Alan Evangelista
Sent: Friday, January 30, 2015 8:44 AM
To: cobbler@lists.fedorahosted.org<mailto: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<file:///\\.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<file:///\\.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<mailto: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<mailto:cobbler@lists.fedorahosted.org>
https://lists.fedorahosted.org/mailman/listinfo/cobbler<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.fedorahosted.org_mailman_listinfo_cobbler&d=AwMFaQ&c=nQp_iw8Uzq1sgzSGIdF1j6KNEFgmuezNMJJZgU0t45g&r=SDPgqkdwVVgWMz7UgYvYcw&m=8UqvYu5a0alhVNoEvp2HirN9P-PRBHKjfXlX_zJ8SNM&s=3_N24Nmra6l4ByTYkBy4X2kRC-qJrRQQ2ZMyTNtC6UU&e=>

_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org<mailto:cobbler@lists.fedorahosted.org>
https://lists.fedorahosted.org/mailman/listinfo/cobbler<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.fedorahosted.org_mailman_listinfo_cobbler&d=AwMFaQ&c=nQp_iw8Uzq1sgzSGIdF1j6KNEFgmuezNMJJZgU0t45g&r=SDPgqkdwVVgWMz7UgYvYcw&m=fDkW2ZED2caFdwmVHKYljj78DocDSWZ72aZwZHxsIf8&s=gXTSxewanM6WljSof1Vthh_jBy5vJHJQns8gFzyiFm4&e=>

_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org<mailto:cobbler@lists.fedorahosted.org>
https://lists.fedorahosted.org/mailman/listinfo/cobbler<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.fedorahosted.org_mailman_listinfo_cobbler&d=AwMFaQ&c=nQp_iw8Uzq1sgzSGIdF1j6KNEFgmuezNMJJZgU0t45g&r=SDPgqkdwVVgWMz7UgYvYcw&m=pIA0zS9R1Dc-NgjkHbii4kBCEOPe7V2ORxMZLGj4uac&s=nqsv1YbbEfSbGu8gAL5BtRz1c0-LXz1LQ5tn7-VhfJ4&e=>
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler

Reply via email to