Join GitHub today
Missing exception handling in salt.master.Maintenance. Process never completes. #37945
Description of Issue/Question
I noticed the following error in salt master logs. It was repeated many times.
I did a little investigation and it turns out that we had three empty tokens in
The process that cleans up tokens, should handle empty files.
There is also a matter, why empty token files were generated in a first place, but I don't know how to reproduce it.
Steps to Reproduce Issue
Those are salt-api related tokens, so install salt-api. Create empty file in