[Bug 431847] Re: Registering images gives 403 Forbidden

Thierry Carrez thierry.carrez at ubuntu.com
Wed Sep 23 13:34:47 BST 2009


I think I nailed it... At UTC+2 and 14:12
Timestamp received is of the form "2009-09-23T12:12:34", missing the final Z.
In clc/modules/wsstack/src/main/java/com/eucalyptus/ws/util/HmacUtils.java if there is no timezone indication in the ISO8601 timestamp, it uses server local time. So the message is expired by 2 hours.
Would work for all timezones <= UTC.

Two options to fix:
* Set TZ to UTC before making the local time conversion in HmacUtils.java (eucalyptus)
* Fix whatever is producing the timestamp to make it properly add Z for Zulu time (?)

** Changed in: euca2ools (Ubuntu Karmic)
       Status: Triaged => In Progress

-- 
Registering images gives 403 Forbidden
https://bugs.launchpad.net/bugs/431847
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.



More information about the Ubuntu-server-bugs mailing list