[et-mgmt-tools] cobbler sync crashes

Matt Hyclak hyclak at math.ohiou.edu
Mon Aug 27 14:51:47 UTC 2007


On Mon, Aug 27, 2007 at 10:33:51AM -0400, Michael DeHaan enlightened us:
> drew einhorn wrote:
> >
> >I installed 0.6.0 and now cobbler sync dies with:
> >
> >  File "/usr/lib/python2.4/site-packages/cobbler/action_sync.py", line 
> >466, in load_snippet_cache
> >    snip_file = open(snip)
> >IOError: [Errno 21] Is a directory
> >
> 
> At first guess, it looks like you have a subdirectory in your 
> /var/lib/cobbler/snippets directory where I wasn't expecting any.
> 
> The short term solution is to not put subdirectories there (cobbler 
> won't read them).    I'll fix 0.6.1 to ignore potential subdirectories.
> 

Might be worth emulating some other things that have directories that are
read, but only read files with a particular ending - e.g.
partition_select.snip and ignore all other files/directories. That way it's
easy to disable a particular snippet by renaming it to something else.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263




More information about the et-mgmt-tools mailing list