Closed afischer-opentext-com closed 1 year ago
@afischer-opentext-com thank you for report.
The behavior in the case minion's answered it's key is rejected the minion prints the message about it and exits after 10-20 seconds. Since you've set auto-restart, minion is getting restarted and this happens again.
I'm sorry it's not quite clear for me is it a fresh install or an updated minion? So I can't say how the minion key got to the rejected condition. Did you checked salt-key
output on master side? Can you confirm the minion key is in rejected
state and what if you accept it with salt-key --accept <minion-id> --include-rejected
?
Closing due to inactivity. If this is still an issue on the latest version of Salt, please open a new issue with the details.
Description
One of our salt minions ran into the following issue today.
Given the setup of that salt setup, the situation may be expected and a restart would fix the failure.
The issue now is that the python process did not completely exit. A test.ping to the minion no more worked, however, the scsm.exe and the python process continued to execute, leading to the situation that a configured automatic restart did not take.
The log message is written directly before a python
sys.exit()
call, so the issue is not directly visible. The question is now if there may be known shutdown hooks of the python process which may have lead to this situation? We would like to further analyse the situation but need a tip where to begin.Steps to Reproduce the behavior
Unclear
Expected behavior
The minion process should always properly exit in case of a fatal/critical situation.
Screenshots
Versions Report