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
Failed to load ext_pillar stack: no filter named 'unique' in 2018.3 #46926
Comments
can you please share how you have your external pillar setup? |
the master.conf contains:
the stack2.cfg file contains:
the somefile.yml contains:
|
Thanks for adding teh configuration. Helped me to replicate it. bisect shows: 494022d which is this PR. ping @lorengordon any ideas here? |
Basically the same problem fixed by #46744. The utils modules were all shifted around... The modules containing the jinja filters are not getting imported, and so the decorator is not getting called, which means the filters in utils modules that are not imported are not getting injected into the jinja env. |
This problem still exists in Saltstack 2018.3.2 |
Having a similar problem with |
its not currently assigned out. If anyone wants to try to push a PR we would definitely appreciate it. |
@Ch3LL Any updates? :-( |
not any updates currently. does anyone from @saltstack/team-core have time to take a look at this one? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
still a very irritating issue. |
Thank you for updating this issue. It is no longer marked as stale. |
Does this affect any ext pillar? In any case, when using pillarstack it seems none of the filters are available, is there are a target release for this yet? This is 2019.2.0 anyway;
Results:
Seems to me this affects a whole lot of installs? Have to revert to |
@Oloremo I don't know that this can get done for the Sodium release, but I will put it in the queue to see if we can get it assigned. Very likely it will need help from the community that does know this part of the code base, but I will try to find someone. |
@sagetherage I have a hint that it could be pillarstack related and I try to validate this and maybe patch in pillarstack upstream |
It seems that this problem still exists in pillarstack in Salt 3004.2 |
I think i just stumbled upon this issue in 3005.1.
The line in question is as follows where
|
Description of Issue/Question
After upgrading to 2018.7 Saltstack doesn't know the Jinja filter 'unique' in the ext_pillar stack.
This worked ok before upgrading from 2017.7 and after downgrading back to 2017.7.
Setup
snippet from external pillar stack *.yml file:
{% for app in a_dict | unique %}
{% endfor %}
The text was updated successfully, but these errors were encountered: