cobbler/cobbler — Issue #28: Cobbler drops errors on the floor during a reposync
Author: tremble
Created: 2011-12-15 16:40:06+00:00
State: open

We've an old installation which has lots of subtly broken distros profiles and systems. While trying to sync up a new slave I noticed that various bits and pieces weren't syncing across. No errors, just objects that didn't appear on the slave.

I tracked it down to collection.py which is catching an exception, returning false and not logging anything.

A simple error level log call would have made my life much simpler...

try:
ref.check_if_valid()
except CX, error:
return False