The GitHub Actions job "Check newsfragment PR number" on 
airflow.git/chart-config-mount-as-dir has failed.
Run started by GitHub user diegoalvarez-clarity (triggered by 
diegoalvarez-clarity).

Head commit for run:
823302a2690d9fb6b01609026fdc8e0fcef3f071 / Diego Álvarez García 
<[email protected]>
Allow mounting the Airflow config as a directory to avoid the subPath mount race

The chart mounts airflow.cfg (and airflow_local_settings.py) into every 
component and
the KubernetesExecutor pod template via a subPath bind-mount of the config 
ConfigMap.
subPath + ConfigMap hits a known Kubernetes race: on node/volume lifecycle 
events
(kubelet volume reconstruction, node autoscaling) the pre-computed subPath 
source inode
goes stale and runc fails the mount at container init with a StartError and no
application log. It is intermittent, cross-component, and 
runtime-version-independent.

Add an opt-in mountConfigAsDir (default false, existing behaviour unchanged). 
When true,
the config ConfigMap is mounted as a directory at {airflowHome}/config and 
AIRFLOW_CONFIG
is set to {airflowHome}/config/airflow.cfg. A directory-projected ConfigMap 
volume has no
pre-computed subPath bind source, so it is immune to the race. 
airflow_local_settings.py
keeps its existing path.

Refs: #33788

Co-authored-by: diego15ag <[email protected]>

Report URL: https://github.com/apache/airflow/actions/runs/29823871414

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to