On Tue, 2008-11-18 at 21:34 +0100, Javier Palacios wrote:
On Tue, Nov 18, 2008 at 3:53 PM, James Laska
<jlaska(a)redhat.com> wrote:
> The included changes add support for a new architecture 'ppc64'. Any
cobbler imports on a ppc tree will detect and add the appropriate distro's and
profiles for the ppc32 or ppc64 if applicable. For example:
>
> $ cobbler import --name rawhide --path /mnt/rawhide/nightly/rawhide-20081113/ppc/os
--available-as
http://gromit.redhat.com/pub/fedora/linux/development/ppc/os
> [...]
> ---------------- (associating kickstarts)
> - found content (breed=redhat) at
/mnt/rawhide/nightly/rawhide-20081113/ppc/os/ppc/ppc32
> --os-version for breed redhat must be one of rhel2.1, rhel3, rhel4, rhel5, fedora5,
fedora6, fedora7, fedora8, fedora9, fedora10, generic24, generic26, other, given was
rhel9
I don't believe it is related to your problem, but rawhide could
produce problems. There are two sets of files matching *release-*, and
in any case you probably need to add something to codes.py.
Sorry, coming up to speed on this now. So it appears that the
fedora-release and generic-release packages (each with different
version :( ) are confusing cobbler during import.
For example (with debugging enabled):
# cobbler import --name rawhide --path /mnt/rawhide/nightly/rawhide-20081113/i386/os
--available-as
http://gromit.redhat.com/pub/fedora/linux/development/i386/os
---------------- (adding distros)
- found content (breed=redhat) at
/mnt/rawhide/nightly/rawhide-20081113/i386/os/images/pxeboot
- creating new distro: rawhide-i386
- creating new profile: rawhide-i386
- creating new profile: rescue-rawhide-i386
---------------- (associating kickstarts)
- found content (breed=redhat) at
/mnt/rawhide/nightly/rawhide-20081113/i386/os/images/pxeboot
- processing rpm : fedora-release-10-1.noarch.rpm
- finding default kickstart template for fedora 10.0
fedora10, /etc/cobbler/sample_end.ks = importer.set_variance(fedora, 10.0, 1.0, i386)
- processing rpm : generic-release-9.91-2.noarch.rpm
- finding default kickstart template for redhat 9.0
rhel9, /etc/cobbler/sample.ks = importer.set_variance(redhat, 9.0, 91.0, i386)
--os-version for breed redhat must be one of rhel2.1, rhel3, rhel4, rhel5, fedora5,
fedora6, fedora7, fedora8, fedora9, fedora10, generic24, generic26, other, given was
rhel9
I'm not sure of the best approach here. Should cobbler interpret
generic-release as a fedora release? Alternatively, should we stop
scanning "*release*rpm" packages once we find a good one (e.g.
redhat-release or fedora-release)?
Thanks,
James
I cannot do anything with RedHat, but I will try the
fedora9/rawhide.
It looks that there is something now working well in the import code,
and I wanted to check a debian powerpc import in any case.
Javier Palacios
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler --
==========================================
James Laska -- jlaska(a)redhat.com
Quality Engineering -- Red Hat, Inc.
==========================================