environs/ec2: if the bootstrap node is stopped and started, all the agents in the environment cannot reconnect (new IP address)

Bug #1236662 reported by Dave Cheney
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Medium
Unassigned

Bug Description

Today I was using my ec2 test environment when AWS shutdown my bootstrap node. After restarting it in the console, none of the agents in the environment could reconnect.

2013-10-08 01:31:38 ERROR juju apiclient.go:116 state/api: websocket.Dial wss://ec2-54-253-165-152.ap-southeast-2.compute.amazonaws.com:17070/: dial tcp 10.248.204.175:17070: connection timed out
2013-10-08 01:31:38 ERROR juju runner.go:211 worker: exited "api": websocket.Dial wss://ec2-54-253-165-152.ap-southeast-2.compute.amazonaws.com:17070/: dial tcp 10.248.204.175:17070: connection timed out
2013-10-08 01:31:38 INFO juju runner.go:245 worker: restarting "api" in 3s
2013-10-08 01:31:41 INFO juju runner.go:253 worker: start "api"
2013-10-08 01:31:41 INFO juju apiclient.go:111 state/api: dialing "wss://ec2-54-253-165-152.ap-southeast-2.compute.amazonaws.com:17070/"
2013-10-08 01:32:44 ERROR juju apiclient.go:116 state/api: websocket.Dial wss://ec2-54-253-165-152.ap-southeast-2.compute.amazonaws.com:17070/: dial tcp 10.248.204.175:17070: connection timed out
2013-10-08 01:32:44 ERROR juju runner.go:211 worker: exited "api": websocket.Dial wss://ec2-54-253-165-152.ap-southeast-2.compute.amazonaws.com:17070/: dial tcp 10.248.204.175:17070: connection timed out
2013-10-08 01:32:44 INFO juju runner.go:245 worker: restarting "api" in 3s
2013-10-08 01:32:47 INFO juju runner.go:253 worker: start "api"
2013-10-08 01:32:47 INFO juju apiclient.go:111 state/api: dialing "wss://ec2-54-253-165-152.ap-southeast-2.compute.amazonaws.com:17070/"

Curtis Hovey (sinzui)
tags: added: state-server
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
tags: added: ec2
John A Meinel (jameinel)
summary: - environs/ec2: if the bootstrap node is restarted, all the agents in the
- environment cannot reconnect
+ environs/ec2: if the bootstrap node is stopped and started, all the
+ agents in the environment cannot reconnect (new IP address)
Curtis Hovey (sinzui)
tags: added: ec2-provider
removed: ec2
Changed in juju-core:
importance: High → Medium
Revision history for this message
Dimiter Naydenov (dimitern) wrote :

This should be fixed now, as the instance addresses are updated regularly. Dave, can you confirm if this still happens?

Changed in juju-core:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.