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

[Improvement] kbcli cluster backup should check if the specified backup method exists #326

Closed
zjx20 opened this issue Apr 22, 2024 · 0 comments · Fixed by #328
Closed

[Improvement] kbcli cluster backup should check if the specified backup method exists #326

zjx20 opened this issue Apr 22, 2024 · 0 comments · Fixed by #328
Assignees
Labels
good first issue Good for newcomers
Milestone

Comments

@zjx20
Copy link
Contributor

zjx20 commented Apr 22, 2024

Is your improvement request related to a problem? Please describe.

The backup command succeeds even if the specified backup method does not exist. For example:

kbcli cluster backup mycluster --method=bad_method

But the backup ops reports error message:

  Warning  DoActionFailed            1s (x12 over 11s)  ops-request-controller  Failed to process the operation of OpsRequest: backup method bad_method is not supported, please check cluster's backup policy

Describe the solution you'd like

kbcli should check the specified backup method before invoking a backup ops.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants