-
Notifications
You must be signed in to change notification settings - Fork 49
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
Notification if container is unealthy > renew #40
Comments
When a service becomes healthy, DFSL will send a notification when it is to become healthy later. |
This is not what happen with version 18.11.28-19 : when my service is unhealthy, docker swarm kill the container and restart another one. But the listener don't send any notification. Do you need more information ? |
Can you provide information about how your service is set up? |
my services are set up like this :
|
As a debugging option, can you listen to docker events by running:
I didn't ask before, does your service become healthy at some point? |
The container is killed by docker and a new one is restarted after that, So the service become healthy when the new container is started. I try the debugging process and give you a feedback |
So I try the command : sample of response :
I cannot make my service unhealthy right know, but I tried to kill a container in a service, nothing is fired up in service events. Is that normal ? |
When you kill the container, does the service start up again? If I recall, this would not fire an service event. |
We have the same issue when a container exit and when docker restart it. |
@sguilly May you provide more details about your issue? |
Answering for @sguilly: when one of our container exits (normal operation or killed by an error) and is restarted by docker swarm, the listener doesn't "see" the new container. The restart is set in docker-compose:
If we restart docker-flow-swarm-listener service, the container shows up. But if we don't restart the service, Prometheus display the following error:
|
@Mualig Which docker version are you using? |
We have multiple nodes in our swarm. Monitor is always deployed on a node with docker 18.06.1-ce (this version is on the majority of the nodes), but some are on docker 18.03.1-ce and one is on docker 18.09.0. |
Is the listener is capable of sending notification if a container in a service is unhealthy then renew ?
Thanks
The text was updated successfully, but these errors were encountered: