[Bug 431847] Re: Registering images gives 403 Forbidden

2009-09-26 Thread Thierry Carrez
Fix breaks euca_conf (for TZ  UTC), since euca_conf is sending local time 
instead of UTC.
See more complete upstream fix at:
http://bazaar.launchpad.net/~eucalyptus-maintainers/eucalyptus/1.6/revision/895


** Changed in: eucalyptus (Ubuntu Karmic)
   Status: Fix Released = Triaged

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 431847] Re: Registering images gives 403 Forbidden

2009-09-26 Thread Thierry Carrez
Was applied by Dustin in 
http://bazaar.launchpad.net/~ubuntu-core-dev/eucalyptus/ubuntu/revision/615

** Changed in: eucalyptus (Ubuntu Karmic)
   Status: Triaged = Fix Released

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 431847] Re: Registering images gives 403 Forbidden

2009-09-23 Thread Thierry Carrez
** Changed in: euca2ools (Ubuntu Karmic)
 Assignee: Soren Hansen (soren) = Thierry Carrez (ttx)

** Changed in: eucalyptus (Ubuntu Karmic)
Milestone: ubuntu-9.10-beta = None

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 431847] Re: Registering images gives 403 Forbidden

2009-09-23 Thread Thierry Carrez
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 431847] Re: Registering images gives 403 Forbidden

2009-09-23 Thread Thierry Carrez
Upon further analysis this needs to be fixed in eucalyptus itself.
clc/modules/wsstack/src/main/java/com/eucalyptus/ws/util/HmacUtils.java 
evaluates all ISO8601 timestamps as local time, whether the final Z is present 
or not. Forcing UTC TZ is that evaluation fixes it.

** Changed in: eucalyptus (Ubuntu Karmic)
   Status: Invalid = In Progress

** Changed in: eucalyptus (Ubuntu Karmic)
Milestone: None = ubuntu-9.10-beta

** Changed in: eucalyptus (Ubuntu Karmic)
 Assignee: (unassigned) = Thierry Carrez (ttx)

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 431847] Re: Registering images gives 403 Forbidden

2009-09-23 Thread Thierry Carrez
Not a bug in euca2ools

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

** Changed in: euca2ools (Ubuntu Karmic)
Milestone: ubuntu-9.10-beta = None

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 431847] Re: Registering images gives 403 Forbidden

2009-09-23 Thread Thierry Carrez
** Changed in: eucalyptus (Ubuntu Karmic)
   Status: In Progress = Fix Committed

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 431847] Re: Registering images gives 403 Forbidden

2009-09-23 Thread Launchpad Bug Tracker
This bug was fixed in the package eucalyptus - 1.6~bzr854-0ubuntu2

---
eucalyptus (1.6~bzr854-0ubuntu2) karmic; urgency=low

  * Fix query timeout issues in timezones  UTC (LP: #431847)
  * Add --local-sync to allow euca_conf --register-* to sync keys locally
if an external (but local) IP address is used to register (LP: #434651)

 -- Thierry Carrez thierry.car...@ubuntu.com   Wed, 23 Sep 2009
18:27:06 +0200

** Changed in: eucalyptus (Ubuntu Karmic)
   Status: Fix Committed = Fix Released

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 431847] Re: Registering images gives 403 Forbidden

2009-09-21 Thread Thierry Carrez
Works with ec2-api-tools:

$ euca-register --debug kernel/vmlinuz-$(uname -r).manifest.xml
Warning: failed to parse error message from AWS: unknown:1:0: syntax error
EC2ResponseError: 403 Forbidden
Failure: 403 Forbidden
$ ec2-register --debug kernel/vmlinuz-$(uname -r).manifest.xml
IMAGE   eki-448E1260


** Also affects: euca2ools (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: euca2ools (Ubuntu Karmic)
   Importance: Undecided = High

** Changed in: euca2ools (Ubuntu Karmic)
   Status: New = Triaged

** Changed in: euca2ools (Ubuntu Karmic)
Milestone: None = ubuntu-9.10-beta

** Changed in: euca2ools (Ubuntu Karmic)
 Assignee: (unassigned) = Soren Hansen (soren)

** Changed in: eucalyptus (Ubuntu Karmic)
   Status: Triaged = Invalid

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 431847] Re: Registering images gives 403 Forbidden

2009-09-21 Thread Thierry Carrez
It is indeed TZ-related. Any timezone = UTC will work. UTC+n will fail.

Current default time zone: 'Europe/Paris'
Local time is now:  Mon Sep 21 14:27:25 CEST 2009.
Universal Time is now:  Mon Sep 21 12:27:25 UTC 2009.
$ euca-describe-images
Warning: failed to parse error message from AWS: unknown:1:0: syntax error
EC2ResponseError: 403 Forbidden
Failure: 403 Forbidden
$ sudo dpkg-reconfigure tzdata
Current default time zone: 'Europe/London'
Local time is now:  Mon Sep 21 13:19:30 BST 2009.
Universal Time is now:  Mon Sep 21 12:19:30 UTC 2009.
ubu...@ubuntu:~$ sudo service eucalyptus-cloud restart
 * Stopping Eucalyptus Cloud Controller  [ OK ] 
 * Starting Eucalyptus Cloud Controller eucalyptus-cloud [ OK ] 
ubu...@ubuntu:~$ euca-describe-images
Warning: failed to parse error message from AWS: unknown:1:0: syntax error
EC2ResponseError: 403 Forbidden
Failure: 403 Forbidden
$ sudo dpkg-reconfigure tzdata
Current default time zone: 'Etc/UTC'
Local time is now:  Mon Sep 21 12:16:37 UTC 2009.
Universal Time is now:  Mon Sep 21 12:16:37 UTC 2009.
$ sudo service eucalyptus-cloud restart
 * Stopping Eucalyptus Cloud Controller  [ OK ] 
 * Starting Eucalyptus Cloud Controller eucalyptus-cloud [ OK ] 
$ euca-describe-images
IMAGE   eri-96A8139Cramdisk/initrd.img-2.6.31-10-generic.manifest.xml   
admin   available   public  x86_64  ramdisk
IMAGE   eri-96A71399ramdisk/initrd.img-2.6.31-10-generic.manifest.xml   
admin   available   public  x86_64  ramdisk
IMAGE   eki-448E1260kernel/vmlinuz-2.6.31-10-generic.manifest.xml   admin   
available   public  x86_64  kernel
$ sudo dpkg-reconfigure tzdata
Current default time zone: 'US/Pacific'
Local time is now:  Mon Sep 21 05:18:26 PDT 2009.
Universal Time is now:  Mon Sep 21 12:18:26 UTC 2009.
$ sudo service eucalyptus-cloud restart
 * Stopping Eucalyptus Cloud Controller  [ OK ] 
 * Starting Eucalyptus Cloud Controller eucalyptus-cloud [ OK ] 
$ euca-describe-images
IMAGE   eri-96A8139Cramdisk/initrd.img-2.6.31-10-generic.manifest.xml   
admin   available   public  x86_64  ramdisk
IMAGE   eri-96A71399ramdisk/initrd.img-2.6.31-10-generic.manifest.xml   
admin   available   public  x86_64  ramdisk
IMAGE   eki-448E1260kernel/vmlinuz-2.6.31-10-generic.manifest.xml   admin   
available   public  x86_64  kernel

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 431847] Re: Registering images gives 403 Forbidden

2009-09-18 Thread Robbie Williamson
** Also affects: eucalyptus (Ubuntu Karmic)
   Importance: High
   Status: Triaged

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 431847] Re: Registering images gives 403 Forbidden

2009-09-17 Thread Soren Hansen
This seems to be timezone setting related. I fiddled around with my
timezone settings and it suddenly worked. I'm not sure if it's
eucalyptus or euca2ools at this point.

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 431847] Re: Registering images gives 403 Forbidden

2009-09-17 Thread Soren Hansen
** Changed in: eucalyptus (Ubuntu)
Milestone: None = ubuntu-9.10-beta

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs