You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/04/14 02:49:13 UTC

[GitHub] [airflow] patsevanton opened a new issue #15362: [Feature request] Add more info to output before error: "There are still unapplied migrations after 60 seconds."

patsevanton opened a new issue #15362:
URL: https://github.com/apache/airflow/issues/15362


   Hello! Thanks for airflow!
   Please Add more info to output before error: "There are still unapplied migrations after 60 seconds."
   
   Code https://github.com/apache/airflow/blob/eae22cec9c87e8dad4d6e8599e45af1bdd452062/airflow/utils/db.py#L617
   
   Feature request from issue https://github.com/apache/airflow/issues/15340


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] kaxil commented on issue #15362: [Feature request] Add more info to output before error: "There are still unapplied migrations after 60 seconds."

Posted by GitBox <gi...@apache.org>.
kaxil commented on issue #15362:
URL: https://github.com/apache/airflow/issues/15362#issuecomment-820802932


   Like I mentioned in https://github.com/apache/airflow/issues/15340 -- Migrations are run in a different container
   
   https://github.com/apache/airflow/blob/54adc4463bfa2b8999ed495f3fadc8cf21900991/chart/templates/migrate-database-job.yaml#L21-L33
   
   ^^ It is run via Kubernetes `Job` and name of container is [`run-airflow-migrations`](https://github.com/apache/airflow/blob/54adc4463bfa2b8999ed495f3fadc8cf21900991/chart/templates/migrate-database-job.yaml#L62-L77).
   
   Whereas scheduler and Webserver pods have an init-container that just wait for the migrations to be applied:
   
   https://github.com/apache/airflow/blob/master/chart/templates/scheduler/scheduler-deployment.yaml#L97-L107


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org