Hi All,
figured it out. The problem was that I didn't had have same cobbler version on 
master and slave. cobbler replicate now runs without errors but distro and 
profiles won't be copied.

[root@slave snippets]# cobbler replicate --master=master --sync-all
task started: 2012-05-08_140048_replicate
task started (id=Replicate, time=Tue May  8 14:00:48 2012)
cobbler_master      = master
profile_patterns    = []
system_patterns     = []
repo_patterns       = []
image_patterns      = []
mgmtclass_patterns  = []
package_patterns    = []
file_patterns       = []
omit_data           = False
sync_all            = True
using CLI defined master
XMLRPC endpoint: http://master/cobbler_api
test ALPHA
test BETA
Querying Both Servers
remote names struct is {'profile': ['centos62-prof'], 'package': [], 
'mgmtclass': [], 'image': [], 'repo': [], 'file': [], 'distro': ['centos62']}
transfer list for distro is ['centos62']
transfer list for profile is ['centos62-prof']
transfer list for repo is []
transfer list for image is []
transfer list for mgmtclass is []
transfer list for package is []
transfer list for file is []
*NOT* Removing Objects Not Stored On Master
Rsyncing distros
Rsyncing distro centos62
Rsyncing repos
Rsyncing distro repo configs
running: rsync -avzH master::cobbler-distros/config /var/www/cobbler/ks_mirror
received on stdout: receiving incremental file list

sent 38 bytes  received 66 bytes  208.00 bytes/sec
total size is 0  speedup is 0.00

received on stderr:
Rsyncing kickstart templates & snippets
running: rsync -avzH master::cobbler-kickstarts /var/lib/cobbler/kickstarts
received on stdout: receiving incremental file list

sent 40 bytes  received 174 bytes  428.00 bytes/sec
total size is 9848  speedup is 46.02

received on stderr:
running: rsync -avzH master::cobbler-snippets /var/lib/cobbler/snippets
received on stdout: receiving incremental file list

sent 38 bytes  received 804 bytes  1684.00 bytes/sec
total size is 57198  speedup is 67.93

received on stderr:
Rsyncing triggers
running: rsync -avzH master::cobbler-triggers /var/lib/cobbler/triggers
received on stdout: receiving incremental file list

sent 90 bytes  received 964 bytes  702.67 bytes/sec
total size is 0  speedup is 0.00

received on stderr:
Removing Objects Not Stored On Local
adding distro centos62
adding profile centos62-prof
Updating Objects Newer On Remote
Syncing
Done
*** TASK COMPLETE ***
[root@slave snippets]#
[root@slave snippets]# cobbler list
distros:

profiles:

systems:

repos:

images:

mgmtclasses:

packages:

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

Reply via email to