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] switchover ops status check Succeed takes a long time #8427

Closed
JashBook opened this issue Nov 8, 2024 · 0 comments · Fixed by #8428
Closed

[BUG] switchover ops status check Succeed takes a long time #8427

JashBook opened this issue Nov 8, 2024 · 0 comments · Fixed by #8428
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@JashBook
Copy link
Collaborator

JashBook commented Nov 8, 2024

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 '....'
apiVersion: [apps.kubeblocks.io/v1alpha1](http://apps.kubeblocks.io/v1alpha1)
kind: OpsRequest
metadata:
  name: kingbase-jxfkft-switchover-mf6t7
  namespace: default
spec:
  clusterName: kingbase-jxfkft
  enqueueOnForce: false
  force: true
  preConditionDeadlineSeconds: 0
  switchover:
  - componentName: kingbase
    instanceName: kingbase-jxfkft-kingbase-2
  type: Switchover
  1. See error
Events:
  Type     Reason                    Age                    From                    Message
  ----     ------                    ----                   ----                    -------
  Normal   WaitForProgressing        9m18s                  ops-request-controller  wait for the controller to process the OpsRequest: kingbase-jxfkft-switchover-cbglv in Cluster: kingbase-jxfkft
  Normal   ValidateOpsRequestPassed  9m18s                  ops-request-controller  OpsRequest: kingbase-jxfkft-switchover-cbglv is validated
  Normal   SwitchoverStarted         9m18s                  ops-request-controller  {"kingbase":{"componentName":"kingbase","instanceName":"kingbase-jxfkft-kingbase-0","OldPrimary":"kingbase-jxfkft-kingbase-1","Cluster":"kingbase-jxfkft"}}
  Normal   Processing                9m18s                  ops-request-controller  switchover job kb-switchover-job-kingbase-jxfkft-kingbase-4 is not succeed
  Warning  ReconcileStatusFailed     9m8s (x21 over 9m18s)  ops-request-controller  Failed to reconcile the status of OpsRequest: requeue to waiting for job kb-switchover-job-kingbase-jxfkft-kingbase-4 finished.
  Normal   Succeed                   3m45s                  ops-request-controller  switchover job kb-switchover-job-kingbase-jxfkft-kingbase-4 is succeed

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 8, 2024
@wangyelei wangyelei linked a pull request Nov 8, 2024 that will close this issue
@github-actions github-actions bot added this to the Release 0.9.2 milestone Nov 8, 2024
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