On Wednesday 18 January 2012 08:17 PM, Michael DeHaan wrote:

# ls /var/www/cobbler/images/CentOS-6.2-x86_64/initrd.img
ls: /var/www/cobbler/images/CentOS-6.2-x86_64/initrd.img: No such file
or directory

I even tried placing these files there manually when i was doing a
'distro add', but 'cobbler sync' seems to delete them from there!
/var/log/cobbler/cobbler.log doesn't say much apart from the above
exception. I'm running Cobbler 2.0.11.


Sure, cobbler owns and manages that directory. You need to make sure the locations in the distro object exist somewhere else. If you imported, those are probably in /var/www/cobbler/ks_mirror as source locations.

Thanks a lot Michael. I reverted everything i'd done and placed the files under /var/www/cobbler/ks_mirror, that seemed to work.



The error is of course undesirable, and the application should give a better error in that case. (Patches welcome!)

Unfortunately, i don't know any python (yet) so can't really help there.

Maybe asking for too much here :-) but It would be great if the files and directories managed by cobbler were documented somewhere, so that cobbler newbies can get a better idea.

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

Reply via email to