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/02 15:05:25 UTC

[GitHub] [airflow] jagusztinl opened a new issue #15160: Airflow Init:CrashLoopBackOff after K8S restart

jagusztinl opened a new issue #15160:
URL: https://github.com/apache/airflow/issues/15160


   **Apache Airflow version**:
   v2.0.1
   
   **Kubernetes version (if you are using kubernetes)** (use `kubectl version`):
   1.19
   
   
   **What happened**:
   Deployed AIrflow to K8S:
   helm install -f bitnami_values.yaml airflow-k8s bitnami/airflow \
   --set executor=KubernetesExecutor \
   --set redis.enabled=false \
   --set rbac.create=true \
   --set serviceaccount.create=true \
   --set auth.username=my-user \
   --set auth.password=my-passsword \
   --set git.dags.enabled=true \
   --set git.dags.repositories[0].repository=https://github.com/apache/airflow \
   --set git.dags.repositories[0].branch=master \
   --set git.dags.repositories[0].path=airflow/example_dags \
   --set git.dags.repositories[0].name=Examples \
   
   Worked perfectly. Then stopped the K8S cluster, and started again. 
   Airflow containers did not start, the clone-repositories init container failed:
   <!-- (please include exact error messages if you can) -->
   fatal: destination path '/dags-examples' already exists and is not an empty directory.
   
   
   **What you expected to happen**:
   
   <!-- What do you think went wrong? -->
    clone-repositories init container not handling well the restarts
   
   **How to reproduce it**:
   
   Install Airflow (described above) start some workflow then and restart K8S
   
   **Anything else we need to know**:
   Reproducable every time
   
   


-- 
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] xinbinhuang commented on issue #15160: Airflow Init:CrashLoopBackOff after K8S restart

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


   This issue is related to the bitnami helm chart in use, and you should open an issue there.


-- 
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] eladkal closed issue #15160: Airflow Init:CrashLoopBackOff after K8S restart

Posted by GitBox <gi...@apache.org>.
eladkal closed issue #15160:
URL: https://github.com/apache/airflow/issues/15160


   


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