postgres-operator-examples icon indicating copy to clipboard operation
postgres-operator-examples copied to clipboard

`postgres_14` image is not available

Open budimanjojo opened this issue 1 year ago • 17 comments

The registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-14.11-0 is not available in the registry although being the default value of postgres_14.

budimanjojo avatar Feb 24 '24 16:02 budimanjojo

This totally broke our prod kubernetes cluster.

neoighodaro avatar Feb 26 '24 08:02 neoighodaro

same here! https://github.com/CrunchyData/postgres-operator/issues/3859

bap-dev avatar Feb 26 '24 09:02 bap-dev

Screenshot 2024-02-26 at 10 07 40

it would seem it was removed.

neoighodaro avatar Feb 26 '24 09:02 neoighodaro

btw. the whole registry seems to not be availible anymore: https://github.com/CrunchyData/postgres-operator/issues/3601

bap-dev avatar Feb 26 '24 09:02 bap-dev

They shouldn't bump the postgres_14 in the values.yaml file if they're not gonna update the image anymore. Such a weird decision. They should either just keep the value the same or just remove the entire postgres_14 and notify the users.

budimanjojo avatar Feb 26 '24 09:02 budimanjojo

They shouldn't bump the postgres_14 in the values.yaml file if they're not gonna update the image anymore. Such a weird decision. They should either just keep the value the same or just remove the entire postgres_14 and notify the users.

Do you know a quick fix? I am trying to avoid even upgrading at this point as its too quick a response, but since prod is down, this may be the only option.

neoighodaro avatar Feb 26 '24 09:02 neoighodaro

@neoighodaro you can just put something like this in your values.yaml file:

relatedImages:
  postgres_14:
    image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-14.10-0

budimanjojo avatar Feb 26 '24 09:02 budimanjojo

same thing: curl -L https://registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-14.10-0 { "errors":[{"code":"404","message":"This container version is no longer available from the Crunchy Data Developer Program. For information on accessing these containers, please contact [email protected]." }]

bap-dev avatar Feb 26 '24 09:02 bap-dev

It's still working in my environment though. Curling all images returns the same error as above, but I can pull the image:

docker pull registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-14.10-0

budimanjojo avatar Feb 26 '24 09:02 budimanjojo

yeah, I can confirm this. 14.10-0 is working 14.11-0 not!

bap-dev avatar Feb 26 '24 09:02 bap-dev

Okay i'll try this

neoighodaro avatar Feb 26 '24 09:02 neoighodaro

Still asking myself about the reason why an older version is availible but not a newer one... and how long will the old one stay alive...

bap-dev avatar Feb 26 '24 10:02 bap-dev

probably not long but at least i can buy some time to test an upgrade to 15...

neoighodaro avatar Feb 26 '24 10:02 neoighodaro

probably not long but at least i can buy some time to test an upgrade to 15...

good point!

bap-dev avatar Feb 26 '24 10:02 bap-dev

This thread appears to already cover many of the pertinent details, but I will clarify the following:

  • Any Postgres 14 images that you have used in the past (e.g. the crunchy-postgres:ubi8-14.10-0 image, as referenced in this thread) are still available.
  • You can then leverage the Postgres major version upgrade feature available in Crunchy Postgres for Kubernetes to get onto a major version of Postgres available via the Crunchy Developer Program.

Additionally, I'll note that the Supported Platforms page is a great resource to get insight into Postgres version availability.

I also recommend subscribing to the Developer program mailing list via the following page for the latest updates about Postgres version availability:

https://www.crunchydata.com/developers/download-postgres/containers

Hope this helps!

andrewlecuyer avatar Feb 26 '24 18:02 andrewlecuyer

@andrewlecuyer Thanks for the response!

I think the question from me is why is this line here: https://github.com/CrunchyData/postgres-operator-examples/blob/9cbce08338f412d410f9bc238ce22d0fbcaef26d/helm/install/values.yaml#L20

Got updated from this PR: https://github.com/CrunchyData/postgres-operator-examples/pull/254

Can the default value be reverted back to registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-14.10-0 so it doesn't defaulted to a non-existance image?

budimanjojo avatar Feb 27 '24 04:02 budimanjojo

@budimanjojo sorry about the confusion!

The image tag you referenced actually shouldn't have been included, and has since been reverted/removed.

This means Crunchy Postgres for Kubernetes will no longer attempt to rollout a non-existent image tag after upgrading, and any existing clusters will simply remain running with their current image tags (giving you a chance to upgrade Postgres, etc. as described above). Or you can always customize the install with additional related images as well.

andrewlecuyer avatar Mar 06 '24 02:03 andrewlecuyer