-
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
LocalClient file cache confuse pillar and state files #22844
Comments
Here is a custom trace :
|
There is a side effect in |
The problem is here :
The bug is that fileservers are loaded with pillar settings. |
Jinja reinstanciate it's client. This is why |
The line https://github.com/saltstack/salt/blob/2014.7/salt/state.py#L2982 load fileserver with |
@bersace, thanks for working on this. |
The bug is also in 2015.2. We should port the fix. I'm not planning on it right now. |
Looks like the bug is still present with file_client: remote. I'm trying to fix this right now. |
That's really strange. When minion queries state
And on master
Why the hell does it read two different files ? :/ Looks like a side effect. Pillar caching is really broken :( |
That global |
Ok, the fileserver is different from time to time :( I don't know where is the fileserver targetting. |
It looks like some workers does not have the same fileserver settings. |
I switched to Ansible. |
Hi,
I hit a bug when using
extends
in top.sls.Here is the settings :
Here is the result of
show_top
:I expect :
It looks like jinja block
all
ofpillar/top.sls
is used instead ofsalt/top.sls
:(I investigate a bit and found that local client seems guilty.
get_file('salt://top.sls)
returns/srv/pillar/top.sls
when searching instead of/srv/salt/top.sls
:(I keep debugging this and try do propose a fix. Do you have a clue ?
This is also broken in
develop
.Regards,
Étienne
The text was updated successfully, but these errors were encountered: