Eucalyptus Euca-console leap-year bug and fix
Woke up this morning to an Internal Server Error after logging into the Euca-Console.
Looking at the error logs this came up:
Leap year bug… luckily everyone else’s software caught fire so there was a quick solution here:
Fix is here: by changing the line:
expires = datetime.today().replace(year=2003)
expires = datetime.today().replace(year=2016)
and restarted the console service and it works fine.