-
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
Believes Git fileserver is enabled, when it isn't #6052
Comments
Try running |
Yes, I am getting 'roots' as the value there.
So the question remains why am I getting that error. |
OK. In that case, salt is probably just indiscriminately trying to load all backend modules, irrespective of configuration. The error you're seeing comes from an attempt to I'll dig a bit to try and see how salt loads the fileserver backends. Thanks for reporting. |
This fixes saltstack#6052 by doing a check for git-based external pillars in the master config, and returning False when there are none. This suppresses an error later on in the __virtual__() function which complains that the git fileserver backend is configured (when it clearly is not).
@akoumjian Got a pull req (#6066) pending that fixes this. Thanks again for the report. |
Thank you for looking into it. |
This fixes #6052 by doing a check for git-based external pillars in the master config, and returning False when there are none. This suppresses an error later on in the __virtual__() function which complains that the git fileserver backend is configured (when it clearly is not).
After upgrading to 0.16.0, I noticed my master/minion logs started showing this error:
I do have my file server stored in git, but I am not using the git backend. My config files are pretty old (created somewhere in 10.2), but it doesn't state anything about which file server backend to use.
I'm thinking salt is seeing that the file root is in a git repo, and is assuming that I want to use the git backend when in fact I do not.
The text was updated successfully, but these errors were encountered: