nethad / clustermeister

Clustermeister provides a framework for easy code execution and testing on remote and distributed Java Virtual Machines (JVM). Specifically it provides utilities to facilitate remote code deployment scenarios and an API to execute code on remote JVMs.
Apache License 2.0
6 stars 2 forks source link

No IP address configured when starting suspended amazon instances. #32

Closed danielspicar closed 12 years ago

danielspicar commented 12 years ago

01 May 2012 10:44:52,263 [WARN ][provisioning.ec2.AmazonNodeManager]: Failed to deploy node. java.lang.IllegalStateException: node does not have IP addresses configured: [id=eu-west-1/i-e78975af, providerId=i-e78975af, group=null, name=, location=[id=eu-west-1c, scope=ZONE, description=eu-west-1c, parent=eu-west-1, iso3166Codes=[IE], metadata={}], uri=null, imageId=eu-west-1/ami-f9231b8d, os=[name=null, family=amzn-linux, version=pv-2012.03.1, arch=paravirtual, is64Bit=true, description=amazon/amzn-ami-pv-2012.03.1.x86_64-ebs], state=SUSPENDED, loginPort=22, hostname=null, privateAddresses=[], publicAddresses=[], hardware=[id=t1.micro, providerId=t1.micro, name=null, processors=[[cores=1.0, speed=1.0]], ram=630, volumes=[[id=vol-a5fb50cd, type=SAN, size=null, device=/dev/sda1, durable=true, isBootDevice=true]], hypervisor=xen, supportsImage=And(requiresRootDeviceType(ebs),Or(isWindows(),requiresVirtualizationType(paravirtual)),ALWAYS_TRUE,ALWAYS_TRUE), tags=[]], loginUser=ec2-user, userMetadata={}, tags=[Name]] at com.google.common.base.Preconditions.checkState(Preconditions.java:145) at org.jclouds.compute.util.ComputeServiceUtils.checkNodeHasIps(ComputeServiceUtils.java:200) at org.jclouds.compute.util.ComputeServiceUtils.findReachableSocketOnNode(ComputeServiceUtils.java:181) at org.jclouds.compute.functions.CreateSshClientOncePortIsListeningOnNode.apply(CreateSshClientOncePortIsListeningOnNode.java:58) at org.jclouds.compute.functions.CreateSshClientOncePortIsListeningOnNode.apply(CreateSshClientOncePortIsListeningOnNode.java:40) at com.github.nethad.clustermeister.provisioning.ec2.AmazonEC2JPPFDeployer.getSSHClient(AmazonEC2JPPFDeployer.java:344) at com.github.nethad.clustermeister.provisioning.ec2.AmazonEC2JPPFDeployer.deploy(AmazonEC2JPPFDeployer.java:154) at com.github.nethad.clustermeister.provisioning.ec2.AmazonInstanceManager.deploy(AmazonInstanceManager.java:235) at com.github.nethad.clustermeister.provisioning.ec2.AmazonNodeManager$AddNodeTask.call(AmazonNodeManager.java:262) at com.github.nethad.clustermeister.provisioning.ec2.AmazonNodeManager$AddNodeTask.call(AmazonNodeManager.java:230) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

danielspicar commented 12 years ago

fixed by Commit 8bfe3ef3e941a0958b6b248ee80bf34abb9abb03