Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate EC2 machines not getting a public IP address #63

Open
rjanik114 opened this issue Jan 19, 2017 · 0 comments
Open

Investigate EC2 machines not getting a public IP address #63

rjanik114 opened this issue Jan 19, 2017 · 0 comments

Comments

@rjanik114
Copy link
Contributor

I've caught this twice today:

10:16:44.907 [ForkJoinPool.commonPool-worker-1] INFO  sunstone.core - Started Amazon EC2 node 'node1' from image us-east-1/ami-6445c773, its public IP address is null

My test then fails because the IP address can't be null:

Caused by: java.lang.IllegalStateException: node does not have IP addresses configured: {redacted}
	at com.google.common.base.Preconditions.checkState(Preconditions.java:199)
	at org.jclouds.compute.util.ConcurrentOpenSocketFinder.checkNodeHasIps(ConcurrentOpenSocketFinder.java:191)
	at org.jclouds.compute.util.ConcurrentOpenSocketFinder.findOpenSocketOnNode(ConcurrentOpenSocketFinder.java:82)
	at org.wildfly.extras.sunstone.api.impl.AbstractJCloudsNode.waitForPorts(AbstractJCloudsNode.java:191)
	at org.wildfly.extras.sunstone.api.impl.AbstractJCloudsNode.waitForStartPorts(AbstractJCloudsNode.java:182)
	at org.wildfly.extras.sunstone.api.impl.ec2.EC2Node.<init>(EC2Node.java:91)
	at org.wildfly.extras.sunstone.api.impl.ec2.EC2CloudProvider.createNodeInternal(EC2CloudProvider.java:73)
	at org.wildfly.extras.sunstone.api.impl.AbstractJCloudsCloudProvider.lambda$createNode$0(AbstractJCloudsCloudProvider.java:100)
	at java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1853)
	at org.wildfly.extras.sunstone.api.impl.AbstractJCloudsCloudProvider.createNode(AbstractJCloudsCloudProvider.java:95)
	at org.wildfly.extras.sunstone.api.impl.AbstractJCloudsCloudProvider.lambda$createNodeAsync$3(AbstractJCloudsCloudProvider.java:164)
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
	... 5 more

I'll assign myself because I intend to investigate this in time, but if someone wants to take it, sure, go ahead. Ask me if you want instructions on how to reproduce it, but know that the fail is random.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants