charts icon indicating copy to clipboard operation
charts copied to clipboard

[incurbarator/chart] mysql HA deployment failing if we change the MySQL version

Open shekarchandra opened this issue 6 years ago • 3 comments

Describe the bug mysql HA chart deployment failing with MySQL version 8.0

Version of Helm and Kubernetes: helm:v3.2.1 kubernetes: v1.15.12-gke.20

Which chart: charts/incubator/mysqlha/

What happened: mysql HA deployment failing with MySQL version 8.0. Trying to install the chart with mysql version 8.0. So I have modified the values.yaml. mysqlImage: mysql:8.0

What you expected to happen: the pod start successfully

How to reproduce it (as minimally and precisely as possible): Trying to install the chart with mysql version 8.0. So I have modified the values.yaml. mysqlImage: mysql:8.0

Then I got the below error: ++ hostname

[[ test-mysqlha-1 =~ -([0-9]+)$ ]] ordinal=1 [[ 1 -eq 0 ]] [[ -d /var/lib/mysql/mysql ]] xbstream -x -C /var/lib/mysql ncat --recv-only test-mysqlha-0.test-mysqlha 3307 Ncat: Connection refused. xtrabackup --prepare --user=repl --password=tSQ8BLh5rcHq --target-dir=/var/lib/mysql xtrabackup version 2.4.4 based on MySQL server 5.7.13 Linux (x86_64) (revision id: df58cf2) xtrabackup: cd to /var/lib/mysql xtrabackup: Error: cannot open ./xtrabackup_checkpoints xtrabackup: error: xtrabackup_read_metadata() xtrabackup: This target seems not to have correct metadata... InnoDB: Number of pools: 1 InnoDB: Operating system error number 2 in a file operation. InnoDB: The error means the system cannot find the path specified. xtrabackup: Warning: cannot open ./xtrabackup_logfile. will try to find. InnoDB: Operating system error number 2 in a file operation. InnoDB: The error means the system cannot find the path specified. xtrabackup: Fatal error: cannot find ./xtrabackup_logfile. xtrabackup: Error: xtrabackup_init_temp_log() failed.

Then I changed the xtraBackupImage as well with below value. xtraBackupImage: percona/percona-xtradb-cluster:8.0.

Now I am getting the error: ++ hostname

[[ mysqlha-1 =~ -([0-9]+)$ ]] ordinal=1 [[ 1 -eq 0 ]] [[ -d /var/lib/mysql/mysql ]] ncat --recv-only mysqlha-0.mysqlha 3307 xbstream -x -C /var/lib/mysql bash: line 10: ncat: command not found bash: line 10: xbstream: command not found 2nd pod is not starting. Need help to install the chart with mysql latest version.

Anything else we need to know:

shekarchandra avatar Oct 01 '20 03:10 shekarchandra

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

stale[bot] avatar Nov 01 '20 07:11 stale[bot]

This issue is being automatically closed due to inactivity.

stale[bot] avatar Dec 25 '20 16:12 stale[bot]

same issue after uninstall and install again

631068264 avatar Oct 21 '21 01:10 631068264