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] oracle mysql volume-snapshot backup restore cluster connect error #5589

Closed
JashBook opened this issue Oct 23, 2023 · 0 comments · Fixed by #5637
Closed

[BUG] oracle mysql volume-snapshot backup restore cluster connect error #5589

JashBook opened this issue Oct 23, 2023 · 0 comments · Fixed by #5637
Assignees
Labels
bug kind/bug Something isn't working severity/major Great chance user will encounter the same problem
Milestone

Comments

@JashBook
Copy link
Collaborator

JashBook commented Oct 23, 2023

Describe the bug
oracle mysql volume-snapshot backup restore cluster connect error.

kbcli version
Kubernetes: v1.26.3
KubeBlocks: 0.7.0-beta.9
kbcli: 0.7.0-beta.9

To Reproduce
Steps to reproduce the behavior:

  1. create oracle mysql cluster
kbcli cluster create  omysql-wzugiu             --termination-policy=Delete           --cluster-definition=oracle-mysql --cluster-version=oracle-mysql-8.0.32 --set cpu=100m,memory=0.5Gi,replicas=1,storage=1Gi  --namespace default
  1. volume-snapshot backup
kbcli cluster backup omysql-wzugiu --method volume-snapshot
  1. backup restore
kbcli cluster restore om-backup --backup backup-default-omysql-wzugiu-20231023164008
➜  ~ kubectl get cluster
NAME            CLUSTER-DEFINITION   VERSION               TERMINATION-POLICY   STATUS    AGE
om-backup       oracle-mysql         oracle-mysql-8.0.32   Delete               Running   16m
  1. See error
kbcli cluster connect om-backup     
Connect to instance om-backup-mysql-compdef-0
Defaulted container "mysql-container" out of: mysql-container, mysql-exporter, config-manager
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
command terminated with exit code 1

Expected behavior
oracle mysql volume-snapshot backup restore cluster connect success.

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 kind/bug Something isn't working severity/major Great chance user will encounter the same problem labels Oct 23, 2023
@JashBook JashBook added this to the Release 0.7.0 milestone Oct 23, 2023
@ldming ldming assigned wangyelei and unassigned shanshanying Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug kind/bug Something isn't working severity/major Great chance user will encounter the same problem
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants