I was on 1.6.3, I've just installed 1.6.5 to see if it helps. I cleared
out all the Ubuntu stuff from my last attempt and it seems to have gone
them same way.
---------------- (adding distros)
- warning: avoiding symlink loop
- warning: avoiding symlink loop
- warning: avoiding symlink loop
- found content (breed=ubuntu) at
/var/www/cobbler/ks_mirror/Ubuntu-9.04/install
- creating new distro: Ubuntu-9.04-i386
- creating new profile: Ubuntu-9.04-i386
- warning: avoiding symlink loop
- found content (breed=ubuntu) at
/var/www/cobbler/ks_mirror/Ubuntu-9.04/install/netboot/ubuntu-installer/
i386
- warning: skipping import, as distro name already exists:
Ubuntu-9.04-i386
---------------- (associating repos)
- traversing distro Ubuntu-9.04-i386
- found content (breed=ubuntu) at
/var/www/cobbler/ks_mirror/Ubuntu-9.04/install
- descent into /var/www/cobbler/ks_mirror/Ubuntu-9.04
- Added repos for Ubuntu-9.04-i386
---------------- (associating kickstarts)
- found content (breed=ubuntu) at
/var/www/cobbler/ks_mirror/Ubuntu-9.04/install
- processing deb : base-files_5ubuntu4_i386.deb
pop from empty list
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 83,
in main
rc = BootCLI().run(sys.argv)
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 61,
in run
return self.loader.run(args)
File "/usr/lib/python2.4/site-packages/cobbler/commands.py", line 122,
in run
return fn.run()
File "/usr/lib/python2.4/site-packages/cobbler/modules/cli_misc.py",
line 124, in run
breed=self.options.breed
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 596, in
import_tree
return importer.run()
File "/usr/lib/python2.4/site-packages/cobbler/action_import.py", line
210, in run
self.kickstart_finder(distros_added)
File "/usr/lib/python2.4/site-packages/cobbler/action_import.py", line
272, in kickstart_finder
results = importer.scan_pkg_filename(rpm)
File "/usr/lib/python2.4/site-packages/cobbler/action_import.py", line
1176, in scan_pkg_filename
accum.pop(0)
-Corey
-----Original Message-----
From: cobbler-bounces(a)lists.fedorahosted.org
[mailto:cobbler-bounces@lists.fedorahosted.org] On Behalf Of Jasper
Capel
Sent: Friday, May 29, 2009 2:57 AM
To: cobbler mailing list
Subject: Re: Cobbler Import Ubuntu 9.04
On 05/28/2009 09:19 PM, Michael DeHaan wrote:
Corey Garst wrote:
> Any tricks to getting a Ubuntu profile for PXE? I'm not clear on how
> well it's supposed to work from the documentation.
> Here's what happened when I tried a cobbler import of a standard
> ubuntu-9.04-alternate-i386.iso file.
>
> ---------------- (adding distros)
> - warning: avoiding symlink loop
> - warning: avoiding symlink loop
> - warning: avoiding symlink loop
> - found content (breed=ubuntu) at
> /var/www/cobbler/ks_mirror/Ubuntu-9.04/install
> - creating new distro: Ubuntu-9.04-i386
> - creating new profile: Ubuntu-9.04-i386
> - warning: avoiding symlink loop
> ---------------- (associating repos)
> - traversing distro Ubuntu-9.04-i386
> - found content (breed=ubuntu) at
> /var/www/cobbler/ks_mirror/Ubuntu-9.04/install
> - descent into /var/www/cobbler/ks_mirror/Ubuntu-9.04
> - Added repos for Ubuntu-9.04-i386
> ---------------- (associating kickstarts)
> - found content (breed=ubuntu) at
> /var/www/cobbler/ks_mirror/Ubuntu-9.04/install
> - processing deb : base-files_5ubuntu4_i386.deb
>
> pop from empty list
> File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line
83,
> in main
> rc = BootCLI().run(sys.argv)
>
> File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line
61,
> in run
> return self.loader.run(args)
>
> File "/usr/lib/python2.4/site-packages/cobbler/commands.py", line
122,
> in run
> return fn.run()
>
> File
"/usr/lib/python2.4/site-packages/cobbler/modules/cli_misc.py",
> line 124, in run
> breed=self.options.breed
>
> File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 594,
in
> import_tree
> return importer.run()
>
> File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line
> 210, in run
> self.kickstart_finder(distros_added)
>
> File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line
> 272, in kickstart_finder
> results = importer.scan_pkg_filename(rpm)
>
> File "/usr/lib/python2.4/site-packages/cobbler/action_import.py",
line
> 1241, in scan_pkg_filename
> accum.pop(0)
>
> Thanks
> Corey Garst
>
> _______________________________________________
> cobbler mailing list
> cobbler(a)lists.fedorahosted.org
>
https://fedorahosted.org/mailman/listinfo/cobbler
>
Perhaps some of the folks who worked on this can jump in and help (and
maybe update the Wiki docs better).
All patches to make any of the Ubuntu support (or even repo support)
work better are welcome.
Porting all of the snippets over to work in the same way, and to make
the profile/repo associations work (like they do for yum) I think
would
be an invaluable contribution.
Also making sure koan works and finishing out the packaging efforts
for
each (see the devel branch and email me if you're interested in
details)
I sent in some patches a while ago, and those went to the devel branch
afaik. It fixed imports and PXE boots using the alternate media up till
at least Ubuntu 8.10. Virtual deployments didn't work yet there.
Corey, what version did you try?
At that time, I wrote this page:
https://fedorahosted.org/cobbler/wiki/Ubuntu. To my knowledge this is
still up-to-date.
-Jasper
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler