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

[I] Deployment fails with postgresql.enabled=true due to Bitnami image deprecation [airflow]

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

   ### Official Helm Chart version
   
   1.10.0
   
   ### Apache Airflow version
   
   2.9.3
   
   ### Kubernetes Version
   
   1.26.4
   
   ### Helm Chart configuration
   
   _No response_
   
   ### Docker Image customizations
   
   _No response_
   
   ### What happened
   
   I’d like to report an issue we encountered when deploying Airflow 2.9.3 with the Helm chart.
   (This is my first issue report, so please let me know if I need to provide additional information! 🤣)
   
   ## Environment
   - Airflow version: 2.9.3
   - Helm chart version: 1.1.0
   
   ## Problem
   When using the default setting postgresql.enabled: true, the chart pulls the Bitnami PostgreSQL image. Recently Bitnami (VMware) restricted access and moved many images to legacy, which leads to:
   
   ErrImagePull / ImagePullBackOff during deployment or rollout if the legacy registry is not explicitly configured
   
   Using images without ongoing security updates (legacy only)
   
   In our case, the deployment failed until we manually reconfigured the chart to point at the legacy Bitnami registry. This workaround resolves the immediate deployment issue but is not sustainable, since legacy images will no longer receive security patches and may eventually become unavailable.
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   1. Set the value postgresql.enabled: true in values.yaml.
   2. Deploy the Helm chart.
   3. Observe that the deployment fails with ErrImagePull / ImagePullBackOff due to the Bitnami PostgreSQL image being pulled from the legacy registry.
   
   ### 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] Deployment fails with postgresql.enabled=true due to Bitnami image deprecation [airflow]

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

   The default image pull failure was fixed by #55820 and #61156, released in Helm chart 1.19.0, which point the embedded PostgreSQL at the bitnamilegacy image. The embedded database is not recommended for production, and its removal is tracked in #55823. If you still see this on the latest release, comment here and we'll reopen.


-- 
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] Deployment fails with postgresql.enabled=true due to Bitnami image deprecation [airflow]

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

   > I agree the hasn't been solved yet, but there is some confusing info in this ticket.
   > 
   > * The original question refers to chart version 1.10, but the fix ([Temporary fix to Bitnami psql chart licensing issues #55820](https://github.com/apache/airflow/pull/55820)) for this issue is available in the currently not-yet released chart version 1.19.
   > * However, this fix is probably broken, as pointed out in these comments ([1](https://github.com/apache/airflow/pull/55820/commits/fd89d77716a579ead5bb6ecec387600120f35154#r2411019868), [2](https://github.com/apache/airflow/pull/55820/commits/fd89d77716a579ead5bb6ecec387600120f35154#r2411041337)) that came after the PR of the fix was merged. Namely: the `values.yaml` now refers to a older postgresql version (13) than was the case with Bitnami (16.1).
   
   Yep. And just to repeat what's being written elsewhere - we are **not** going to **fix** Postgres. Even including the past released charts. Postgres in the charts had always been for quick start and debugging and never, ever meant to be used in production. If anyone wants to have Helm Chart with Postgres embeddded in rather than hosted outside -they are free to extend our chart and do it on their own - see https://airflow.apache.org/docs/helm-chart/stable/extending-the-chart.html.
   
   


-- 
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] Deployment fails with postgresql.enabled=true due to Bitnami image deprecation [airflow]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #56322:
URL: https://github.com/apache/airflow/issues/56322#issuecomment-3359386095

   Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
   


-- 
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] Deployment fails with postgresql.enabled=true due to Bitnami image deprecation [airflow]

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

   I think this has already been fixed in https://github.com/apache/airflow/pull/55820


-- 
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] Deployment fails with postgresql.enabled=true due to Bitnami image deprecation [airflow]

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

   it hasn't been.
   
   chart version: airflow-1.18.0
   airflow version: 3.0.2
   k8s client version: 1.29.3
   
   I had to override the defaults according to https://github.com/apache/airflow/pull/55820/files/fd89d77716a579ead5bb6ecec387600120f35154#r2411041337


-- 
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] Deployment fails with postgresql.enabled=true due to Bitnami image deprecation [airflow]

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

   FYI, this issue is being handled by removing the builtin bitnami postgresql DB, and replacing it with sqllite. See https://github.com/apache/airflow/issues/55823


-- 
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] Deployment fails with postgresql.enabled=true due to Bitnami image deprecation [airflow]

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

   I agree the hasn't been solved yet, but there is some confusing info in this ticket.
   
   - The original question refers to chart version 1.10, but the fix (https://github.com/apache/airflow/pull/55820) for this issue is available in the currently not-yet released chart version 1.19.
   - However, this fix is probably broken, as pointed out in these comments ([1](https://github.com/apache/airflow/pull/55820/commits/fd89d77716a579ead5bb6ecec387600120f35154#r2411019868), [2](https://github.com/apache/airflow/pull/55820/commits/fd89d77716a579ead5bb6ecec387600120f35154#r2411041337)) that came after the PR of the fix was merged. Namely: the `values.yaml` now refers to a older postgresql version (13) than was the case with Bitnami (16.1).


-- 
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] Deployment fails with postgresql.enabled=true due to Bitnami image deprecation [airflow]

Posted by "kaxil (via GitHub)" <gi...@apache.org>.
kaxil closed issue #56322: Deployment fails with postgresql.enabled=true due to Bitnami image deprecation
URL: https://github.com/apache/airflow/issues/56322


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