ceph / merfi

Finds and signs files with different signing tools (gpg, rpm-sign)
MIT License
3 stars 3 forks source link

RpmSign: sleep and retry on known failure #66

Closed ktdreyer closed 6 years ago

ktdreyer commented 6 years ago

Occasionally the rpm-sign utility will fail to clearsign, with an exit code of 255 and this cryptic error on stderr. It may be a server-side problem.

Until we can resolve the issue with the security team that manages rpm-sign, just sleep and retry every two seconds, giving up after thirty tries.

ktdreyer commented 6 years ago

cc @ahills @tserlin

ktdreyer commented 6 years ago

I've edited this to have more comments and timing suggestions from security team.

alfredodeza commented 6 years ago

Unsure if you want to hear for more feedback. Feel free to merge when you are OK with it.

ktdreyer commented 6 years ago

Thanks @alfredodeza , I'll tag and push a new version