-
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
module grains.set not updating grains #54331
Comments
im having a hard time replicating this. when you run grains.set the grains should get refreshed for you.
is |
looking at your report more closely, it looks like the only difference is the location of the file |
@Ch3LL And how does Looking at my configuration, I do have |
After disabling I think when Also, it would be nice if |
I did find the |
|
thanks for checking on that :) looks like we will need to get this fixed up even for that argument |
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. |
Thank you for updating this issue. It is no longer marked as stale. |
Could the priority of this task be raised please. The fact that |
Hit something like that on 3003.2 I do a grains.set and refresh_grains after. We have a CI that runs ~100 integration tests that all do more or less the same with grains.set and so on. And like 20 out of 100 failed with that error. Feels like there is some kind of race. @sagetherage Do you think someone can look at that issue? |
Ok seems like if I do that like this:
During the state execution and after I have to do a
One more time to make it work as expected. |
… the custom set grains. Relates to saltstack/salt#54331
… the custom set grains. Relates to saltstack/salt#54331
… the custom set grains. Relates to saltstack/salt#54331
… the custom set grains. Relates to saltstack/salt#54331
… the custom set grains. Relates to saltstack/salt#54331
… the custom set grains. Relates to saltstack/salt#54331
I am trying to use
grains.set
to add some grains.I can see that
/usr/local/etc/salt/grains
successfully updated, but I can not see it fromgrains.ls
orgrains.items
. I also triedsaltutil.refresh_grains
with no avail.To reproduce:
on minion:
then, in
/usr/local/etc/salt/grains
returns nothing
version report
The text was updated successfully, but these errors were encountered: