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/15 23:33:02 UTC

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

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