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

An interlock container not in the running state prevents the nginx reload #220

Open
adpjay opened this issue Jun 10, 2017 · 0 comments
Open

Comments

@adpjay
Copy link

adpjay commented Jun 10, 2017

In the load balance code, all interlock containers - even ones that are stopped - are included in the list of interlock nodes that can execute the nginx reload. This causes the actual list of nginx servers to reload to be empty for the interlock node that is still running.
Steps to reproduce:
Start interlock1
stop interlock1
Start interlock2
Start nginx1 pointing to interlock2
Create and start test-container with interlock.hostname and interlock.domain specified.
Make a request to test-container via nginx by setting the hostheader
nginx returns a 404.

If we only included interlock containers in the running state when distributing the nginx reload commands, we'd probably be ok.

adpjay added a commit to adpjay/interlock that referenced this issue Jun 10, 2017
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

No branches or pull requests

1 participant