On Thu, Nov 3, 2011 at 5:52 AM, Eric Doutreleau <[email protected]> wrote: > Hi > > i m trying to use the long waited feature of the 2.2.x version which is > the debian import. > > i launch the following command > > cobbler import --name=lenny-amd64 \ > --breed=debian --arch=x86_64 --os-version=lenny \ > > --path=rsync://ftp2.fr.debian.org/debian/dists/lenn/main/installer-amd64/current/images/netboot/debian-installer/amd64 > \ > --rsync-flags="--quiet" > > task started: 2011-11-03_114536_import > task started (id=Media import, time=Thu Nov 3 11:45:36 2011) > scanning > rsync://ftp2.fr.debian.org/debian/dists/lenny/main/installer-amd64/current/images/netboot/debian-installer/amd64 > for a redhat-based distro signature > Warning: No distro signature for kernel at > rsync://ftp2.fr.debian.org/debian/dists/lenny/main/installer-amd64/current/images/netboot/debian-installer/amd64, > using value from command line > running: rsync -a > 'rsync://ftp2.fr.debian.org/debian/dists/lenny/main/installer-amd64/current/images/netboot/debian-installer/amd64/' > /var/www/cobbler/ks_mirror/lenny-amd64-x86_64/ --quiet > --exclude-from=/etc/cobbler/rsync.exclude --quiet > received on stdout: > received on stderr: > adding distros > creating new distro: lenny-x86_64 > creating new profile: lenny-x86_64
It looks like your distro and profile were imported just fine, however: > associating repos > traversing distro lenny-x86_64 > descent into > rsync://ftp2.fr.debian.org/debian/dists/lenny/main/installer-amd64/current/images/netboot/debian-installer/amd64 > Exception occured: exceptions.TypeError > Exception value: process_repos() takes exactly 3 arguments (1 given) > Exception Info: > File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 93, in run > rc = self._run(self) > File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 232, > in runner > self.logger > File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 759, 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.4/site-packages/cobbler/modules/manage_import_debian_ubuntu.py", > line 249, in run > self.repo_finder(distros_added) > File > "/usr/lib/python2.4/site-packages/cobbler/modules/manage_import_debian_ubuntu.py", > line 334, in repo_finder > self.process_repos() We appear to have a bug in the repo part of the import. I'll take a look into this, you may just have to add the debian repos manually after the import is done. _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
