2012-08-18 05:43:27 |
Fathi Boudra |
description |
On Thu, 16 Aug 2012 17:25:34 +0300
Fathi Boudra <fathi.boudra@linaro.org> wrote:
> Hi Paul,
>
> I tried to use linaro-ami:
> $ ./linaro-ami list
> Name ID Created Status
> Description
> ------------------------------
> ERROR:boto:400 Bad Request
> ERROR:boto:<?xml version="1.0" encoding="UTF-8"?>
> <Response><Errors><Error><Code>InvalidParameterValue</Code><Message>Value
> (None) for parameter snapshotId is invalid. Expected:
> 'snap-...'.</Message></Error></Errors><RequestID>b60cb5e8-fe84-4304-952e-d76d93030e80</RequestID></Response>
> Traceback (most recent call last):
> File "./linaro-ami", line 63, in <module>
> controller.command_list()
> File
> "/home/fboudra/build-area/linaro-aws-tools/linaro-ami/linaro_ami.py",
> line 133, in command_list self.aws.get_image_creation_time(image),
> File
> "/home/fboudra/build-area/linaro-aws-tools/linaro-ami/aws_controller.py",
> line 100, in get_image_creation_time snapshots =
> self._connection.get_all_snapshots(snapshot_ids) File
> "/usr/lib/python2.7/dist-packages/boto/ec2/connection.py", line 1456,
> in get_all_snapshots [('item', Snapshot)], verb='POST')
> File "/usr/lib/python2.7/dist-packages/boto/connection.py", line
> 896, in get_list
> 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>InvalidParameterValue</Code><Message>Value
> (None) for parameter snapshotId is invalid. Expected:
> 'snap-...'.</Message></Error></Errors><RequestID>b60cb5e8-fe84-4304-952e-d76d93030e80</RequestID></Response>
>
> any ideas?
>
> Cheers,
>
> Fathi |
$ ./linaro-ami list
Name ID Created Status
Description
------------------------------
ERROR:boto:400 Bad Request
ERROR:boto:<?xml version="1.0" encoding="UTF-8"?>
<Response><Errors><Error><Code>InvalidParameterValue</Code><Message>Value
(None) for parameter snapshotId is invalid. Expected:
'snap-...'.</Message></Error></Errors><RequestID>b60cb5e8-fe84-4304-952e-d76d93030e80</RequestID></Response>
Traceback (most recent call last):
File "./linaro-ami", line 63, in <module>
controller.command_list()
File "/home/fboudra/build-area/linaro-aws-tools/linaro-ami/linaro_ami.py",
line 133, in command_list
self.aws.get_image_creation_time(image),
File "/home/fboudra/build-area/linaro-aws-tools/linaro-ami/aws_controller.py",
line 100, in get_image_creation_time
snapshots = self._connection.get_all_snapshots(snapshot_ids)
File "/usr/lib/python2.7/dist-packages/boto/ec2/connection.py", line
1456, in get_all_snapshots
[('item', Snapshot)], verb='POST')
File "/usr/lib/python2.7/dist-packages/boto/connection.py", line
896, in get_list
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>InvalidParameterValue</Code><Message>Value
(None) for parameter snapshotId is invalid. Expected:
'snap-...'.</Message></Error></Errors><RequestID>b60cb5e8-fe84-4304-952e-d76d93030e80</RequestID></Response>
This is glitch on EC2 side, uncovering mishandling in Boto:
ami-xxxxxxxx:
/dev/sda1=snap-xxxxxxxx:8:true:standard, /dev/sdb=:8:undefined:undefined:undefined |
|