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/08/19 14:43:56 UTC

[GitHub] [airflow] sushi30 opened a new issue #17733: Scheduler-gc fails on helm chart when running 'find'

sushi30 opened a new issue #17733:
URL: https://github.com/apache/airflow/issues/17733


   <!--
   Welcome to Apache Airflow!
   
   Please complete the next sections or the issue will be closed.
   -->
   
   **Apache Airflow version**:
   
   2.1.3
   
   **OS**:
   
   centos-release-7-8.2003.0.el7.centos.x86_64
   
   **Apache Airflow Provider versions**:
   
   Irrelevant
   
   **Deployment**:
   
   Helm Chart
   
   **Versions**:
   
   ```go
   Client Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.15-eks-ad4801", GitCommit:"ad4801fd44fe0f125c8d13f1b1d4827e8884476d", GitTreeState:"clean", BuildDate:"2020-10-20T23:30:20Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
   Server Version: version.Info{Major:"1", Minor:"17+", GitVersion:"v1.17.17-eks-087e67", GitCommit:"087e67e479962798594218dc6d99923f410c145e", GitTreeState:"clean", BuildDate:"2021-07-31T01:39:55Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
   version.BuildInfo{Version:"v3.6.3", GitCommit:"d506314abfb5d21419df8c7e7e68012379db2354", GitTreeState:"clean", GoVersion:"go1.16.5"}
   ```
   
   **What happened**:
   
   Helm deployment succeeds but scheduler pod fails with error:
   
   ```log
   Cleaning logs every 900 seconds
   Trimming airflow logs to 15 days.
   find: The -delete action automatically turns on -depth, but -prune does nothing when -depth is in effect.  If you want to carry on anyway, just explicitly use the -depth option.
   ```
   
   **What you expected to happen**:
   
   I expect the `scheduler-gc` to run successfully and if it fails, helm deployment should fail.
   
   **How to reproduce it**:
   
   1. Build container using breeze from [reference `719709b6e994a99ad2cb8f90042a19a7924acb8e`](https://github.com/apache/airflow/commit/719709b6e994a99ad2cb8f90042a19a7924acb8e)
   2. Deploy to helm using this container.
   3. Run kubectl describe pod airflow-schduler-XXXX -c sheduler-gc` to see the error.
   
   **Anything else we need to know**:
   
   I ran this command locally and achieved the same message:
   
   ```console
   $ find "${DIRECTORY}"/logs -type d -name 'lost+found' -prune -name '*.log' -delete
   find: The -delete action automatically turns on -depth, but -prune does nothing when -depth is in effect.  If you want to carry on anyway, just explicitly use the -depth option.
   $ echo $?
   1
   ````
   
   **Are you willing to submit a PR?**
   
   Maybe. I am not very familiar with the scheduler-gc service so I will have to look into it.


-- 
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] boring-cyborg[bot] commented on issue #17733: Scheduler-gc fails on helm chart when running 'find'

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


   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.

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

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



[GitHub] [airflow] potiuk closed issue #17733: Scheduler-gc fails on helm chart when running 'find'

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


   


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