[et-mgmt-tools] cobbler import --mirror error
James Fidell
james at cloud9.co.uk
Fri Feb 16 13:29:23 UTC 2007
Michael DeHaan wrote:
> Apologies on being lazy here, though per the manpage...
>
> mirror
>
> The addresss of the mirror. This needs to be either an rsync:// url
> or an ssh location usable with rsync.
> The mirror address should specify an exact repository to mirror --
> just one architecture
> and just one distribution. If you have a seperate repo to mirror for
> a different arch, add that
> repo seperately.
>
> Here's an example of what looks like a good URL:
>
> rsync://yourmirror.example.com/fedora-linux-core/6/i386 (for rsync
> protocol)
> user at yourmirror.example.com/fedora-linux-core/6/i386 (for SSH)
>
> What I thought was a related problem is just something I'm seeing during
> the unit tests, so that was a bit of wild goose chase.
>
> Your problem is that you didn't rsync enough data, and don't have the
> comps file. Do an import using the URL format specified in the
> manpage and you should be good to go. I would suggest cleaning up
> /var/www/cobbler/ks_mirror manually before doing that, just to free up
> the extra space on your drives.
>
> Hope this helps, if not, let me know...
This time I did:
cobbler import
--mirror=rsync://rsync.mirrorservice.org/sites/download.fedora.redhat.com/pub/fedora/linux/core/6/i386
--name=fedoracore6
which i think is as close to the example given as I can get. I still
get the same error (though obviously it's looking for the comps.xml file
in a slightly different location this time):
Error: groupfile
/var/www/cobbler/ks_mirror/fedoracore6/i386/os/repodata/comps.xml cannot
be found.
James
More information about the et-mgmt-tools
mailing list