I'm working on getting a replication slave going and I'm having some trouble, and I'm trying to determine whether my assumptions are broken and I'm misunderstanding or whether (my?) cobbler is broken.
I'll try to put it as simply as I can:
If the cobbler master has foo in the output of `cobbler repo list` and the replication log on my slave has 'repo': ['foo'] in the remote names struct and foo is in the 'transfer list for repo', how come I get "@ERROR: Unknown module 'repo-foo'" from cobbler replicate --repos=foo?
Here's what I did:
cmaster# cobbler repo list foo bar baz
cslave# cobbler replicate --repos='foo' --master=cmaster.example.com
Querying Both Servers remote names struct is {'profile':[ <snip> ],'repo':['foo', <snip> ] <snip> Rsyncing distros Rsyncing repos running: rsync -avzH cmaster.example.com::repo-foo /var/www/cobbler/repo_mirror/foo received on stdout: received on stderr: @ERROR: Unknown module 'repo-foo'
And then I verified the rsync modules: cslave# rsync --list-only cmaster.example.com::
cobbler-distros All Cobbler Distros cobbler-repos All Cobbler Distros cobbler-kickstarts Cobbler Kickstarts cobbler-snippets Cobbler Snippets cobbler-triggers Cobbler Triggers repo-bar Cobbler Repo bar repo-baz Cobbler Repo baz distro-bar Cobbler Distro bar distro-baz Cobbler Distro baz
But no entry for repo-foo!
Any suggestions for how to troubleshoot/fix? Thanks,
Is foo set to mirror locally? If so, have you done a "cobbler sync" to make sure the rsyncd.conf is rewritten?
On Thu, Oct 10, 2013 at 9:09 AM, Duncan Hutty duncanh@gmail.com wrote:
I'm working on getting a replication slave going and I'm having some trouble, and I'm trying to determine whether my assumptions are broken and I'm misunderstanding or whether (my?) cobbler is broken.
I'll try to put it as simply as I can:
If the cobbler master has foo in the output of `cobbler repo list` and the replication log on my slave has 'repo': ['foo'] in the remote names struct and foo is in the 'transfer list for repo', how come I get "@ERROR: Unknown module 'repo-foo'" from cobbler replicate --repos=foo?
Here's what I did:
cmaster# cobbler repo list foo bar baz
cslave# cobbler replicate --repos='foo' --master=cmaster.example.com
Querying Both Servers remote names struct is {'profile':[
<snip> ],'repo':['foo', <snip> ] <snip> Rsyncing distros Rsyncing repos running: rsync -avzH cmaster.example.com::repo-foo /var/www/cobbler/repo_mirror/foo received on stdout: received on stderr: @ERROR: Unknown module 'repo-foo'
And then I verified the rsync modules: cslave# rsync --list-only cmaster.example.com::
cobbler-distros All Cobbler Distros cobbler-repos All Cobbler Distros cobbler-kickstarts Cobbler Kickstarts cobbler-snippets Cobbler Snippets cobbler-triggers Cobbler Triggers repo-bar Cobbler Repo bar repo-baz Cobbler Repo baz distro-bar Cobbler Distro bar distro-baz Cobbler Distro baz
But no entry for repo-foo!
Any suggestions for how to troubleshoot/fix? Thanks, -- Duncan Hutty
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
On Sat, Oct 12, 2013 at 2:08 PM, James Cammarata jimi@sngx.net wrote:
Is foo set to mirror locally? If so, have you done a "cobbler sync" to make sure the rsyncd.conf is rewritten?
Yes and yes.
cobbler@lists.fedorahosted.org