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/03/22 21:29:58 UTC

[GitHub] [airflow] ogierpaul opened a new issue #14938: docker airflow-init is stuck

ogierpaul opened a new issue #14938:
URL: https://github.com/apache/airflow/issues/14938


   
   **Apache Airflow version**:
   apache/airflow:2.0.1-python3.8
   
   
   **Environment**:
   
   - **Cloud provider or hardware configuration**: Mac Os X 3 Ghz
   - **OS** (e.g. from /etc/os-release): Mac Os 10.15.7
   - **Kernel** (e.g. `uname -a`): docker
   - **Install tools**:
   - **Others**:
   
   **What happened**:
   download the `docker.yml` file from apache airflow docker:
   https://airflow.apache.org/docs/apache-airflow/stable/start/docker.html
   
   run
   
   `docker-compose up airflow-init`
   
   The console gets stuck after this steps:
   
   `
    paulogier@MBP-de-Paul:~/81-GithubPackages/UdacityDendCapstone$ docker-compose up airflow-init
   Creating network "udacitydendcapstone_default" with the default driver
   Creating udacitydendcapstone_postgres_1 ... done
   Creating udacitydendcapstone_redis_1    ... done
   Creating udacitydendcapstone_airflow-init_1 ... done
   Attaching to udacitydendcapstone_airflow-init_1
   airflow-init_1       | BACKEND=postgresql+psycopg2
   airflow-init_1       | DB_HOST=postgres
   airflow-init_1       | DB_PORT=5432
   airflow-init_1       | 
   `
   Waiting 10 minutes + and I have to kill the process
   
   **What you expected to happen**:
   
   Initialization of the db
   
   **How to reproduce it**:
   This is hard to reproduce.
   It happens usually after I have run `docker-compose down` and I try to re-build the project.
   
   
   **Anything else we need to know**:
   
   It can also happen sometime with airflow-webserver


-- 
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] marcosmarxm commented on issue #14938: docker airflow-init is stuck

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


   @ogierpaul maybe using this command to create containers could help. 
   `docker-compose up -d --force-recreate --remove-orphans`


-- 
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] mik-laj edited a comment on issue #14938: docker airflow-init is stuck

Posted by GitBox <gi...@apache.org>.
mik-laj edited a comment on issue #14938:
URL: https://github.com/apache/airflow/issues/14938#issuecomment-855319387


   Hi. 
   We added an improvement to `docker-compose.yaml` file that should improve reliability and stability.  Can you check it now?
   https://github.com/apache/airflow/pull/16180
   Best regards,
   Kamil Breguła


-- 
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] boring-cyborg[bot] commented on issue #14938: docker airflow-init is stuck

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #14938:
URL: https://github.com/apache/airflow/issues/14938#issuecomment-804408540


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
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] github-actions[bot] commented on issue #14938: docker airflow-init is stuck

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #14938:
URL: https://github.com/apache/airflow/issues/14938#issuecomment-879482642


   This issue has been closed because it has not received response from the issue author.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

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



[GitHub] [airflow] github-actions[bot] commented on issue #14938: docker airflow-init is stuck

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #14938:
URL: https://github.com/apache/airflow/issues/14938#issuecomment-875163118


   This issue has been automatically marked as stale because it has been open for 30 days with no response from the author. It will be closed in next 7 days if no further activity occurs from the issue author.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

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



[GitHub] [airflow] marcosmarxm edited a comment on issue #14938: docker airflow-init is stuck

Posted by GitBox <gi...@apache.org>.
marcosmarxm edited a comment on issue #14938:
URL: https://github.com/apache/airflow/issues/14938#issuecomment-806115413


   @ogierpaul maybe using this command to create containers could help. 
   `docker-compose up airflow-init -d --force-recreate --remove-orphans`


-- 
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] mik-laj commented on issue #14938: docker airflow-init is stuck

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #14938:
URL: https://github.com/apache/airflow/issues/14938#issuecomment-855319387


   Hi. 
   We added an improvement to `docker-compose.yaml` that should improve reliability and stability.  Can you check it now?
   https://github.com/apache/airflow/pull/16180
   Best regards,
   Kamil Breguła


-- 
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] github-actions[bot] closed issue #14938: docker airflow-init is stuck

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #14938:
URL: https://github.com/apache/airflow/issues/14938


   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

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