The User-Community Airflow Helm Chart is the standard way to deploy Apache Airflow on Kubernetes with Helm. Originally created in 2017, it has since helped thousands of companies create production-ready deployments of Airflow on Kubernetes.
When I use an azure blob store pvc, check-db on all airflow pods fails and the pods do not run.
I can confirm that my pvc configuration is okay because I can use it for non-airflow images, mount volumes and write to it.
Relevant Logs
Unable to load the config, contains a configuration error.
Traceback (most recent call last):
File "/usr/local/lib/python3.9/pathlib.py", line 1323, in mkdir
self._accessor.mkdir(self, mode)
PermissionError: [Errno 13] Permission denied: '/opt/airflow/logs/scheduler/2023-12-12'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/logging/config.py", line 564, in configure
handler = self.configure_handler(handlers[name])
File "/usr/local/lib/python3.9/logging/config.py", line 745, in configure_handler
result = factory(**kwargs)
File "/home/airflow/.local/lib/python3.9/site-packages/airflow/utils/log/file_processor_handler.py", line 49, in __init__
Path(self._get_log_directory()).mkdir(parents=True, exist_ok=True)
File "/usr/local/lib/python3.9/pathlib.py", line 1332, in mkdir
if not exist_ok or not self.is_dir():
File "/usr/local/lib/python3.9/pathlib.py", line 1439, in is_dir
return S_ISDIR(self.stat().st_mode)
File "/usr/local/lib/python3.9/pathlib.py", line 1232, in stat
return self._accessor.stat(self)
PermissionError: [Errno 13] Permission denied: '/opt/airflow/logs/scheduler/2023-12-12'
Checks
User-Community Airflow Helm Chart
.Chart Version
8.8..0
Kubernetes Version
Helm Version
Description
When I use an azure blob store pvc, check-db on all airflow pods fails and the pods do not run. I can confirm that my pvc configuration is okay because I can use it for non-airflow images, mount volumes and write to it.
Relevant Logs
Custom Helm Values