If I specify a os-version it imports the distro and adds distro and profiles to cobbler correctly, however I get a nice traceback. There must be some code expecting the dists dir somewhere that relies on this for a repo? Installing after is just fine, although you need to link your profile to a seed file.
$ cobbler import --name=natty-i386 --path=/tmp/tmp.Fk9UxW4Yrv --breed=ubuntu --os-version=natty task started: 2011-04-21_111651_import task started (id=Media import, time=Thu Apr 21 11:16:51 2011) Warning: No distro signature for kernel at /tmp/tmp.Fk9UxW4Yrv, using value from command line running: rsync -a '/tmp/tmp.Fk9UxW4Yrv/' /var/www/cobbler/ks_mirror/natty-i386/ --exclude-from=/etc/cobbler/rsync.exclude --quiet received on stdout: received on stderr: adding distros creating new distro: natty-i386 creating new profile: natty-i386 associating repos traversing distro natty-i386 descent into /tmp/tmp.Fk9UxW4Yrv Exception occured: <type 'exceptions.TypeError'> Exception value: process_repos() takes exactly 3 arguments (1 given) Exception Info: File "/usr/lib/python2.7/dist-packages/cobbler/remote.py", line 93, in run rc = self._run(self) File "/usr/lib/python2.7/dist-packages/cobbler/remote.py", line 227, in runner self.logger File "/usr/lib/python2.7/dist-packages/cobbler/api.py", line 756, in import_tree return manager.run(pkgdir,mirror_url,mirror_name,network_root,kickstart_file,rsync_flags,arch,breed,os_version) File "/usr/lib/python2.7/dist-packages/cobbler/modules/manage_import_debian_ubuntu.py", line 249, in run self.repo_finder(distros_added) File "/usr/lib/python2.7/dist-packages/cobbler/modules/manage_import_debian_ubuntu.py", line 334, in repo_finder self.process_repos() -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cobbler in Ubuntu. https://bugs.launchpad.net/bugs/765224 Title: import from mini.iso fails -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs