-
Notifications
You must be signed in to change notification settings - Fork 100
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
Config-reloader hangs during config check #153
Comments
I figured out the problem. It's due no access to elastic. but i suggest to add parameter --dry-run to fluentd command-line during config checking |
Hey, I'm having exactly same issue. Have you found a workaround? I'm afraid it's going to hang on production cluster and I'll have to restart whole stack to bring it back to life. Problem is that it's not clear which piece of config is responsible for that (I'm using CRs for configuration) |
Hi. In my case were wrong settings in target server parameters. But config-reloader do not hangs, it has 15 connect attempts, which take a long time. You can add --dry-run to fluentd command-line in config-reloader deployment or reduce number of attempts in configmap with fluentd settings in specific namespace |
Thanks, I'll take a look into configuration then! |
@a-b-v hey i seem to have this issue too, when you say in the fluentd command line in the config-reloader deployment where do you mean? i tried adding it to the daemonset here: https://github.com/vmware/kube-fluentd-operator/blob/master/charts/log-router/templates/daemonset.yaml#L113 but that didn't seem to work |
You have to add --dry-run at lines 113 & 115 |
No I've migrated to other solution. |
We have recently merged in some timeouts and log fixes (#180) in order to make config-reloader a bit more resilient and fail quicker in such cases where it cannot validate the fluentd configurations. It will fail quicker and log out more verbose messages. We will be making a new release soon. |
@Cryptophobia |
@mridu23 , it should be sometime this week. |
New releases are made and new one should be incoming. This issue was fixed in latest releases. We do validation like before, except now we timeout the command and output the WARN log messages from the validator command. |
We use the operator in several k8s clusters, but in one the config-reloader don't create config files.
The log with bad config is:
and with next config change lines are added:
but when config like this
log
and no notification for fluentd is sent and configs in /fluentd/etc are absent.
here the log after next config changes:
config-reloader command-line:
If i run config-reloader during exec with next command-line, it works
but with a command-line like this doesn't work
The text was updated successfully, but these errors were encountered: