Michael DeHaan wrote:
Stephan Huiser wrote:
Your problem appears to lie within the code to delete new objects from
cobblerd's internal cache.
'XnwO3JhECw6dUfM1wiqEwdsTEGIKuMn/kw==\n'
2009-03-28 21:13:22,437 - api - Exception Info:
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1566,
in _dispatch
return method_handle(*params)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1006,
in check_access
validated = self.__validate_token(token)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 949,
in __validate_token
self.__invalidate_expired_tokens()
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 925,
in __invalidate_expired_tokens
del self.object_cache[token]
Cobblerd has some logic to allow a new object handle to be created,
modified, and then saved.
This seems to be a bug in this logic (we were fixing other caching bugs
Friday, and may have traded one for another)
Anyway, if you restart cobblerd, the WebUI will work again...
Might require a 1.6.2, I'll pound on it fully Monday to see if I can
replicate this. I'd be curious to know if you save a system
successfully and wait 15 minutes, if you get the same problem, or if it
only happens with aborted saves.
I will test this, and let you know
Command line additions should not be affected.
> 2009-03-28 21:12:43,022 - api - Exception value: "Can't save system
> mysql02. The dns name (mysql01.dmz.huiser.local) is already used by
> system mysql01 (eth0)"
>
This is actually a seperate error.
I understand, I posted it to give the other error message some context.
Shouldn't this exception message be sent back to the WebUI?
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler