Closed cbuffett closed 1 year ago
I've done some more debugging and testing and it looks like the issue was due to permissions of the logs directory on my Ubuntu machine (parent folder mounted into the kind cluster under /mnt/airflow
). After recreating the logs directory, I still had permission issues, but was able to resolve it by granting write permission to everyone using chmod a+w
. What I noticed is that the logs directory on my Ubuntu machine was created when I configured my PV/PVC, but was owned by root:root. I first changed the ownership to my user account before then changing the write permissions.
@cbuffett it sounds like you have resolved your issue, please reopen if you have further problems.
Checks
User-Community Airflow Helm Chart
.Chart Version
8.X.X
Kubernetes Version
Helm Version
Description
I'm attempting to enable persistent logging on my local kind cluster, but my containers fail to start due to the error log below. I've manually configured my PV and PVC and reference the claim in my Helm config. I've attempted the workarounds detailed at https://stackoverflow.com/questions/63510335/airflow-on-kubernetes-errno-13-permission-denied-opt-airflow-logs-schedule, but from what I can tell, the
check-db
init container is executed prior to the extraInitContainer, resulting in the startup failure.Logs PV
Logs PVC
Relevant Logs
Custom Helm Values