-
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
Minion returns "No response" for most commands in 2019.2.2 with "RNG" related error #55116
Comments
Master/Minion on 2019.2.2. Master and both Minions are on RHEL6.10 |
@Paulo-Nunes, I think the result of your error is that you're instance of RHEL is running Python 2.6 which has been deprecated by 2017.7.0, but nonetheless...if you can't upgrade to Python 2.7, does installing |
Installing Are there any other logs/reports that would be helpful to find a solution. Unfortunately the version of python installed is out of my control. I also tested upgrading a RHEL 7 Minion on Python 2.7.5. In this case it is working without needing |
@Paulo-Nunes, I don't have any more answers, but maybe a maintainer will be able to help you further. |
I'll ask someone with more experience in rhel and see what they think. |
Do you think you could run a |
Afterwards, send a |
Both Ports are as they have been for the past 2 years or so. Only an issue after upgrading the minion/master. Correction: I upgraded salt-minion on 3 minions 2/3 have this issue. The 2/3 that have the issue are RHEL6 the 1/3 that appears to be unaffected is RHEL7 |
We encountered this issue on CentOS 7 (CentOS Linux release 7.7.1908 (Core)) as well
Minion is still able to return grains for example, but job events seem to have problem. So probably this option is now broken in 2019.2.2.
Both master and minion are 2019.2.2 and PY2 versions. |
So I can confirm this is issue for RHEL 6 as well (in particular with minion_sign_messages) on 2019.2.2 (not really depending on transport there)
Once the minion process is forked, it should call For me it solved calling reinit_crypto before the sign_messages (so basically when minion process is forked, to avoid any potential other issues). If @Paulo-Nunes can provide full stacktrace, I could be able to determine where that is called in his case (and if for example I will prepare PR to target this, although tests for this might be an issue to reproduce it. |
The full stack trace on one of the problem minions:
Yes, Minion has: Update: I tried setting |
Thanks, so your stacktrace also fails inside Is the stacktrace any different when you set |
Seems I didn't copy everything last time. It prints 2 errors everytime I do a
The only lines that are different between
False:
Doesn't look too significant to me, but I don't know enough to judge that. |
Yeah, name of the process it not relevant here. What is interesting is that it always tries to sign the message:
But in the actual version it's this: Lines 1403 to 1407 in ca2afa5
So it really shouldn't™ do that. Are you sure it's really disabled? There might be more config files that override those settings (note that if you enforce sign validations on master, it might reject minion events when you disable the setting on minion only). But more or less the problem should be solved by the PR above. |
i verified the fix in #55635 does indeed fix this issue. anyone else want to verify here? |
It is possible that Minion:
Master:
I can do more testing later today where I play with some of these settings to see if they make a difference. |
After applying the changes from #55635 the minion returns when master issues test.ping and no error is logged in minion log. I have not tested how those changes affect other functions or minions. Tested on Minion:
|
okay to close this? |
On my end it looks like #55635 resolves the issue. As a workaround this does seem to work, but I wouldn't apply this fix to hundreds of minions. I will wait to upgrade until the fix is released. If it is sufficient to show that a workaround exists, then yes the issue can be closed. |
thanks for verifying the fix. we can close when the PR Is merged |
Description of Issue
After upgrading from 2019.2.0 to 2019.2.2 some salt commands fail with
[No response]
.pillar.items
works, but:state.apply
test.ping
cmd.run
grains.items
Do not work.
I only tested these 5 commands.
state.apply test=True
does work though, as does runningsalt-call state.apply
from the minion.I also made a typo when testing this and
grais.items
also gets no response instead of an error about how the command does not exist.Steps to Reproduce Issue
Run any of the commands from the master noted in the Issue Description to reproduce the issue.
Minion logs show errors:
Versions Report
The text was updated successfully, but these errors were encountered: