On Tue, Aug 03, 2010 at 04:17:07PM +0000, Eric Evans wrote:
> Source: python-boto
> Source-Version: 1.9b-4
> 
> We believe that the bug you reported is fixed in the latest version of
> python-boto, which is due to be installed in the Debian FTP archive:

Hi,

I'm having problem to register EC2 images with python-boto.

I'm not totally sure if the error that I'm getting has
something to do with this bug (but I suspect), please see below:

>>> from boto.ec2.connection import EC2Connection
>>> conn = EC2Connection('XXXXXXXXXXXXXXXXXXXX', 
>>> 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
>>> amiid = 
>>> conn.register_image('/tmp/vmbuilderqwKROP/debian60_i386_2010092009581102_miguel.manifest.xml')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/pymodules/python2.6/boto/ec2/connection.py", line 230, in 
register_image
    rs = self.get_object('RegisterImage', params, ResultSet)
  File "/usr/lib/pymodules/python2.6/boto/connection.py", line 631, in 
get_object
    raise self.ResponseError(response.status, response.reason, body)
boto.exception.EC2ResponseError: EC2ResponseError: 400 Bad Request
<?xml version="1.0" encoding="UTF-8"?>
<Response><Errors><Error><Code>InvalidParameterCombination</Code><Message>Either
 imageLocation or rootDeviceName must be 
set.</Message></Error></Errors><RequestID>dca95a3a-7f39-4a78-86dd-b47232e07ce2</RequestID></Response>
>>> 


I could register the image using the same manifest in the
web interface of Amazon EC2.

If more information is needed, please let me know.

Thanks,


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-boto depends on:
ii  python                        2.6.6-1    interactive high-level object-orie
ii  python-support                1.0.10     automated rebuilding support for P

python-boto recommends no packages.

python-boto suggests no packages.

-- no debconf information


-- 
Miguel Landaeta, miguel at miguel.cc
secure email with PGP 0x7D8967E9 available at http://keyserver.pgp.com/
"Faith means not wanting to know what is true." -- Nietzsche



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to