You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "JWDobken (via GitHub)" <gi...@apache.org> on 2025/06/11 19:15:55 UTC

[I] Error: failed to prepare subPath for volumeMount "config" of container "run-airflow-migrations" [airflow]

JWDobken opened a new issue, #51628:
URL: https://github.com/apache/airflow/issues/51628

   ### Official Helm Chart version
   
   1.16.0 (latest released)
   
   ### Apache Airflow version
   
   3.0.2
   
   ### Kubernetes Version
   
    v1.31.9+k3s1
   
   ### Helm Chart configuration
   
   Installing a clean Airflow 3 instance with:
   
   ```cmd
   helm upgrade --install airflow-prod apache-airflow/airflow \
       -f airflow.prod.values.yaml
   ```
   
   ```logs
   
     Normal   Pulled     2m37s                 kubelet            Successfully pulled image "apache/airflow:3.0.2" in 23.265s (23.265s including waiting). Image size: 511171056 bytes.
     Warning  Failed     2m37s                 kubelet            Error: failed to generate container "8e75f73e9f16131744bb68628fef9760d791a1657184756f2102d1928620f3e1" spec: failed to gener
   ate spec: failed to mkdir "/var/lib/kubelet/pods/a6c11a49-6fcd-4a3f-be24-35e8b5cc00a3/volume-subpaths/config/run-airflow-migrations/0": mkdir /var/lib/kubelet/pods/a6c11a49-6fcd-4a3f-be24
   -35e8b5cc00a3/volume-subpaths/config/run-airflow-migrations/0: file exists
     Normal   Pulled     25s (x11 over 2m36s)  kubelet            Container image "apache/airflow:3.0.2" already present on machine
     Warning  Failed     25s (x11 over 2m36s)  kubelet            Error: failed to prepare subPath for volumeMount "config" of container "run-airflow-migrations"
   ```
   
   ### Docker Image customizations
   
   _No response_
   
   ### What happened
   
   _No response_
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   Values is equivalent to: https://github.com/apache/airflow/blob/main/chart/values.yaml
   
   with the exception of a running Postgres, providing secrets through:
   
   ```yaml
   postgresql:
     enabled: false
   data:
     metadataSecretName: airflow-database-secret
   ```
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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.apache.org

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


Re: [I] Error: failed to prepare subPath for volumeMount "config" of container "run-airflow-migrations" [airflow]

Posted by "janpieper (via GitHub)" <gi...@apache.org>.
janpieper commented on issue #51628:
URL: https://github.com/apache/airflow/issues/51628#issuecomment-2975564494

   I guess this issue has nothing to do with Airflow, but with k3s and/or linux. See https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner/issues/1780


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


Re: [I] Error: failed to prepare subPath for volumeMount "config" of container "run-airflow-migrations" [airflow]

Posted by "JWDobken (via GitHub)" <gi...@apache.org>.
JWDobken closed issue #51628: Error: failed to prepare subPath for volumeMount "config" of container "run-airflow-migrations"
URL: https://github.com/apache/airflow/issues/51628


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