-
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
Restarting master causes minion to hang #37238
Comments
It looks like @DmitryKuzmenko has already submitted a fix for this issue. It won't make it into 2016.3.4, but it will be in 2016.3.5 |
@gtmanfred actually this will be in for 2016.3.4. |
awesome |
Thanks... I tried the patch from PR #37254, but still have the problem. I just extracted a fresh copy of salt/log/setup.py from my apt-cache and see that changed line is the same:
So I don't think commit c9c45a5 made it into Debian/Ubuntu package for Salt 2016.3.3... so perhaps that's not the cause. I also tried patching my master with salt/log/setup.py from the develop branch and still have the problem. I'd be happy to try other things to troubleshoot if anyone has suggestions. |
@cmclaughlin got it. Thank you for testing. I'll check it. |
I've reproduced this and semi-fixed for now. |
…_master_restart Fix for #37238 salt hang on master restart
Description of Issue/Question
I use https://github.com/saltstack-formulas/salt-formula to manage Salt itself. When I was running 2015.08 I could run highstate on my master and if the master process restarted, the job output would be returned to the local minion and I'd see the changes applied. After upgrading to 2016.3.3 the minion on my master hangs when then master process restarts during a highstate run.
If I stop my highstate commend with control+c, then re-run it - it works. The changes from the first highstate were already applied in this scenario so the second run applies with no changes.
I noticed this in my master logs:
So I found this issue and PR:
#35480
#36555
I tried that patch and the "No such process" error went away, but I still have the problem where restarting the master causes the local minion to hang.
Here's some debug logs from my minion:
I don't really understand what's happening here... I guess the master restarts and the minion doesn't reconnect. Any idea what changed when I upgraded that broke this? Do you know of any other issues or patches I can try?
Versions Report
The text was updated successfully, but these errors were encountered: