[Bug 432773] [NEW] ec2-fetch-credentials do not work in jaunty instance being run on Eucalyptus

Etienne Goyer etienne.goyer at canonical.com
Fri Sep 18 22:03:40 UTC 2009


Public bug reported:

Binary package hint: ec2-init

It seems like the command ec2-fetch-credentials do not work when being
run in a jaunty instance (ec-init version 0.3.3ubuntu12), itself running
on eucalyptus 1.5~bzr266-0ubuntu2 on jaunty.  I believe, although I am
not sure, that the output of the meta-data server is not parsed properly
by ec2-fetch-credentials.  Here is the output in question:


ubuntu at ubuntu:~$ wget http://169.254.169.254/2008-02-01/meta-data/public-keys/
--2009-09-18 17:55:29--  http://169.254.169.254/2008-02-01/meta-data/public-keys/
Connecting to 169.254.169.254:80... connected.
   [...snip wget output...]
2009-09-18 17:55:29 (1.98 MB/s) - `index.html' saved [19]

ubuntu at ubuntu:~$ cat index.html 
0=warthogs-dba-key
ubuntu at ubuntu:~$ ec2-fetch-credentials 
Traceback (most recent call last):
  File "/usr/sbin/ec2-fetch-credentials", line 80, in <module>
    keys = get_ssh_keys()
  File "/usr/sbin/ec2-fetch-credentials", line 39, in get_ssh_keys
    return [urllib.urlopen('%s/public-keys/%d/openssh-key' % (base_url, int(keyid))).read().rstrip() for keyid in keyids]
ValueError: invalid literal for int() with base 10: ''

** Affects: ec2-init (Ubuntu)
     Importance: Undecided
         Status: New

-- 
ec2-fetch-credentials do not work in jaunty instance being run on Eucalyptus
https://bugs.launchpad.net/bugs/432773
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list