Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tgross
Copy link
Contributor

@tgross tgross commented Dec 9, 2016

This PR is for problems discovered with Consul clustering as part of debugging #71.

The Consul server was continually trying to join itself because I switched it to use autopilotpattern/consul when it's only a single-node cluster.

Also, when we reload the config for the primary, the logic in manager/containerpilot.py includes the port 8500 in the -retry-join field which it should not. So we join Consul just fine and then keep trying to re-join on a port that doesn't work after the reload.

cc @misterbisson @jasonpincin @mbbender

@tgross tgross mentioned this pull request Dec 9, 2016
@tgross tgross changed the title Work-in-progress for #71 Fix Consul --retry-join failure Dec 9, 2016
-ui-dir /ui
image: consul:0.7.1
command: >
agent -server -client=0.0.0.0 -bootstrap -ui

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well isn't that clean?

@tgross tgross merged commit 62878e0 into autopilotpattern:master Dec 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants