Linaro AMI list feature returns status 400

Bug #1038083 reported by Stevan Radaković
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro AWS Tools
Invalid
High
Stevan Radaković

Bug Description

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

Tags: linaro-ami
Fathi Boudra (fboudra)
description: updated
Changed in linaro-aws-tools:
milestone: 2012.08 → 2012.09
Revision history for this message
Stevan Radaković (stevanr) wrote :

This bug is not reproducible anymore, the AMI on the AWS Console is either removed or it simply doesn't cause problems no more.

Changed in linaro-aws-tools:
milestone: 2012.09 → none
status: Triaged → Incomplete
Changed in linaro-aws-tools:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.