tarmak icon indicating copy to clipboard operation
tarmak copied to clipboard

Race condition when downloading Vault assets

Open dippynark opened this issue 7 years ago • 1 comments

Is this a BUG REPORT or FEATURE REQUEST?:

/kind bug

What happened:

vault-assets.service:
Sep 04 11:45:45 vault-1.tarmak.local systemd[1]: Starting Fetch vault assets...
Sep 04 11:45:47 vault-1.tarmak.local bash[9745]: fatal error: An error occurred (403) when calling the HeadObject operation: Forbidden
Sep 04 11:45:47 vault-1.tarmak.local systemd[1]: vault-assets.service: main process exited, code=exited, status=1/FAILURE
Sep 04 11:45:47 vault-1.tarmak.local systemd[1]: Failed to start Fetch vault assets.
Sep 04 11:45:47 vault-1.tarmak.local systemd[1]: Unit vault-assets.service entered failed state.
Sep 04 11:45:47 vault-1.tarmak.local systemd[1]: vault-assets.service failed.

What you expected to happen: The vault-assets.service should restart on-failure in case the Vault instances permissions have not yet been created

How to reproduce it (as minimally and precisely as possible): Create and destroy vault until the race condition occurs

dippynark avatar Sep 04 '18 12:09 dippynark

This will be fixed by #93

JoshVanL avatar Sep 04 '18 13:09 JoshVanL