Hey Paul,
Sorry you're having issues. Could you try reinstalling boto? It seems
that some how you got a version of boto that's not actually 2.3.0 even
though it claims to be. I can tell this just by looking at the line
numbers in the stack trace and looking at the code in the 2.3.0 release:
> File "/Library/Python/2.7/site-packages/boto-2.3.0-py2.7.egg/boto/ec2/securitygroup.py", line 158, in authorize
> src_group_group_id = src_group.group_id
> AttributeError: 'SecurityGroup' object has no attribute 'group_id'
https://github.com/boto/boto/blob/2d882029846a00b5216876e1c1e07ad1ccc4c60a/boto/ec2/securitygroup.py#L158
The link above will show you the 2.3.0 release version of
securitygroup.py at line 158 and you can clearly see there's different
code there than provided in the stack trace. Just to be 100% sure I
created a new Python 2.7 virtual environment and installed StarCluster
and all dependencies from scratch and I could not reproduce your issue.
Let me know if uninstalling/reinstalling boto fixes things for you. If
you used pip to install boto you can easily uninstall it using 'pip
uninstall'. Otherwise delete the following path and run 'easy_install
StarCluster' again:
/Library/Python/2.7/site-packages/boto-2.3.0-py2.7.egg
HTH,
~Justin
On Mon, May 21, 2012 at 12:32:23AM -0700, Paul Pottorff wrote:
> ---------- CRASH DETAILS ----------
> COMMAND: starcluster start myclustername
> 2012-05-21 00:29:00,984 PID: 25891 config.py:551 - DEBUG - Loading config
> 2012-05-21 00:29:00,984 PID: 25891 config.py:118 - DEBUG - Loading file: /var/root/.starcluster/config
> 2012-05-21 00:29:00,990 PID: 25891 awsutils.py:54 - DEBUG - creating self._conn w/ connection_authenticator kwargs = {'proxy_user': None, 'proxy_pass': None, 'proxy_port': None, 'proxy': None, 'is_secure': True, 'path': '/', 'region': RegionInfo:eu-west-1, 'port': None}
> 2012-05-21 00:29:02,291 PID: 25891 start.py:176 - INFO - Using default cluster template: smallcluster
> 2012-05-21 00:29:02,292 PID: 25891 cluster.py:1539 - INFO - Validating cluster template settings...
> 2012-05-21 00:29:04,030 PID: 25891 cluster.py:926 - DEBUG - Launch map: node001 (ami: ami-ab447bdf, type: m1.small)...
> 2012-05-21 00:29:04,030 PID: 25891 cluster.py:926 - DEBUG - Launch map: node002 (ami: ami-ab447bdf, type: m1.small)...
> 2012-05-21 00:29:04,030 PID: 25891 cluster.py:926 - DEBUG - Launch map: node003 (ami: ami-ab447bdf, type: m1.small)...
> 2012-05-21 00:29:04,031 PID: 25891 cluster.py:1555 - INFO - Cluster template settings are valid
> 2012-05-21 00:29:04,031 PID: 25891 cluster.py:1427 - INFO - Starting cluster...
> 2012-05-21 00:29:04,031 PID: 25891 cluster.py:952 - INFO - Launching a 4-node cluster...
> 2012-05-21 00:29:04,032 PID: 25891 cluster.py:926 - DEBUG - Launch map: node001 (ami: ami-ab447bdf, type: m1.small)...
> 2012-05-21 00:29:04,032 PID: 25891 cluster.py:926 - DEBUG - Launch map: node002 (ami: ami-ab447bdf, type: m1.small)...
> 2012-05-21 00:29:04,032 PID: 25891 cluster.py:926 - DEBUG - Launch map: node003 (ami: ami-ab447bdf, type: m1.small)...
> 2012-05-21 00:29:04,032 PID: 25891 cluster.py:979 - DEBUG - Launching master (ami: ami-ab447bdf, type: m1.small)
> 2012-05-21 00:29:04,032 PID: 25891 cluster.py:979 - DEBUG - Launching node001 (ami: ami-ab447bdf, type: m1.small)
> 2012-05-21 00:29:04,033 PID: 25891 cluster.py:979 - DEBUG - Launching node002 (ami: ami-ab447bdf, type: m1.small)
> 2012-05-21 00:29:04,033 PID: 25891 cluster.py:979 - DEBUG - Launching node003 (ami: ami-ab447bdf, type: m1.small)
> 2012-05-21 00:29:04,282 PID: 25891 awsutils.py:165 - INFO - Creating security group _at_sc-myclustername...
> 2012-05-21 00:29:05,213 PID: 25891 cli.py:287 - DEBUG - Traceback (most recent call last):
> File "/Library/Python/2.7/site-packages/StarCluster-0.93.3-py2.7.egg/starcluster/cli.py", line 255, in main
> sc.execute(args)
> File "/Library/Python/2.7/site-packages/StarCluster-0.93.3-py2.7.egg/starcluster/commands/start.py", line 194, in execute
> validate_running=validate_running)
> File "/Library/Python/2.7/site-packages/StarCluster-0.93.3-py2.7.egg/starcluster/cluster.py", line 1414, in start
> return self._start(create=create, create_only=create_only)
> File "<string>", line 2, in _start
> File "/Library/Python/2.7/site-packages/StarCluster-0.93.3-py2.7.egg/starcluster/utils.py", line 87, in wrap_f
> res = func(*arg, **kargs)
> File "/Library/Python/2.7/site-packages/StarCluster-0.93.3-py2.7.egg/starcluster/cluster.py", line 1429, in _start
> self.create_cluster()
> File "/Library/Python/2.7/site-packages/StarCluster-0.93.3-py2.7.egg/starcluster/cluster.py", line 958, in create_cluster
> self._create_flat_rate_cluster()
> File "/Library/Python/2.7/site-packages/StarCluster-0.93.3-py2.7.egg/starcluster/cluster.py", line 982, in _create_flat_rate_cluster
> force_flat=True)[0]
> File "/Library/Python/2.7/site-packages/StarCluster-0.93.3-py2.7.egg/starcluster/cluster.py", line 751, in create_nodes
> cluster_sg = self.cluster_group.name
> File "/Library/Python/2.7/site-packages/StarCluster-0.93.3-py2.7.egg/starcluster/cluster.py", line 614, in cluster_group
> auth_group_traffic=True)
> File "/Library/Python/2.7/site-packages/StarCluster-0.93.3-py2.7.egg/starcluster/awsutils.py", line 212, in get_or_create_group
> auth_group_traffic)
> File "/Library/Python/2.7/site-packages/StarCluster-0.93.3-py2.7.egg/starcluster/awsutils.py", line 172, in create_group
> src_group=self.get_group_or_none(name))
> File "/Library/Python/2.7/site-packages/boto-2.3.0-py2.7.egg/boto/ec2/securitygroup.py", line 158, in authorize
> src_group_group_id = src_group.group_id
> AttributeError: 'SecurityGroup' object has no attribute 'group_id'
>
> ---------- SYSTEM INFO ----------
> StarCluster: 0.93.3
> Python: 2.7.1 (r271:86832, Jul 31 2011, 19:30:53) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
> Platform: Darwin-11.4.0-x86_64-i386-64bit
> boto: 2.3.0
> ssh: 1.7.13
> Crypto: 2.5
> jinja2: 2.6
> decorator: 3.3.1
> _______________________________________________
> StarCluster mailing list
> StarCluster_at_mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster
- application/pgp-signature attachment: stored
Received on Tue May 22 2012 - 15:47:50 EDT
This archive was generated by
hypermail 2.3.0.