-
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
Cannot use gitfs with salt-ssh #23576
Comments
@davidkarlsen, thanks for the report. |
@davidkarlsen I am able to successfully use salt-ssh with gitfs, both with 2014.7.5 as well as with 2015.5.0. Perhaps something is a bit off in your configuration? Here's what I have working: salt-ssh is running on an Ubuntu 14.04 master with the following (gitfs-related) configurations:
The repo that I have gitfs pointing to is a test repo that I use to test new packages of salt (without having salt already installed on the VM). The states are able to run and execute successfully via salt-ssh:
Here's my versions report:
|
Do the states you're referencing with gitfs work with "regular" salt, instead of salt-ssh? (i.e. Could something be off in your referenced states?) I also tried changing my git reference from |
Yes - the formulas work with "regular salt". I could add that I run salt-ssh as a non-root user - does that influence in any way? |
@davidkarlsen Okay, those are good details. I run my salt-ssh commands as root, so that could be it. I also run my states as I don't see anything particularly off on your config files. The only thing I see missing is defining the I have seen people encounter problems when they define many gitfs remotes with varying top files and then run |
This is still valid, fails with salt-ssh. I have my formula under salt/env/apealive/states/users, loaded properly but fails to render mam.jinja in there
|
I don't know if this has been reproduced recently, but there seems to be the opposite problem now: #59839 |
@OrangeDog yes \o/ I was so used for gitfs to not work that I didn't even try recently but it's working on my current version
|
debug logs to run
|
I'll close this then, as it does work in general, and there are already other issues for when it doesn't. |
Related thread in salt user mailing list.
Same problem with newer version than I reported on the mailinglist:
salt-ssh --version
salt-ssh 2015.5.0 (Lithium)
Thread:
https://groups.google.com/forum/#!searchin/salt-users/gitfs$20salt-ssh/salt-users/yFt-k_Qh0QU/7t6lhOP_SW0J
Debug log output in http://www.davidkarlsen.com/debuglog
I can see the git checkouts landing in the var directory, but they are not found by git-ssh when executing.
The text was updated successfully, but these errors were encountered: