-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
complete config ignore upon parse error #6714
Comments
@s0undt3ch This is happening because of this block of code. I'm not as familiar with the logging system, but it appears that the logging isn't setup yet and therefore it is logging to the console and not the minion log. Is there any way around this? |
Well, if logging is not yet setup no, no work around, as you state, it's printed to stdout. I have a branch in my fork, which is not ready yet, that will store any logging messages that should be sent to console and log files while it's not setup and once setup, sends those stored logs messages. That might fix this issue, at lease make it more visible. |
That should resolve this then, as the issue was opened to try to get this infomation in the log as it was only discovered upon running salt-call. |
Ok, let's leave it assigned to me and set to be included in 0.17.0 |
Already done. :) |
Test for the presence of a yaml parsing log message. Fixes #6714.
…6714. Additionally, moved the yaml syntax error checking to the proper place.
i made a mistake in /etc/salt/minion by forgetting a blank after the colon of:
salt was not connecting to master.
the message in /var/log/minion was completely unhelpful:
this indiates that the config is ignored completely, as salt is the default master (but not in my setup).
running:
The text was updated successfully, but these errors were encountered: