Trying to replicate from cobbler 2.0.3.1 to cobbler 2.0.11 and keep
running into the following:
cobbler replicate --master=_MASTER_SERVER_ --distros=* --profiles=*
--systems=* --sync-all
...
Updating Objects Newer On Remote
Linking Distro f14-i386
Exception occured: exceptions.NameError
Exception value: global name 'base' is not defined
Exception Info:
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 95,
in run
rc = self._run(self)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 210,
in runner
self.logger
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 782, in
replicate
sync_all = sync_all
File "/usr/lib/python2.4/site-packages/cobbler/action_replicate.py",
line 342, in run
self.link_distros()
File "/usr/lib/python2.4/site-packages/cobbler/action_replicate.py",
line 193, in link_distros
print _("- symlink creation failed: %(base)s, %(dest)s") % { "base"
: base, "dest" : dest_link }
!!! TASK FAILED !!!
distro report on the 2.0.3.1 shows
cobbler distro report --name=f14-i386
Name : f14-i386
Architecture : i386
Breed : redhat
Comment :
Initrd : /mnt/iso/f14/images/pxeboot/initrd.img
Kernel : /mnt/iso/f14/images/pxeboot/vmlinuz
Kernel Options : {}
Kernel Options (Post Install) : {}
Kickstart Metadata : {}
Management Classes : []
OS Version : fedora14
Owners : ['admin']
Red Hat Management Key : <<inherit>>
Red Hat Management Server : <<inherit>>
Template Files : {}
I had to modify codes.py to add fedora14 and fedora15 and restart cobbler
Thoughts?
-Ron