StarCluster - Mailing List Archive

Re: error when starting starcluster

From: Justin Riley <no email>
Date: Wed, 6 Jul 2011 09:54:32 -0400

Hi Marcin,

After some quick googling I found that this error is caused when Python's built-in socket module wasn't compiled with SSL support. Here's a link to someone else having the same error with boto on stackoverflow:

In short you basically need to recompile Python 2.6 with SSL support. Here's a link to a slightly older doc that does this for python 2.5 on CentOS 5.1:

Unfortunately this is not something StarCluster or boto can fix by way of code. Either the Python install has SSL support or not. However, boto could do a better job of checking for SSL support and raising an exception with a better error message instructing the user of the *real* problem (Python install not compiled with SSL support). I've filed a bug report about this on boto's issue tracker:

If I get some time I might try to hack this in myself.

Hope that helps,


On Jul 5, 2011, at 6:58 PM, marcin joachimiak wrote:


I'm running into trouble when starting up the starcluster example. I
am running a custom x86_64 centOS AMI with Python 2.6.

Below is the command and output:

[marcin]#starcluster start mycluster
StarCluster - ( (v. 0.92rc2)
Software Tools for Academics and Researchers (STAR)
Please submit bug reports to<>
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/starcluster/", line 155, in main
File "build/bdist.linux-x86_64/egg/starcluster/commands/",
line 143, in execute
cluster_exists =
File "build/bdist.linux-x86_64/egg/starcluster/", line 80,
in get_cluster_or_none
return self.get_cluster(cluster_name)
 File "build/bdist.linux-x86_64/egg/starcluster/", line 42,
in get_cluster
   group = self.ec2.get_security_group(clname) File
"build/bdist.linux-x86_64/egg/starcluster/", line 1043, in
 File "build/bdist.linux-x86_64/egg/boto/ec2/", line
1658, in get_all_security_groups [('item', SecurityGroup)],
 File "build/bdist.linux-x86_64/egg/boto/", line 584, in get_list
   response = self.make_request(action, params, path, verb)
 File "build/bdist.linux-x86_64/egg/boto/", line 571, in
   return self._send_http_request(http_request)
 File "build/bdist.linux-x86_64/egg/boto/", line 527, in
_send_http_request, sender, override_num_retries)
 File "build/bdist.linux-x86_64/egg/boto/", line 432, in _mexe
   connection = self.get_http_connection(host, self.is_secure)
 File "build/bdist.linux-x86_64/egg/boto/", line 329, in
   return self.new_http_connection(host, is_secure)
 File "build/bdist.linux-x86_64/egg/boto/", line 343, in
   connection = httplib.HTTPSConnection(host)
AttributeError: 'module' object has no attribute 'HTTPSConnection'

!!! ERROR - Oops! Looks like you've found a bug in StarCluster
!!! ERROR - Debug file written to: /tmp/starcluster-debug-root.log
!!! ERROR - Look for lines starting with PID: 31121
!!! ERROR - Please submit this file, minus any private information,
!!! ERROR - to<>

Any help would be greatly appreciated.

StarCluster mailing list<>
Received on Wed Jul 06 2011 - 09:54:35 EDT
This archive was generated by hypermail 2.3.0.


Sort all by: