On 12 Jul 2011 11:33:44 -0400, "Ronald J. Yacketta" <[email protected]> 
wrote:
> 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

You should just be able to say sync-all and not distros=*, etc. But that
is new in 2.0.11 I believe.

> ...
> 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 !!!

It seems you've found two bugs. The traceback you see above is from the
except statement. The real bug that you are seeing is that cobbler can't
create a symlink that it is expecting to be able to create. What does
'ls -l /var/www/cobbler/links' say?

I've got the first bug fixed now, but it won't fix your replicate until
I see what is in /var/www/cobbler/links/ Thanks.

-- 
Scott Henson
Red Hat SOC Operator
WVU Alum BSAE/BSME

Attachment: pgpRnQpqRK9Og.pgp
Description: PGP signature

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to