-
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] [v3000] [vRC1 Sodium] [v3001] slsutil.renderer when called through salt-call not exiting after run #57574
Comments
As we are heavily using |
@whytewolf Thanks for reporting this issue. |
Sounds like the same thing as #57456 |
changing the severity to high - subjective definitions but my gut tells me this is high vs medium |
I guess this bug was silently fixed by other changes. I did tried to reproduce using 2020-06-09 git with an non-existent file:
And with an existent one:
salt --versions-report
|
@piterpunk or it's not reproducible on Slackware. Do you see the problem using the RC instead? |
The reproduction issue doesn't seem to be Slackware related. Just created a CentOS 8 machine at Linode and I have the same results, with no hangs, with the code from git:
salt --versions-report
|
@piterpunk is that the RC release or a later version? |
It's a later version. I usually check the bug against the last version to see if it's already fixed and not start to write code for nothing. I see now that I have to understand better the development dynamics here. Should I try the current code on Ubuntu 20.04 to see if it this issue is gone there too and, if solved, bisect to find the commit which solved the problem? |
You should check this. First try the RC code and confirm the issue is there. Then if the current code on the same system doesn't have the issue then it is fixed. |
Tested 3001rc1 on Slackware machine and the issue was present there:
The execution waits forever in this last line, as described by OP. salt --versions-report
|
trying something on this issue with the title, versions bug is reported in the brackets. We may all hate it so only trying it on this one issue ATM this and the referenced issue point to more issues and we have the Open Core Team looking at what we can fix in the point release 3001.1 and maybe there is more to fix Magnesium - likely. |
@sagetherage usually that's what the labels are for, and you use the milestone to show the planned fix release |
yes, we abuse label, though |
and right now I can't give community members the ability to apply labels, working on it. |
Also tested it on Ubuntu 20.04:
In our case seems to be failing when we have more then file in definitions. For instance a simple sls with a single file:
was ok. However:
did not exit (thus the Ctrl+C). In our tests it fails to exit for states having service.running, cmd.wait, archive.extracted, so maybe it has something to do with the cleanup. |
Yeah, it seems every salt-call invocation on FreeBSD 13 and Salt 3001 has this problem |
@CostelLupoaie pointed a bug applying states with more than one file. The guess is that they are all related to the original slsutil.renderer bug? |
Can confirm this happens in some of my states in 3001 on Ubuntu 20.04. The same states running on a Ubuntu 16.04 system don't hang (at least, not as far as I've seen). This is in my bento test environment so it's pretty vanilla. I can provide more details if you think it would be helpful. |
@waynew Sure. This state proved reproducible:
On the master, ( The only odd settings on my master server might be master
minion-xenial
minion-focal
|
I'm experiencing the same issue, with a pretty similar setup, master is Ubuntu 18.04, minion is 20.04. |
Definitely something screwy going on here. Thanks to @xcorvis I was finally able to repro this: Running salt-call with
That's where it hangs indefinitely. From the
So whatever we're polling for here, we're doing it for-ev-errrr. I'll post updates as I find them. |
@whytewolf we didn't get this into the point release as we don't have the fix yet, so moving to Magnesium. |
Does |
@whytewolf I believe I have the fix for your hang. It works for my environment. I would appreciate it if you tested it in your environment to make sure it works for you so you don't need to wait for another release. |
Description
Running salt-call slsutil.renderer is causing a freeze after the output.
Setup
install salt and render a file with saltutil.renderer
salt-call slsutil.renderer
watch it stick and have to hit ctrl+c to get a prompt back.Steps to Reproduce the behavior
salt-call slsutil.renderer salt://test/init.sls
file doesn't need to exist.Expected behavior
salt-call exists after modules return.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions Report
salt-call test.versions
The text was updated successfully, but these errors were encountered: