charts icon indicating copy to clipboard operation
charts copied to clipboard

[bitnami/airflow] Permission denied when trying to install Python packages

Open kobin23 opened this issue 7 months ago • 2 comments

Name and Version

bitnami/airflow 22.7.3

What architecture are you using?

amd64

What steps will reproduce the bug?

  1. Add volumeMount and volumes for requirements.txt configMap with any package for worker component
  2. Disable readOnlyRootFilesystem for worker component
  3. Permission denied when trying to install package

Are you using any custom parameters or values?

Nothing custom related to security features

What is the expected behavior?

Python packages should be installed without permission errors

What do you see instead?

ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied

Additional information

No response

kobin23 avatar May 06 '25 19:05 kobin23

Thank you for reporting this. We are evaluating how to improve the solution. In the meantime, you can take a look at this other issue to solve this problem

https://github.com/bitnami/charts/issues/30791#issuecomment-2573347865

jotamartos avatar May 07 '25 08:05 jotamartos

Is there any progress on this? I'm struggling with the same issue as above, and I'm not able to make the fix in the linked work for me

I just created a PR to solve this error. I'll be testing the changes and will let you know when the changes are ready.

jotamartos avatar Jun 19 '25 11:06 jotamartos

I just merged the changes after testing them. The new version of the chart should be available soon.

Please let us know if you find any issue.

jotamartos avatar Jun 25 '25 06:06 jotamartos