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

It is not possible to restore operator to a different PostgreSQL version #20812

Closed
tolusha opened this issue Nov 23, 2021 · 1 comment
Closed
Assignees
Labels
area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Milestone

Comments

@tolusha
Copy link
Contributor

tolusha commented Nov 23, 2021

Describe the bug

It is not possible to restore operator to a different PostgreSQL version

Che version

next (development version)

Steps to reproduce

  1. chectl server:deploy --platform minikube --version 7.36.2
  2. chectl server:update --version 7.38.2
  3. chectl server:restore --rollback

PostgreSQL pod failed to start

Incompatible data directory. This container image provides
PostgreSQL '9.6', but data directory is of
version '13'.
This image supports automatic data directory upgrade from
'9.5', please _carefully_ consult image documentation
about how to use the '$POSTGRESQL_UPGRADE' startup option.

Expected behavior

Eclipse Che is successfully restored

Runtime

minikube

Screenshots

No response

Installation method

chectl/next

Environment

Linux

Eclipse Che Logs

No response

Additional context

No response

@tolusha tolusha added kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system. area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator sprint/next team/deploy labels Nov 23, 2021
@tolusha tolusha mentioned this issue Nov 29, 2021
28 tasks
@mmorhun mmorhun self-assigned this Nov 30, 2021
@tolusha tolusha modified the milestones: 7.40, 7.41 Dec 1, 2021
@mmorhun
Copy link
Contributor

mmorhun commented Dec 7, 2021

In short: closing as won't fix.
The problem is that to deliver a fix for this issue we need to re-release all previous affected version of Che operator which is not the case.
However, the root cause of the problem - database format - has been fixed. Starting from the next release such problem should not appear in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

2 participants