-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
Docs: check_migrations more verbose documentation #15650
Labels
Comments
@kaxil Just tagging you since you have been working on the Airflow helm chart |
kaxil
added a commit
to astronomer/airflow
that referenced
this issue
May 5, 2021
Currently it just shows "TimeoutError: There are still unapplied migrations after 60 seconds. " which is not that helpful. This commit adds more info to show the difference in migrations in DB and source code running `check_migrations`: Now: ``` TimeoutError: There are still unapplied migrations after 60 seconds. Migration Head(s) in DB: {'e165e7455d70'} | Migration Head(s) in Source Code: {'a13f7613ad25'} ``` closes apache#15650
potiuk
pushed a commit
that referenced
this issue
May 5, 2021
Currently it just shows "TimeoutError: There are still unapplied migrations after 60 seconds. " which is not that helpful. This commit adds more info to show the difference in migrations in DB and source code running `check_migrations`: Now: ``` TimeoutError: There are still unapplied migrations after 60 seconds. Migration Head(s) in DB: {'e165e7455d70'} | Migration Head(s) in Source Code: {'a13f7613ad25'} ``` closes #15650
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Sep 17, 2021
Currently it just shows "TimeoutError: There are still unapplied migrations after 60 seconds. " which is not that helpful. This commit adds more info to show the difference in migrations in DB and source code running `check_migrations`: Now: ``` TimeoutError: There are still unapplied migrations after 60 seconds. Migration Head(s) in DB: {'e165e7455d70'} | Migration Head(s) in Source Code: {'a13f7613ad25'} ``` closes apache/airflow#15650 GitOrigin-RevId: 86ad628158eb728e56c817eea2bea4ddcaa571c2
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Sep 23, 2021
Currently it just shows "TimeoutError: There are still unapplied migrations after 60 seconds. " which is not that helpful. This commit adds more info to show the difference in migrations in DB and source code running `check_migrations`: Now: ``` TimeoutError: There are still unapplied migrations after 60 seconds. Migration Head(s) in DB: {'e165e7455d70'} | Migration Head(s) in Source Code: {'a13f7613ad25'} ``` closes apache/airflow#15650 GitOrigin-RevId: 86ad628158eb728e56c817eea2bea4ddcaa571c2
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Nov 27, 2021
Currently it just shows "TimeoutError: There are still unapplied migrations after 60 seconds. " which is not that helpful. This commit adds more info to show the difference in migrations in DB and source code running `check_migrations`: Now: ``` TimeoutError: There are still unapplied migrations after 60 seconds. Migration Head(s) in DB: {'e165e7455d70'} | Migration Head(s) in Source Code: {'a13f7613ad25'} ``` closes apache/airflow#15650 GitOrigin-RevId: 86ad628158eb728e56c817eea2bea4ddcaa571c2
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Mar 10, 2022
Currently it just shows "TimeoutError: There are still unapplied migrations after 60 seconds. " which is not that helpful. This commit adds more info to show the difference in migrations in DB and source code running `check_migrations`: Now: ``` TimeoutError: There are still unapplied migrations after 60 seconds. Migration Head(s) in DB: {'e165e7455d70'} | Migration Head(s) in Source Code: {'a13f7613ad25'} ``` closes apache/airflow#15650 GitOrigin-RevId: 86ad628158eb728e56c817eea2bea4ddcaa571c2
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Jun 4, 2022
Currently it just shows "TimeoutError: There are still unapplied migrations after 60 seconds. " which is not that helpful. This commit adds more info to show the difference in migrations in DB and source code running `check_migrations`: Now: ``` TimeoutError: There are still unapplied migrations after 60 seconds. Migration Head(s) in DB: {'e165e7455d70'} | Migration Head(s) in Source Code: {'a13f7613ad25'} ``` closes apache/airflow#15650 GitOrigin-RevId: 86ad628158eb728e56c817eea2bea4ddcaa571c2
kosteev
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Jul 9, 2022
Currently it just shows "TimeoutError: There are still unapplied migrations after 60 seconds. " which is not that helpful. This commit adds more info to show the difference in migrations in DB and source code running `check_migrations`: Now: ``` TimeoutError: There are still unapplied migrations after 60 seconds. Migration Head(s) in DB: {'e165e7455d70'} | Migration Head(s) in Source Code: {'a13f7613ad25'} ``` closes apache/airflow#15650 GitOrigin-RevId: 86ad628158eb728e56c817eea2bea4ddcaa571c2
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Aug 27, 2022
Currently it just shows "TimeoutError: There are still unapplied migrations after 60 seconds. " which is not that helpful. This commit adds more info to show the difference in migrations in DB and source code running `check_migrations`: Now: ``` TimeoutError: There are still unapplied migrations after 60 seconds. Migration Head(s) in DB: {'e165e7455d70'} | Migration Head(s) in Source Code: {'a13f7613ad25'} ``` closes apache/airflow#15650 GitOrigin-RevId: 86ad628158eb728e56c817eea2bea4ddcaa571c2
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Oct 4, 2022
Currently it just shows "TimeoutError: There are still unapplied migrations after 60 seconds. " which is not that helpful. This commit adds more info to show the difference in migrations in DB and source code running `check_migrations`: Now: ``` TimeoutError: There are still unapplied migrations after 60 seconds. Migration Head(s) in DB: {'e165e7455d70'} | Migration Head(s) in Source Code: {'a13f7613ad25'} ``` closes apache/airflow#15650 GitOrigin-RevId: 86ad628158eb728e56c817eea2bea4ddcaa571c2
aglipska
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Oct 7, 2022
Currently it just shows "TimeoutError: There are still unapplied migrations after 60 seconds. " which is not that helpful. This commit adds more info to show the difference in migrations in DB and source code running `check_migrations`: Now: ``` TimeoutError: There are still unapplied migrations after 60 seconds. Migration Head(s) in DB: {'e165e7455d70'} | Migration Head(s) in Source Code: {'a13f7613ad25'} ``` closes apache/airflow#15650 GitOrigin-RevId: 86ad628158eb728e56c817eea2bea4ddcaa571c2
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Dec 7, 2022
Currently it just shows "TimeoutError: There are still unapplied migrations after 60 seconds. " which is not that helpful. This commit adds more info to show the difference in migrations in DB and source code running `check_migrations`: Now: ``` TimeoutError: There are still unapplied migrations after 60 seconds. Migration Head(s) in DB: {'e165e7455d70'} | Migration Head(s) in Source Code: {'a13f7613ad25'} ``` closes apache/airflow#15650 GitOrigin-RevId: 86ad628158eb728e56c817eea2bea4ddcaa571c2
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Jan 27, 2023
Currently it just shows "TimeoutError: There are still unapplied migrations after 60 seconds. " which is not that helpful. This commit adds more info to show the difference in migrations in DB and source code running `check_migrations`: Now: ``` TimeoutError: There are still unapplied migrations after 60 seconds. Migration Head(s) in DB: {'e165e7455d70'} | Migration Head(s) in Source Code: {'a13f7613ad25'} ``` closes apache/airflow#15650 GitOrigin-RevId: 86ad628158eb728e56c817eea2bea4ddcaa571c2
kosteev
pushed a commit
to kosteev/composer-airflow-test-copybara
that referenced
this issue
Sep 12, 2024
Currently it just shows "TimeoutError: There are still unapplied migrations after 60 seconds. " which is not that helpful. This commit adds more info to show the difference in migrations in DB and source code running `check_migrations`: Now: ``` TimeoutError: There are still unapplied migrations after 60 seconds. Migration Head(s) in DB: {'e165e7455d70'} | Migration Head(s) in Source Code: {'a13f7613ad25'} ``` closes apache/airflow#15650 GitOrigin-RevId: 86ad628158eb728e56c817eea2bea4ddcaa571c2
kosteev
pushed a commit
to kosteev/composer-airflow-test-copybara
that referenced
this issue
Sep 13, 2024
Currently it just shows "TimeoutError: There are still unapplied migrations after 60 seconds. " which is not that helpful. This commit adds more info to show the difference in migrations in DB and source code running `check_migrations`: Now: ``` TimeoutError: There are still unapplied migrations after 60 seconds. Migration Head(s) in DB: {'e165e7455d70'} | Migration Head(s) in Source Code: {'a13f7613ad25'} ``` closes apache/airflow#15650 GitOrigin-RevId: 86ad628158eb728e56c817eea2bea4ddcaa571c2
kosteev
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Sep 17, 2024
Currently it just shows "TimeoutError: There are still unapplied migrations after 60 seconds. " which is not that helpful. This commit adds more info to show the difference in migrations in DB and source code running `check_migrations`: Now: ``` TimeoutError: There are still unapplied migrations after 60 seconds. Migration Head(s) in DB: {'e165e7455d70'} | Migration Head(s) in Source Code: {'a13f7613ad25'} ``` closes apache/airflow#15650 GitOrigin-RevId: 86ad628158eb728e56c817eea2bea4ddcaa571c2
kosteev
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Nov 7, 2024
Currently it just shows "TimeoutError: There are still unapplied migrations after 60 seconds. " which is not that helpful. This commit adds more info to show the difference in migrations in DB and source code running `check_migrations`: Now: ``` TimeoutError: There are still unapplied migrations after 60 seconds. Migration Head(s) in DB: {'e165e7455d70'} | Migration Head(s) in Source Code: {'a13f7613ad25'} ``` closes apache/airflow#15650 GitOrigin-RevId: 86ad628158eb728e56c817eea2bea4ddcaa571c2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The documentation and the error message of the check-migrations /
def check_migrations
could be more verbose. This check can fail if the underlying database was never initialised.Use case / motivation
We are deploying our airflow helm chart with terraform helm provider. This provider has a bug with helm hook. If airflow would give us a bit more verbose error message why could the
check-migrations
fail, we would find the underlying error/bug much sooner.Are you willing to submit a PR?
Yes
The text was updated successfully, but these errors were encountered: