Hello,

I am receiving the following when I do an import on the latest version of
cobbler from git (git cloned, this evening April 6 @ 19:00)

cobbler import --name=RHEL5.5 --path=/mnt --arch=x86_64
.....

sent 3417255675 bytes  received 63751 bytes  24322558.19 bytes/sec
total size is 3416592321  speedup is 1.00

received on stderr:
adding distros
creating new distro: RHEL5.5-x86_64
creating new profile: RHEL5.5-x86_64
creating new distro: RHEL5.5-xen-x86_64
creating new profile: RHEL5.5-xen-x86_64
associating repos
traversing distro RHEL5.5-x86_64
descent into /var/www/cobbler/ks_mirror/RHEL5.5
traversing distro RHEL5.5-xen-x86_64
descent into /var/www/cobbler/ks_mirror/RHEL5.5
associating kickstarts
symlink creation failed: %(base)s, %(dest)s
Exception occured: <type 'exceptions.TypeError'>
Exception value: unsupported operand type(s) for %: 'NoneType' and 'dict'
Exception Info:
  File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 93, in run
    rc = self._run(self)
   File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 227, in
runner
    self.logger
   File "/usr/lib/python2.6/site-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.6/site-packages/cobbler/modules/manage_import_redhat.py",
line 279, in run
    self.kickstart_finder(distros_added)
   File
"/usr/lib/python2.6/site-packages/cobbler/modules/manage_import_redhat.py",
line 771, in kickstart_finder
    self.configure_tree_location(distro)
   File
"/usr/lib/python2.6/site-packages/cobbler/modules/manage_import_redhat.py",
line 793, in configure_tree_location
    self.logger.warning("symlink creation failed: %(base)s, %(dest)s") % {
"base" : base, "dest" : dest_link }

!!! TASK FAILED !!!
[root@yuofail cobbler]# cobbler list
distros:
   RHEL5.5-x86_64
   RHEL5.5-xen-x86_64

profiles:
   RHEL5.5-x86_64
   RHEL5.5-xen-x86_64

systems:

repos:

images:

mgmtclasses:

packages:

files:


Why is this happening?

This is running on Fedora 13, 64bit

# cobbler --version
Cobbler 2.1.0
  source: ?, ?
  build time: Wed Apr  6 19:09:56 2011
(built from the latest git clone today)
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to