StarCluster - Mailing List Archive

Re: InvalidBlockDeviceMapping error

From: MacMullan, Hugh <no email>
Date: Wed, 29 Oct 2014 20:26:47 +0000

Hi Jian:

There's a problem with 0.95.5 with the latest version of boto package ( Justin's working on an update, but in the meantime you can do:

pip uninstall boto
pip install boto==2.32.0

That should work!

Let us know your results.


From: [] On Behalf Of Jian Feng
Sent: Wednesday, October 29, 2014 3:27 PM
Subject: [StarCluster] InvalidBlockDeviceMapping error

Hi, just started trying starcluster. I was running the most simple 'mycluster' example, but got an error. Could you help? Thanks!

$ starcluster start mycluster
StarCluster - ( (v. 0.95.5)
Software Tools for Academics and Researchers (STAR)
Please submit bug reports to<>

*** WARNING - Setting 'AWS_SECRET_ACCESS_KEY' from environment...
*** WARNING - Setting 'AWS_ACCESS_KEY_ID' from environment...
>>> Using default cluster template: smallcluster
>>> Validating cluster template settings...
>>> Cluster template settings are valid
>>> Starting cluster...
>>> Launching a 2-node cluster...
>>> Creating security group _at_sc-mycluster...
!!! ERROR - InvalidBlockDeviceMapping: the encrypted flag cannot be specified since device /dev/sda1 has a snapshot specified.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.95.5-py2.7.egg/starcluster/", line 274, in main
  File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.95.5-py2.7.egg/starcluster/commands/", line 244, in execute
  File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.95.5-py2.7.egg/starcluster/", line 1628, in start
    return self._start(create=create, create_only=create_only)
  File "<string>", line 2, in _start
  File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.95.5-py2.7.egg/starcluster/", line 112, in wrap_f
    res = func(*arg, **kargs)
  File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.95.5-py2.7.egg/starcluster/", line 1643, in _start
  File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.95.5-py2.7.egg/starcluster/", line 1163, in create_cluster
  File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.95.5-py2.7.egg/starcluster/", line 1185, in _create_flat_rate_cluster
  File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.95.5-py2.7.egg/starcluster/", line 966, in create_nodes
    resvs.append(self.ec2.request_instances(image_id, **kwargs))
  File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.95.5-py2.7.egg/starcluster/", line 523, in request_instances
  File "/usr/local/lib/python2.7/dist-packages/StarCluster-0.95.5-py2.7.egg/starcluster/", line 624, in run_instances
    return self.conn.run_instances(image_id, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/boto-2.34.0-py2.7.egg/boto/ec2/", line 974, in run_instances
  File "/usr/local/lib/python2.7/dist-packages/boto-2.34.0-py2.7.egg/boto/", line 1204, in get_object
    raise self.ResponseError(response.status, response.reason, body)
EC2ResponseError: EC2ResponseError: 400 Bad Request
<?xml version="1.0" encoding="UTF-8"?>
<Response><Errors><Error><Code>InvalidBlockDeviceMapping</Code><Message>the encrypted flag cannot be specified since device /dev/sda1 has a snapshot specified.</Message></Error></Errors><RequestID>4d93f6fb-bcda-47bf-aef5-e2bf946ad2a2</RequestID></Response>
Received on Wed Oct 29 2014 - 16:26:50 EDT
This archive was generated by hypermail 2.3.0.


Sort all by: