-
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
[BUG] pillar_roots goes intermittent when git_pillar is also enabled #59716
Comments
Another interesting thing about this is, they can seem to work on one minion in the same moment it's not working on another - which is odd when pillars are parsed on the master?:
|
Someone on Slack just suggested to use Just ran that 20 times and the pillars were there every time - so sounds like maybe it's a minion bug?? |
@ichilton This does sound like it is a bug, we will get it triaged, thank you! |
Great, thanks. PS: Use Debian packages, so already on 3003 now. |
Description
If I use pillar_roots alone, it works fine.
If I use git_pillar alone, it seems to work fine.
However, if I enable both at the same time, variables defined in pillar_roots are intermittently available - it appears and disappears on subsequent salt runs.
If I comment out the git_pillar config, it's all fine again.
Setup
Have spent hours and hours going through the documentation and trying different things/config and can not stop this happening. This is the basic config though:
Have tried hardcoding 'base' instead of env and {{ saltenv }}.
It happens with ext_pillar_first: True or False.
Steps to Reproduce the behavior
Use the above config and just keep repeatedly running:
or:
It also happens using testvar in jinja with:
{{ pillar.get('testvar', '') }}
- so it's not just the pillar execution module.If it gets to the point where it disappears all together and won't come back - restarting the salt-master process seems to fix it for a few runs.
Expected behavior
The pillar value should be returned every time and not just disappear.
Screenshots
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: