Failed to create new AMI #178

Closed
twiecki opened this Issue Nov 26, 2012 · 0 comments

Comments

Projects
None yet
2 participants

twiecki commented Nov 26, 2012

Followed this guide: http://star.mit.edu/cluster/docs/latest/manual/create_new_ami.html

At this step it breaks:

>>starcluster ebsimage i-99999999 scipy-stack
StarCluster - (http://star.mit.edu/cluster) (v. 0.9999)
Software Tools for Academics and Researchers (STAR)
Please submit bug reports to starcluster@mit.edu

>>> Removing private data...
>>> Creating EBS image...
>>> Waiting for AMI ami-4591102c to become available...!!! ERROR - Error occurred while creating image
!!! ERROR - Unhandled exception occured
Traceback (most recent call last):
  File "/home/whyking/envs/statsmodels/local/lib/python2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/cli.py", line 257, in main
    sc.execute(args)
  File "/home/whyking/envs/statsmodels/local/lib/python2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/commands/ebsimage.py", line 61, in execute
    **self.specified_options_dict)
  File "/home/whyking/envs/statsmodels/local/lib/python2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/awsutils.py", line 773, in create_ebs_image
    return icreator.create_image(size=root_vol_size)
  File "<string>", line 2, in create_image
  File "/home/whyking/envs/statsmodels/local/lib/python2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/utils.py", line 91, in wrap_f
    res = func(*arg, **kargs)
  File "/home/whyking/envs/statsmodels/local/lib/python2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/image.py", line 211, in create_image
    return self._create_image_from_ebs(size)
  File "/home/whyking/envs/statsmodels/local/lib/python2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/image.py", line 231, in _create_image_from_ebs
    snap = img.block_device_mapping['/dev/sda1'].snapshot_id
KeyError: '/dev/sda1'

!!! ERROR - Oops! Looks like you've found a bug in StarCluster
!!! ERROR - Crash report written to: /home/whyking/.starcluster/logs/crash-report-22065.txt
!!! ERROR - Please remove any sensitive data from the crash report
!!! ERROR - and submit it to starcluster@mit.edu

@jtriley jtriley closed this in 3569501 Dec 3, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment