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

Restore failed: there are other sessions using the database #20940

Closed
tolusha opened this issue Dec 15, 2021 · 1 comment
Closed

Restore failed: there are other sessions using the database #20940

tolusha opened this issue Dec 15, 2021 · 1 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/P2 Has a minor but important impact to the usage or development of the system.

Comments

@tolusha
Copy link
Contributor

tolusha commented Dec 15, 2021

Describe the bug

Dropping che database might failed because of active connections

15T10:29:36Z" level=info msg="Running exec for 'dropping dbche database' in the pod 'postgres-77d7569f58-xwxft'"
time="2021-12-15T10:29:41Z" level=error msg="Error running exec: command terminated with exit code 1, command: [/bin/bash -c psql -c \"DROP DATABASE IF EXISTS dbche;\"]"
time="2021-12-15T10:29:41Z" level=error msg="Stderr: ERROR:  database \"dbche\" is being accessed by other users\nDETAIL:  There are 2 other sessions using the database.\n"
time="2021-12-

Che version

next (development version)

Steps to reproduce

https://github.com/eclipse-che/che-operator/runs/4531596232?check_suite_focus=true

Expected behavior

Restore finished succesfully

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. area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator labels Dec 15, 2021
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Dec 15, 2021
@benoitf benoitf added severity/P2 Has a minor but important impact to the usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Dec 16, 2021
@tolusha
Copy link
Contributor Author

tolusha commented Feb 4, 2022

WON'T FIX
Backup/Restore is flaky and doesn't works with DevWorkspace
Decommissioned by #21006

@tolusha tolusha closed this as completed Feb 4, 2022
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/P2 Has a minor but important impact to the usage or development of the system.
Projects
None yet
Development

No branches or pull requests

3 participants