-
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] saltutil.refresh_grains clearing out pillar cache in salt 3005.x+ #64081
Comments
We will add an arg to clean pillar cache in |
Right now |
People expect What we can do is add As for documentations there are many places in salt were the pillar cache is cleared. How does this sound
|
this behavior started happening after this PR: #60975 (salt 3005). The specific bug that the above PR addressed was to clear the cache, but the cache is always cleared, even when the intent of the user isn't to clear the cache (see I believe this is a bug, but could be addressed with a documentation update, if users would be fine expending compute. This is a regression which also affects |
@cheburakshu now that you bring up What do you think of that solution? |
yeah, the proposal sounds good to me 👍 |
Fix available in upcoming 3006.1 release, closed via #64176 |
Will this be backported to a 3005.x release? |
salt 3005 and later are clearing out the pillar cache and refreshing the grains, as
saltutil.refresh_grains
callssaltutil.refresh_pillar
internally, andrefresh_pillar
is called withclean_cache=True
by default. Request to change the signature ofrefresh_pillar
toclean_cache=False
.Below output is from salt v3005.0 salt-call
The text was updated successfully, but these errors were encountered: