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

[BUG] apecloud-postgresql switchover error #8483

Open
JashBook opened this issue Nov 20, 2024 · 0 comments · May be fixed by #8492
Open

[BUG] apecloud-postgresql switchover error #8483

JashBook opened this issue Nov 20, 2024 · 0 comments · May be fixed by #8492
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@JashBook
Copy link
Collaborator

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error
k logs 93afac63-apepg-gbumos-custo-postgresql-switchover-0-2lmnc
Defaulted container "switchover" out of: switchover, ops-utils (init)
curl http://172.16.0.14:3501/v1.0/switchover, parameters: {"parameters": {"primary":"apepg-gbumos-postgresql-1","candidate":""}}
curl result: {"errorCode":"ERR_PRECHECK_FAILED","message":"operation precheck failed: candidate is not set and has no other healthy members"}
INFO: start to check if switchover successfully, timeout is 60s
ERROR: switchover failed. 

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@JashBook JashBook added the kind/bug Something isn't working label Nov 20, 2024
@JashBook JashBook added this to the Release 0.9.2 milestone Nov 20, 2024
@kizuna-lek kizuna-lek linked a pull request Nov 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants