Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

airflow-upgrade-db job hangs #153

Closed
davido912 opened this issue Apr 16, 2021 · 2 comments · Fixed by #159
Closed

airflow-upgrade-db job hangs #153

davido912 opened this issue Apr 16, 2021 · 2 comments · Fixed by #159
Labels
kind/bug kind - things not working properly

Comments

@davido912
Copy link

image

Often times when the metadatabase is not ready yet, the initial db check up job hangs and fails to initialize. This results in deployments taking longer due to the fact that it takes time until the pod times out. I find from my experience that using the official Airflow CLI command often time hangs instead of a proper while loop that pokes the database for readiness. It would be beneficial to swap this one out with a normal bash "until" to poke the postgres db.

It's pretty frustrating having all those crash loopbacks.

@davido912 davido912 added the kind/bug kind - things not working properly label Apr 16, 2021
@thesuperzapper thesuperzapper added this to Needs Clarification in Issue Triage and PR Tracking Apr 20, 2021
@thesuperzapper
Copy link
Member

@davido912 I think a simple solution is using the linux timeout command in front of the airflow db check

@thesuperzapper thesuperzapper moved this from Needs Clarification to To Do - Bugs in Issue Triage and PR Tracking Apr 20, 2021
@thesuperzapper thesuperzapper moved this from To Do - Bugs to In progress in Issue Triage and PR Tracking Apr 20, 2021
Issue Triage and PR Tracking automation moved this from In progress to Done Apr 20, 2021
@thesuperzapper
Copy link
Member

@davido912 this should be fixed after version version 8.0.8 of the chart, as the airflow db check will now timeout after 16 seconds.

Can you confirm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug kind - things not working properly
Development

Successfully merging a pull request may close this issue.

2 participants