Hello, I have a similar issue as in:
http://www.mail-archive.com/cobbler@lists.fedorahosted.org/msg06845.html

to import centos 6.2 I did:

[root@cobbler repo_mirror]# cobbler import --name=Centos-6.2-i386 --arch=i386 --breed=redhat --path=rsync://ftp.ciril.fr/pub/linux/centos/6.2/os/i386/
task started: 2012-01-06_164207_import

which did right the rsync + creating the repo but failed with

received on stderr:
associating kickstarts
Exception occured: exceptions.AttributeError
Exception value: 'NoneType' object has no attribute 'endswith'
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_redhat.py", line 279, in run
    self.kickstart_finder(distros_added)
File "/usr/lib/python2.4/site-packages/cobbler/modules/manage_import_redhat.py", line 749, in kickstart_finder
    for rpm in self.get_release_files():
File "/usr/lib/python2.4/site-packages/cobbler/modules/manage_import_redhat.py", line 305, in get_release_files
    data = glob.glob(os.path.join(self.get_pkgdir(), "*release-*"))
   File "/usr/lib/python2.4/posixpath.py", line 62, in join
    elif path == '' or path.endswith('/'):

!!! TASK FAILED !!!

In the tread it is mentioned that it should be corrected in 2.3.1
where can I get 2.3.1 !? and a SRPMS so that I can recompile to the latest release ?

Thanks.
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to