Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wal-g backup retention not working since 1.13.0 #2786

Closed
bo0ts opened this issue Oct 21, 2024 · 4 comments
Closed

wal-g backup retention not working since 1.13.0 #2786

bo0ts opened this issue Oct 21, 2024 · 4 comments
Labels
bug spilo Issue more related to Spilo

Comments

@bo0ts
Copy link

bo0ts commented Oct 21, 2024

  • Which image of the operator are you using? ghcr.io/zalando/postgres-operator:v1.13.0
  • Where do you run it - cloud or metal? Kubernetes or OpenShift? OpenShift 4.15
  • Are you running Postgres Operator in production? yes
  • Type of issue? Bug

Since upgrading to postgres-operator 1.13.0 old wal-g backups are not deleted anymore.

We use the following backup related configuration:

kind: ConfigMap
apiVersion: v1
metadata:
  name: postgres-pod-config
data:
  AWS_ACCESS_KEY_ID: ...
  AWS_SECRET_ACCESS_KEY: ...
  AWS_S3_FORCE_PATH_STYLE: "true"
  AWS_REGION: ...
  AWS_ENDPOINT: ...
  USE_WALG_BACKUP: "true"
  USE_WALG_RESTORE: "true"
  WALG_DISABLE_S3_SSE: "true"
  WAL_S3_BUCKET: ...

We suspect that this is related to the following issue in Spilo zalando/spilo#1015

@FxKu FxKu added spilo Issue more related to Spilo bug labels Nov 26, 2024
@sass1997
Copy link

@FxKu When do you plan to do a new release with the merged changes?

@FxKu
Copy link
Member

FxKu commented Dec 13, 2024

Ideally next week. This release will also include Pg 17 and will drop 12 and 13.
In the meantime you can update the Spilo image in the operator configuration and switch to ghcr.io/zalando/spilo-16:3.3-p3

@bo0ts
Copy link
Author

bo0ts commented Dec 13, 2024 via email

@FxKu
Copy link
Member

FxKu commented Dec 23, 2024

Closing this ticket with latest release published. Workaround for 1.13.0 is to use a newer Spilo image like I have mentioned above.

@FxKu FxKu closed this as completed Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug spilo Issue more related to Spilo
Projects
None yet
Development

No branches or pull requests

3 participants