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] mysql cluster is rebuilt when upgrade from 0.7.2 to 0.8.1 #7292

Open
wanghaiyang5241 opened this issue May 9, 2024 · 2 comments
Open
Assignees
Labels
kind/bug Something isn't working

Comments

@wanghaiyang5241
Copy link

Describe the bug
额,想升级一下kblci版本,发现升级完,自动重启mysql了

To Reproduce
Steps to reproduce the behavior:
[root@node97 test]# curl -fsSL https://kubeblocks.io/installer/install_cli.sh | bash -s 0.8.1
Your system is linux_amd64

kbcli is detected: /usr/local/bin/kbcli

Please uninstall first
Failed to install kbcli
Go to https://kubeblocks.io for more support.
[root@node97 test]# sudo rm /usr/local/bin/kbcli
[root@node97 test]# curl -fsSL https://kubeblocks.io/installer/install_cli.sh | bash -s 0.8.1
Your system is linux_amd64
Installing kbcli ...

Downloading ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 33.2M 100 33.2M 0 0 1643k 0 0:00:20 0:00:20 --:--:-- 1974k
kbcli installed successfully.
Kubernetes: v1.25.0
KubeBlocks: 0.7.2
kbcli: 0.8.1
WARNING: version difference between kbcli (0.8.1) and kubeblocks (0.7.2)
Make sure your docker service is running and begin your journey with kbcli:

    kbcli playground init

For more information on how to get started, please visit:
https://kubeblocks.io
[root@node97 test]# kbcli kb upgrade --version 0.8.1 --set dataProtection.image.datasafed.tag=0.1.0
Current KubeBlocks version 0.7.2.
Kubernetes version 1.25.0
kbcli version 0.8.1
Upgrade KubeBlocks from 0.7.2 to 0.8.1
Please type 'Yes/yes' to confirm your operation: yes
Add and update repo kubeblocks OK
Keep addons OK
Stop KubeBlocks 0.7.2 OK
Stop DataProtection OK
Upgrade CRDs OK
Upgrading KubeBlocks to 0.8.1 OK

KubeBlocks has been upgraded to 0.8.1 SUCCESSFULLY!

-> Basic commands for cluster:
kbcli cluster create -h # help information about creating a database cluster
kbcli cluster list # list all database clusters
kbcli cluster describe # get cluster information

-> Uninstall KubeBlocks:
kbcli kubeblocks uninstal
Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

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.

@wanghaiyang5241 wanghaiyang5241 added the kind/bug Something isn't working label May 9, 2024
@weicao
Copy link
Contributor

weicao commented May 21, 2024

root@node97 test]# kbcli kb upgrade --version 0.8.1 --set dataProtection.image.datasafed.tag=0.1.0
Current KubeBlocks version 0.7.2.
Kubernetes version 1.25.0
kbcli version 0.8.1
Upgrade KubeBlocks from 0.7.2 to 0.8.1

This command upgrade the kubeblocks operator from v0.7.2 to v0.8.1.
However the database cluster should not be restarted, let us have a check.

@nayutah nayutah changed the title [BUG] [BUG] mysql cluster is rebuilt when upgrade from 0.7.2 to 0.8.1 May 21, 2024
@nayutah
Copy link
Collaborator

nayutah commented May 21, 2024

@xuriwuyun Check to see if this problem has relation with lorry ?

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

No branches or pull requests

4 participants