-
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
Function in mine.update failed to execute #56496
Comments
They continue to fail on every mine update. |
I'm hitting this as well over at #56593. |
Hey @OrangeDog, Here's a "fix", but it is super gross. What happens here is that
Another "fix" is to patch
When either of those happen you'll be able to successfully run |
This seems to also have been introduced in da29e15. It's now using
Line 149 in 94c8ca5
The previous loop checks for positional arguments that don't have any value specified, populating the edit: what @pgporada said, I'll leave this post here because it has a few more details on the code |
hey, just wanted to say that I am experiencing pretty the same problem. I defined mine_functions in pillar (worked before upgrading to 3000.1):
and it caused the same errors mentioned by @OrangeDog . Salt version:
Then I changed pillar as was suggested by @pgporada :
and it started working. |
For some reason I had to refresh the pillar twice to get it to actually update, but this works for the grain. public_ssh_host_names:
- mine_function: grains.get
- fqdn |
@OrangeDog https://github.com/saltstack/salt/pull/56635/files seem to have fix your error. I ran your pillar data on develop and got no error. |
this will be released in Sodium |
Is it fixed in sodium? I am still getting the same error after upgrading.
If I run config.get mine_fucntions, I can see the function is there:
But if run mine.get, it is empty:
|
Description of Issue
After upgrade 2019.2.3 -> 3000.1, minions now log this on startup.
Setup
Pillar:
Steps to Reproduce Issue
Versions Report
The text was updated successfully, but these errors were encountered: