Che restore not possible when using own keycloak (and own database #20851
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.
Describe the bug
The chectl server:restore is stuck in the "Restore Che database" step.
Che version
7.39@latest
Steps to reproduce
I have a che setup where I use an external keycloak and an own database. Regarding the logs (see below) this may have an impact on my current problem.
I use the operator installation.
I created a backup using
chectl server:backup -r "s3:....." -p ******* --aws-access-key-id=******** --aws-secret-access-key=*********
When I try to restore
chectl server:restore -r "s3:....." -p ******* --aws-access-key-id=******** --aws-secret-access-key=********* --snapshot-id=xxxxxxx
the restore never finishes. It is stuck in the "Restoring Che database" step as you can see below:
› Current Kubernetes context: 'xxxxxxxxxxxxxx'
✔ Verify Kubernetes API...OK
✔ Detecting existing operator version... 7.39.2 found
✔ Detecting installer...Operator
✔ Getting backup server info...OK
✔ Print restore information
✔ Current version: 7.39.2
✔ Restore version: 7.39.2
✔ Backup server: xx.xxxxxx.xxx
✔ Backup repository: bucket
✔ Snapshot: xxxxxxxxxxxxxxxxxxxxx
✔ Asking for restore confirmation...OK
✔ Scheduling restore...OK
⠴ Waiting until restore process finishes: Restoring Che database
In the log of the operator I find the log as shown in "Eclipse Che Log" below.
There are no log entries for the restore in the chectl log (/.cache/chectl/error.log)
Expected behavior
The restore should restore the che
Runtime
other (please specify in additional context)
Screenshots
No response
Installation method
chectl/latest
Environment
Azure
Eclipse Che Logs
Additional context
I am using an Azure Kubernetes (AKS)
Installation of che:
chectl server:deploy --batch --platform=k8s --domain=xxxxxxx.xxx --installer=operator --multiuser --che-operator-cr-patch-yaml=...
The text was updated successfully, but these errors were encountered: