Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Volume Creator Errors with no Default VPC #389

david-terk opened this Issue · 2 comments

2 participants


The volume creator command should be sensitive to the subnet_id parameter as it is possible that IAM permissions have been defined to enforce that a user can only launch within a specific subnet. Additionally it is possible that the user does not have a default VPC.

ubuntu@ip-10-0-0-31:~$ starcluster createvolume --detach-volume 1 us-east-1c
StarCluster - ( (v. 0.95.4)
Software Tools for Academics and Researchers (STAR)
Please submit bug reports to

No keypair specified, picking one from config...
Using keypair: mykey
Creating security group @sc-volumecreator...
!!! ERROR - Failed to create new volume
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/starcluster/", line 284, in create
instance = self._request_instance(volume_zone)
File "/usr/local/lib/python2.7/dist-packages/starcluster/", line 94, in _request_instance
(, zone))
File "/usr/local/lib/python2.7/dist-packages/starcluster/", line 655, in cluster_group
File "/usr/local/lib/python2.7/dist-packages/starcluster/", line 296, in create_group
sg = self.conn.create_security_group(name, description, vpc_id=vpc_id)
File "/usr/local/lib/python2.7/dist-packages/boto/ec2/", line 2956, in create_security_group
SecurityGroup, verb='POST')
File "/usr/local/lib/python2.7/dist-packages/boto/", line 1177, in get_object
raise self.ResponseError(response.status, response.reason, body)
EC2ResponseError: EC2ResponseError: 400 Bad Request
<?xml version="1.0" encoding="UTF-8"?>
VPCIdNotSpecifiedNo default VPC for this userb6636406-3e96-49c2-b9ed-5cd372161815
!!! ERROR - VPCIdNotSpecified: No default VPC for this user


I second this. I've just started looking into StarCluster today, and beginning to see how great it could be. Then I ran into this problem due to IAM permissions meaning I can only launch instances within a specific subnet.


Seems like an easy fix, I cut and paste the option code from starcluster/commands/ to starcluster/commands/ and a volume in now being created.

@cjw85 cjw85 referenced this issue from a commit in cjw85/StarCluster
@cjw85 cjw85 subnet-id option for createvolume command #389 2547e06
@cjw85 cjw85 referenced this issue from a commit in cjw85/StarCluster
@cjw85 cjw85 add subnet-id option to createvolume #389 992628a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.