StarCluster
StarCluster copied to clipboard
unhandled exception while setting static ip address
I am trying to use the following plugin to set a public ip address for grid master node. It works on Linux but on windows it fails 80% of the times with unhandled exception.
Platform: Windows-8.1-6.3.9600 ---------- SYSTEM INFO ---------- Platform: Windows-8.1-6.3.9600 boto: 2.40.0 paramiko: 2.0.2
Crypto: 2.6.1
from starcluster.clustersetup import ClusterSetup from starcluster.logger import log
class ElasticIPSetup(ClusterSetup):
def __init__(self,elasticip):
self.elasticip = elasticip
log.debug('elasticip = %s' % elasticip)
def run(self, nodes, master, user, user_shell, volumes):
master.ec2.conn.associate_address(master.instance.id,self.elasticip)