[Spacewalk-list] Fedora21: cobbler issues - solved

Jonathan Hoser jonathan.hoser at helmholtz-muenchen.de
Wed Dec 10 07:52:42 UTC 2014


Found it:

/usr/lib/[your-python]/site-packages/cobbler/codes.py lines 43, 44;

added the 'generic' "fedora" entry, removed the codes.py[c,o] restarted
cobbler and the Distro-Add was successful.

Thought why SW sends '--os-version=fedora' remains a puzzle to me,
especially since fedora19,fedora20
seem to have been send to cobbler with the full version-string. (Maybe a
SW 2.2 thing?)

Best
-Jonathan

On 12/10/2014 08:33 AM, Jonathan Hoser wrote:
> Dear all,
>
> trying to setup Fedora21 Kickstart Distribution in SW2.2,
> I get an ISE:
>
> Caused by: redstone.xmlrpc.XmlRpcFault: <class
> 'cobbler.cexceptions.CX'>:'--os-version for breed redhat must be one of
> rhel2.1, rhel3, rhel4, rhel5, rhel6, rhel7, fedora5, fedora6, fedora7,
> fedora8, fedora9, fedora10, fedora11, fedora12, fedora13, fedora14,
> fedora15, fedora16, fedora17, fedora18, fedora19, fedora20, generic24,
> generic26, virtio26, other, given was fedora'
>     at redstone.xmlrpc.XmlRpcClient.handleResponse(XmlRpcClient.java:443)
>     at redstone.xmlrpc.XmlRpcClient.endCall(XmlRpcClient.java:376)
>     at redstone.xmlrpc.XmlRpcClient.invoke(XmlRpcClient.java:165)
>     at
> org.cobbler.CobblerConnection.invokeMethod(CobblerConnection.java:117)
>     at
> org.cobbler.CobblerConnection.invokeTokenMethod(CobblerConnection.java:150)
>     at org.cobbler.Distro.invokeModify(Distro.java:129)
>     at org.cobbler.CobblerObject.modify(CobblerObject.java:149)
>     at org.cobbler.Distro.setOsVersion(Distro.java:208)
>     at org.cobbler.Distro.create(Distro.java:65)
>     at
> com.redhat.rhn.manager.kickstart.cobbler.CobblerDistroCreateCommand.store(CobblerDistroCreateCommand.java:90)
>     at
> com.redhat.rhn.manager.kickstart.tree.BaseTreeEditOperation.store(BaseTreeEditOperation.java:94)
>
>
> I'm looking into things, but if someone has some pointers for me, I'd be
> most delighted!
>
> Best
> -Jonathan
>
> On 12/09/2014 03:41 PM, Jonathan Hoser wrote:
>> Hi all,
>>
>> for all of you wanting to get the new Fedora 21 -
>> here are the definition lines for spacewalk-common-channels.ini
>>
>> Now, if we could get a spacewalk-client for F21... *g* *hint,hint*
>>
>> Best
>> -Jonathan
>>
>>
>> [fedora21]
>> archs    = %(_x86_archs)s
>> checksum = sha256
>> name     = Fedora 21 (%(arch)s)
>> gpgkey_url = https://fedoraproject.org/static/95A43F54.txt
>> gpgkey_id = 95A43F54
>> gpgkey_fingerprint = 6596 B8FB ABDA 5227 A9C5  B59E 89AD 4E87 95A4 3F54
>> yumrepo_url =
>> https://mirrors.fedoraproject.org/metalink?repo=fedora-21&arch=%(arch)s
>> dist_map_release = 21
>>
>> [fedora21-updates]
>> label    = %(base_channel)s-updates
>> name     = Fedora 21 Updates (%(arch)s)
>> archs    = %(_x86_archs)s
>> checksum = sha256
>> base_channels = fedora21-%(arch)s
>> yumrepo_url =
>> https://mirrors.fedoraproject.org/metalink?repo=updates-released-f21&arch=%(arch)s
>>
>> [fedora21-debug]
>> label    = %(base_channel)s-debug
>> name    = Fedora 21 Debug (%(arch)s)
>> archs    = %(_x86_archs)s
>> checksum = sha256
>> base_channels = fedora21-%(arch)s
>> yumrepo_url =
>> https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-21&arch=%(arch)s
>>
>> [fedora21-updates-debug]
>> label    = %(base_channel)s-updates-debug
>> name    = Fedora 21 Updates Debug (%(arch)s)
>> archs    = %(_x86_archs)s
>> checksum = sha256
>> base_channels = fedora21-%(arch)s
>> yumrepo_url =
>> https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f21&arch=%(arch)s
>>
>>
>>
>>
>>
>> --
>> Jonathan Hoser, M.Sc.
>> Institute of Bioinformatics and System Biology
>> Phone: +49-89-3187-4556
>> Fax: +49-89-3187-3585
>> Email: jonathan.hoser at helmholtz-muenchen.de
>> WWW: http://mips.helmholtz-muenchen.de
>>
>>
>>
>> Helmholtz Zentrum München
>> Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
>> Ingolstädter Landstr. 1
>> 85764 Neuherberg
>> www.helmholtz-muenchen.de
>> Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe
>> Geschäftsführer: Prof. Dr. Günther Wess, Dr. Nikolaus Blum, Dr. Alfons Enhsen
>> Registergericht: Amtsgericht München HRB 6466
>> USt-IdNr: DE 129521671
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> --
> Jonathan Hoser, M.Sc.
> Institute of Bioinformatics and System Biology
> Phone: +49-89-3187-4556
> Fax: +49-89-3187-3585
> Email: jonathan.hoser at helmholtz-muenchen.de
> WWW: http://mips.helmholtz-muenchen.de
>
>
>
> Helmholtz Zentrum München
> Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
> Ingolstädter Landstr. 1
> 85764 Neuherberg
> www.helmholtz-muenchen.de
> Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe
> Geschäftsführer: Prof. Dr. Günther Wess, Dr. Nikolaus Blum, Dr. Alfons Enhsen
> Registergericht: Amtsgericht München HRB 6466
> USt-IdNr: DE 129521671
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list


--
Jonathan Hoser, M.Sc.
Institute of Bioinformatics and System Biology
Phone: +49-89-3187-4556
Fax: +49-89-3187-3585
Email: jonathan.hoser at helmholtz-muenchen.de
WWW: http://mips.helmholtz-muenchen.de


Helmholtz Zentrum München
Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
Ingolstädter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe
Geschäftsführer: Prof. Dr. Günther Wess, Dr. Nikolaus Blum, Dr. Alfons Enhsen
Registergericht: Amtsgericht München HRB 6466
USt-IdNr: DE 129521671




More information about the Spacewalk-list mailing list