StarCluster - Mailing List Archive

Re: !!! ERROR - Oops! Looks like you've found a bug in StarCluster

From: Justin Riley <no email>
Date: Mon, 8 Aug 2011 02:38:04 -0400

Hmmm, that's odd. Glad you got it working though. I just tried creating a new empty virtual environment and ran 'pip install StarCluster' and it pulled in boto 2.0b4 correctly so I'm not sure what the issue might have been. Must have been a random fluke with pypi or something. Let me know if you run into this again...

~Justin


On Aug 8, 2011, at 2:23 AM, Nolan Nichols wrote:

Hi Justin,

Thanks for the pointer... I used 'pip install StarCluster' and version 'boto 2.0b3' was installed. It seems like the default version of boto that is in installed via pypi is 2.0b3.

After downloading the 'boto 2.0b4' tarball and installing it manually via 'python setup.py install' I was able to start up a cluster.

Cheers,

Nolan

On Sun, Aug 7, 2011 at 8:30 PM, Justin Riley <jtriley_at_mit.edu<mailto:jtriley_at_mit.edu>> wrote:
Hi Nolan,

I suspect this might be a version mismatch for boto. StarCluster 0.92rc2 requires boto 2.0b4. You can check the currently installed boto version using:

$ python -c 'import boto; print boto.Version'

If this is the case, running 'easy_install StarCluster' or, if you downloaded manually, 'python setup.py install' should pull in the required boto version assuming you have setuptools installed.

~Justin

On Aug 7, 2011, at 2:50 PM, Nolan Nichols wrote:

Hello,

I got the error below when trying to start a starcluster. Log attached.

Thanks,

Nolan

--
(test)nolan_at_nolan-mac:~ starcluster start mycluster
StarCluster - (http://web.mit.edu/starcluster) (v. 0.92rc2)
Software Tools for Academics and Researchers (STAR)
Please submit bug reports to starcluster_at_mit.edu<mailto:starcluster_at_mit.edu>
>>> Using default cluster template: smallcluster
>>> Validating cluster template settings...
Traceback (most recent call last):
  File "/Users/nolan/.virtualenv/test/lib/python2.7/site-packages/starcluster/cli.py", line 155, in main
    sc.execute(args)
  File "/Users/nolan/.virtualenv/test/lib/python2.7/site-packages/starcluster/commands/start.py", line 175, in execute
    scluster._validate(validate_running=validate_running)
  File "/Users/nolan/.virtualenv/test/lib/python2.7/site-packages/starcluster/cluster.py", line 1345, in _validate
    self._validate_instance_types()
  File "/Users/nolan/.virtualenv/test/lib/python2.7/site-packages/starcluster/cluster.py", line 1481, in _validate_instance_types
    self.__check_platform(node_image_id, node_instance_type)
  File "/Users/nolan/.virtualenv/test/lib/python2.7/site-packages/starcluster/cluster.py", line 1442, in __check_platform
    image_is_hvm = (image.virtualization_type == "hvm")
AttributeError: 'Image' object has no attribute 'virtualization_type'
!!! ERROR - Oops! Looks like you've found a bug in StarCluster
!!! ERROR - Debug file written to: /tmp/starcluster-debug-nolan.log
!!! ERROR - Look for lines starting with PID: 12940
!!! ERROR - Please submit this file, minus any private information,
!!! ERROR - to starcluster_at_mit.edu<mailto:starcluster_at_mit.edu>
<starcluster-debug-nolan-PID-12940.log><ATT00001..c>
Received on Mon Aug 08 2011 - 02:38:07 EDT
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject