_pillar
func breaks fileserver globals
#22941
Labels
Bug
broken, incorrect, or confusing behavior
Core
relates to code central or existential to Salt
P3
Priority 3
Pillar
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Hi,
It's the same bug as #22844 , but in master workers.
When calling
_pillar
function, a fileclient is instanciate at https://github.com/saltstack/salt/blob/2014.7/salt/pillar/__init__.py#L116 . This overwrite global__opts__
infileserver.roots
withfile_roots
aspillar_roots
. This break fetching of state sls.In fact, it depends on which worker is queried. This make it a bit hard to reproduce. Here is a log:
On minion :
And on master
As you can see, a pillar file is served by _serve_file.
_serve_file
must always server fromfile_roots
.The text was updated successfully, but these errors were encountered: