replicatedhq / kots

KOTS provides the framework, tools and integrations that enable the delivery and management of 3rd-party Kubernetes applications, a.k.a. Kubernetes Off-The-Shelf (KOTS) Software.
https://kots.io
Apache License 2.0
902 stars 90 forks source link

add debug logging for the kotsadm startup process #5019

Open laverya opened 1 day ago

laverya commented 1 day ago

What this PR does / why we need it:

Debugging why kotsadm is not starting is quite painful. We can make this easier by: adding a debug log after each major startup function adding a 'this is still waiting' debug message in the db and filestore wait loops

We can also surface timeouts in the s3 connection function by using the context-aware s3 client function.

Which issue(s) this PR fixes:

Does this PR require a test?

Does this PR require a release note?

Does this PR require documentation?