Created attachment 436789 [details]
cobbler traceback - broken KS distro
Description of problem:
Cobbler refuses to start/serve when there is "broken" KS distro available in the list (or: /var/lib/cobbler/config/distros.d)
The issue is that during it's service-start cobbler seems parses *.json files of the kickstart distros and analyzes them (like search for kernel distro files, etc.), and if there is, for some reason, not found the correct structure of the kernel, it throws an sys.out to the console and dies...
This kind of issue could happen when there is (in my case, for example) manually mounted an iso image, prepared the KS distro, and for some reason, when that mount point get lost, the next cobbler restart definitely will broke cobbler and many KS pages with it...
Version-Release number of selected component (if applicable):
always on broken KS distros
Steps to Reproduce:
1. Mount F13 iso to /tmp/F13-i386
2. Prepare a KS distro with a path to that mounted point
3. umount the directory
4. Restart SW
Terrible cobbler traceback in console, pages related KS not opening (500 ISE)
Just marking that distro-s to invalid, i assume, would be the best
Traceback email is attached.
Removing the "broken" distro file from /var/lib/cobbler/config/distros.d "fixes" the issue.