Error adding storage space

23 views
Skip to first unread message

Nolan Hicks

unread,
Oct 15, 2013, 2:01:56 PM10/15/13
to panda-pro...@googlegroups.com
Hey fellow PANDA denizens, 

We've been trying to add more storage space to our PANDA here in the newsroom and we've been running into an error when we try to run the script. 

I've attached the entire traceback (it's not too long) so you guys can take a look at what's going on when it quits

Attaching new volume... Traceback (most recent call last):
  File "migrate_files_volume.py", line 105, in <module>
    vol.attach(instance.id, ec2_device_name) 
  File "/usr/local/lib/python2.7/dist-packages/boto/ec2/volume.py", line 118, in attach
    return self.connection.attach_volume(self.id, instance_id, device)
  File "/usr/local/lib/python2.7/dist-packages/boto/ec2/connection.py", line 1260, in attach_volume
    return self.get_status('AttachVolume', params, verb='POST')
  File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 718, in get_status
    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>IncorrectState</Code><Message>vol-d3c070a4 is not 'available'.</Message></Error></Errors><RequestID>d68b1fb1-365e-439c-8ad4-f3f631e26b4d</RequestID></Response>
 
Any idea what's going wrong and if there's an easy way to fix it? 



Christopher Groskopf

unread,
Nov 12, 2013, 7:26:58 PM11/12/13
to panda-pro...@googlegroups.com
Nolan, this is long overdue, but here is a fixed version of the script:

https://github.com/pandaproject/panda/blob/dc31274b00d2e0e76e80a18351a0cc6d7d1f83a1/scripts/migrate_files_volume.py

A similar bug is also fixed in the solr migration, as documented here:

https://github.com/pandaproject/panda/issues/922

Sorry it took a month. Please let me know if it works for you.

Best,
Chris
> --
> You received this message because you are subscribed to the Google Groups
> "PANDA Project Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to panda-project-u...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages