StarCluster icon indicating copy to clipboard operation
StarCluster copied to clipboard

unhandled exception while setting static ip address

Open fsoltanshahi opened this issue 8 years ago • 0 comments

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)

fsoltanshahi avatar Sep 06 '16 19:09 fsoltanshahi