This bug causes cobblerd to crash approximately 10 minutes after a new object is created in the Web app / XMLPC:
diff --git a/cobbler/remote.py b/cobbler/remote.py index 0613e6f..3dd2674 100644 --- a/cobbler/remote.py +++ b/cobbler/remote.py @@ -922,7 +922,7 @@ class CobblerXMLRPCInterface: for oid in self.object_cache.keys(): (tokentime, entry) = self.object_cache[oid] if (timenow > tokentime + CACHE_TIMEOUT): - del self.object_cache[token] + del self.object_cache[oid]
def __validate_user(self,input_user,input_password): """
As you can see, it's a simple typo. I had thought I tested the timeout, but this slipped through. I'll be testing this more thoroughly over the next hour or so, and then I'll unpush 1.6.1 and get a 1.6.2 RPM out.
There will be no other changes to 1.6.1.
If other items come up later, we'll do a 1.6.3 and so forth, but I wanted to get this out there for all webapp/XMLRPC users.
--Michael
cobbler@lists.fedorahosted.org