Thanks for the responses. I'm not sure where the fault lies, but in any event, the cobblerd process shouldn't silently stop.
I worked around it by manually adding the distro and profile as mentioned below, and manually copying the contents of the CD over.
-Pete
On 09/23/2010 11:11 AM, marek.dohojda@thomsonreuters.com wrote:
Are you sure this is a cobbler issue and not a VM issue? (such as NFS or whatever you are using for a path).
Secondly you can do this: Cobbler import --path=/mnt --available-as=http(or nfs)://some-url --name=CentOS55
Personally I preferred this method: Cobbler distro add --name=<name> --available-as=http://<myurl> --initrd=</location of the initrd> --kernel=<location of kernel> --arch=<arch>
The reason I prefer the second method is because it doesn't copy any files, rather allows me to setup my own tree as I wish and simply make cobbler aware of it.
Marek Dohojda 720-308-8622
77 68 6f 20 69 73 20 4a 6f 68 6e 20 47 61 6c 74 3f 0d 0a
-----Original Message----- From: cobbler-bounces@lists.fedorahosted.org [mailto:cobbler-bounces@lists.fedorahosted.org] On Behalf Of Peter Loron Sent: Thursday, September 23, 2010 12:02 PM To: cobbler@lists.fedorahosted.org Subject: Failure during import
Hello, all. I have a Cobbler 2.003 install on CentOS 5.5 x86_64 in a VM (VirtualBox) that I am trying to get to import a distro. I have the CentOS 5.5 DVD mounted, and I issue this command:
cobbler import --name=CentOS55 --path=/mnt
The import goes fine until it hangs forever (or at least overnight) on the "createrepo" step. The cobblerd service also shut down at this point. The disto appears to be imported in the web ui, and I can select it and start the PXE booted install, but it shortly stops with the Kickstart error "Unknown Url method $tree".
Any pointers for fixing whatever is broken here?
Thanks!
-Pete