-
Notifications
You must be signed in to change notification settings - Fork 189
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
container still running if icinga2 fails. #72
Comments
The only downside to this is that there will be no way for a user to determine what caused Icinga2 to fail if the container is stopped automatically and the logs are not being stored in a volume. Maybe if icinga2 startup fails, cat the last X lines from the icinga2 supervisor stdout log file to docker stdout? |
Yes. My favorite solution I wanted, was just piping the whole stdout/err via supervisord out. But I haven't found one. |
Fixed this by piping output from supervisor-scripts via supervisor to console, which is managed by docker (run|logs|...). See #74 |
I believe after merging #74 this can be closed, too. |
To get #67 merged, I'll record all non-showstoppers by adding new issues.
If the startup of icinga2 fails (configuration fail/whatever), the container will still run, although icinga2 does not do anything. This is a full antipattern against docker's understanding of containers.
To instantly fix this, I would have to get better knowledge of supervisord.
The text was updated successfully, but these errors were encountered: