On Mon, Feb 28, 2011 at 10:14 PM, Scott Henson <shenson(a)redhat.com> wrote:
On Mon, 28 Feb 2011 12:29:38 +0100, Kåre Hviid <ukh(a)svansen.se>
wrote:
> I also see this issue on RHEL6 x86_64 and EPEL cobbler-2.0.10-1.
>
> > > You could try this quick workaround:
> > >
https://fedorahosted.org/pipermail/cobbler/2010-October/005940.html
>
> > The file is in package python-cheetah which belongs to RHEL, yet i didnt
> > find code there matching to the commit you mentioned.
>
> Actually, it appears to work if I _add_ the above mentioned patch to the
> python-cheetah package. I don't know what else might break though.
Can you try cobbler 2.0.9 or build the latest stable? Both should work
as expected.
I'm running 2.0.9 on RHEL 6.0 and the basic stuff seems to be OK.
However, I can't get cobbler import working:
# cobbler import --path /path/to/mounted/repo --name=RHEL-5.6-i386
--available-as=nfs://filer:path:
task started: 2011-03-11_090236_import
task started (id=Media import, time=Fri Mar 11 09:02:36 2011)
adding distros
associating kickstarts
# echo $?
0
after that, "cobbler distro list" does not see the new distro added,
cobbler sync does not helo..
I think the paths and nfs exports are correct (I could mount the
export, for example), but cobbler import reports no error even though
it does not add the distro.
I worked around that with "cobbler distro add" which seems to work
fine even though its slightly harder to use.