Can't install Percona XtraDB Cluster V8 via Helm (Kubernetes)

PXC container gives me this:

+ '[' m = - ']'
+ CFG=/etc/mysql/node.cnf
+ wantHelp=
+ for arg in "$@"
+ case "$arg" in
++ mysqld -V
++ awk '{print $3}'
++ awk -F. '{print $1"."$2}'
+ MYSQL_VERSION=8.0
++ mysqld -V
++ awk '{print $3}'
++ awk -F. '{print $3}'
++ awk -F- '{print $1}'
+ MYSQL_PATCH_VERSION=25
+ vault_secret=/etc/mysql/vault-keyring-secret/keyring_vault.conf
+ '[' -f /etc/mysql/vault-keyring-secret/keyring_vault.conf ']'
+ '[' -f /usr/lib64/mysql/plugin/binlog_utils_udf.so ']'
+ sed -i '/\[mysqld\]/a plugin_load="binlog_utils_udf=binlog_utils_udf.so"' /etc/mysql/node.cnf
+ sed -i '/\[mysqld\]/a gtid-mode=ON' /etc/mysql/node.cnf
+ sed -i '/\[mysqld\]/a enforce-gtid-consistency' /etc/mysql/node.cnf
+ grep -q '^progress=' /etc/mysql/node.cnf
+ sed -i 's|^progress=.*|progress=1|' /etc/mysql/node.cnf
+ grep -q '^\[sst\]' /etc/mysql/node.cnf
+ grep -q '^cpat=' /etc/mysql/node.cnf
+ sed '/^\[sst\]/a cpat=.*\\.pem$\\|.*init\\.ok$\\|.*galera\\.cache$\\|.*wsrep_recovery_verbose\\.log$\\|.*readiness-check\\.sh$\\|.*liveness-check\\.sh$\\|.*get-pxc-state$\\|.*sst_in_progress$\\|.*sst-xb-tmpdir$\\|.*\\.sst$\\|.*gvwstate\\.dat$\\|.*grastate\\.dat$\\|.*\\.err$\\|.*\\.log$\\|.*RPM_UPGRADE_MARKER$\\|.*RPM_UPGRADE_HISTORY$\\|.*pxc-entrypoint\\.sh$\\|.*unsafe-bootstrap\\.sh$\\|.*pxc-configure-pxc\\.sh\\|.*peer-list$' /etc/mysql/node.cnf
+ [[ 8.0 == \8\.\0 ]]
+ [[ 25 -ge 26 ]]
+ grep -q '^skip_slave_start=ON' /etc/mysql/node.cnf
+ sed -i '/\[mysqld\]/a skip_slave_start=ON' /etc/mysql/node.cnf
+ file_env XTRABACKUP_PASSWORD xtrabackup xtrabackup
+ set +o xtrace
+ file_env CLUSTERCHECK_PASSWORD '' clustercheck
+ set +o xtrace
++ hostname -f
+ NODE_NAME=pxc-db-pxc-0.pxc-db-pxc.pxc-operator.svc.cluster.local
+ NODE_PORT=3306
+ '[' -n pxc-db-pxc-unready ']'
+ echo 'Percona XtraDB Cluster: Finding peers'
+ /var/lib/mysql/peer-list -on-start=/var/lib/mysql/pxc-configure-pxc.sh -service=pxc-db-pxc-unready
Percona XtraDB Cluster: Finding peers
2022/05/17 21:12:14 Peer finder enter
2022/05/17 21:12:14 Determined Domain to be pxc-operator.svc.cluster.local
2022/05/17 21:12:14 Peer list updated
was []
now [10-42-235-171.pxc-db-pxc-unready.pxc-operator.svc.cluster.local]
2022/05/17 21:12:14 execing: /var/lib/mysql/pxc-configure-pxc.sh with stdin: 10-42-235-171.pxc-db-pxc-unready.pxc-operator.svc.cluster.local
2022/05/17 21:12:14 ++ hostname -I
++ awk ' { print $1 } '
+ NODE_IP=10.42.235.171
++ hostname -f
++ cut -d. -f2
+ CLUSTER_NAME=pxc-db-pxc
+ SERVER_NUM=0
+ SERVER_ID=18420570
++ hostname -f
+ NODE_NAME=pxc-db-pxc-0.pxc-db-pxc.pxc-operator.svc.cluster.local
+ NODE_PORT=3306
+ read -ra LINE
+ echo 'read line 10-42-235-171.pxc-db-pxc-unready.pxc-operator.svc.cluster.local'
read line 10-42-235-171.pxc-db-pxc-unready.pxc-operator.svc.cluster.local
++ getent hosts 10-42-235-171.pxc-db-pxc-unready.pxc-operator.svc.cluster.local
++ awk '{ print $1 }'
+ LINE_IP=10.42.235.171
+ '[' 10.42.235.171 '!=' 10.42.235.171 ']'
+ read -ra LINE
+ '[' 0 '!=' 0 ']'
+ '[' 0 '!=' 0 ']'
+ CFG=/etc/mysql/node.cnf
++ mysqld -V
++ awk '{print $3}'
++ awk -F. '{print $1"."$2}'
+ MYSQL_VERSION=8.0
+ '[' 8.0 == 8.0 ']'
+ grep -E -q '^[#]?admin-address' /etc/mysql/node.cnf
+ sed '/^\[mysqld\]/a admin-address=\n' /etc/mysql/node.cnf
+ grep -E -q '^[#]?log_error_suppression_list' /etc/mysql/node.cnf
+ sed '/^\[mysqld\]/a log_error_suppression_list="MY-010055"\n' /etc/mysql/node.cnf
+ '[' yes == yes ']'
+ grep -E -q '^[#]?log-error' /etc/mysql/node.cnf
+ sed '/^\[mysqld\]/a log-error=/var/lib/mysql/mysqld-error.log\n' /etc/mysql/node.cnf
+ grep -E -q '^[#]?wsrep_sst_donor' /etc/mysql/node.cnf
+ sed '/^\[mysqld\]/a wsrep_sst_donor=\n' /etc/mysql/node.cnf
+ grep -E -q '^[#]?wsrep_node_incoming_address' /etc/mysql/node.cnf
+ grep -E -q '^[#]?wsrep_provider_options' /etc/mysql/node.cnf
+ sed '/^\[mysqld\]/a wsrep_provider_options="pc.weight=10"\n' /etc/mysql/node.cnf
+ sed -r 's|^[#]?server_id=.*$|server_id=18420570|' /etc/mysql/node.cnf
+ sed -r 's|^[#]?coredumper$|coredumper|' /etc/mysql/node.cnf
+ sed -r 's|^[#]?wsrep_node_address=.*$|wsrep_node_address=10.42.235.171|' /etc/mysql/node.cnf
+ sed -r 's|^[#]?wsrep_cluster_name=.*$|wsrep_cluster_name=pxc-db-pxc|' /etc/mysql/node.cnf
+ sed -r 's|^[#]?wsrep_sst_donor=.*$|wsrep_sst_donor=|' /etc/mysql/node.cnf
+ sed -r 's|^[#]?wsrep_cluster_address=.*$|wsrep_cluster_address=gcomm://|' /etc/mysql/node.cnf
+ sed -r 's|^[#]?wsrep_node_incoming_address=.*$|wsrep_node_incoming_address=pxc-db-pxc-0.pxc-db-pxc.pxc-operator.svc.cluster.local:3306|' /etc/mysql/node.cnf
+ sed -r 's|^[#]?admin-address=.*$|admin-address=10.42.235.171|' /etc/mysql/node.cnf
+ sed -r 's|^[#]?extra_max_connections=.*$|extra_max_connections=100|' /etc/mysql/node.cnf
+ sed -r 's|^[#]?extra_port=.*$|extra_port=33062|' /etc/mysql/node.cnf
+ CA=/var/run/secrets/kubernetes.io/serviceaccount/ca.crt
+ '[' -f /var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt ']'
+ SSL_DIR=/etc/mysql/ssl
+ '[' -f /etc/mysql/ssl/ca.crt ']'
+ CA=/etc/mysql/ssl/ca.crt
+ SSL_INTERNAL_DIR=/etc/mysql/ssl-internal
+ '[' -f /etc/mysql/ssl-internal/ca.crt ']'
+ CA=/etc/mysql/ssl-internal/ca.crt
+ KEY=/etc/mysql/ssl/tls.key
+ CERT=/etc/mysql/ssl/tls.crt
+ '[' -f /etc/mysql/ssl-internal/tls.key -a -f /etc/mysql/ssl-internal/tls.crt ']'
+ KEY=/etc/mysql/ssl-internal/tls.key
+ CERT=/etc/mysql/ssl-internal/tls.crt
+ '[' -f /etc/mysql/ssl-internal/ca.crt -a -f /etc/mysql/ssl-internal/tls.key -a -f /etc/mysql/ssl-internal/tls.crt ']'
+ sed '/^\[mysqld\]/a pxc-encrypt-cluster-traffic=ON\nssl-ca=/etc/mysql/ssl-internal/ca.crt\nssl-key=/etc/mysql/ssl-internal/tls.key\nssl-cert=/etc/mysql/ssl-internal/tls.crt' /etc/mysql/node.cnf
2022/05/17 21:12:15 Peer finder exiting
++ grep '^wsrep_cluster_address=' /etc/mysql/node.cnf
++ cut -d = -f 2
++ sed -e 's^.*gcomm://^^'
+ CLUSTER_JOIN=
+ echo 'Cluster address set to: '
Cluster address set to:
+ '[' -z '' ']'
+ '[' mysqld = mysqld -a -z '' ']'
+ _check_config mysqld
+ toRun=("$@" --verbose --help --wsrep-provider='none')
++ mysqld --verbose --help --wsrep-provider=none
+ errors=
++ _get_config datadir mysqld
++ local conf=datadir
++ shift
++ awk '$1 == "datadir" && /^[^ \t]/ { sub(/^[^ \t]+[ \t]+/, ""); print; exit }'
+++ mktemp -u
++ mysqld --verbose --help --wsrep-provider=none --log-bin-index=/tmp/tmp.neA5tUw4vl
+ DATADIR=/var/lib/mysql/
++ _get_tmpdir /var/lib/mysql//sst-xb-tmpdir
++ local defaul_value=/var/lib/mysql//sst-xb-tmpdir
++ local tmpdir_path=
+++ _get_cnf_config sst tmpdir ''
+++ local group=sst
+++ local var=tmpdir
+++ local reval=
++++ my_print_defaults sst
++++ awk -F= '{st=index($0,"="); cur=$0; if ($1 ~ /_/) { gsub(/_/,"-",$1);} if (st != 0) { print $1"="substr(cur,st+1) } else { print cur }}'
++++ grep -- --tmpdir=
++++ tail -1
++++ cut -d= -f2-
+++ reval=
+++ [[ -z '' ]]
+++ reval=
+++ echo ''
++ tmpdir_path=
++ [[ -z '' ]]
+++ _get_cnf_config xtrabackup tmpdir ''
+++ local group=xtrabackup
+++ local var=tmpdir
+++ local reval=
++++ my_print_defaults xtrabackup
++++ awk -F= '{st=index($0,"="); cur=$0; if ($1 ~ /_/) { gsub(/_/,"-",$1);} if (st != 0) { print $1"="substr(cur,st+1) } else { print cur }}'
++++ grep -- --tmpdir=
++++ cut -d= -f2-
++++ tail -1
+++ reval=
+++ [[ -z '' ]]
+++ reval=
+++ echo ''
++ tmpdir_path=
++ [[ -z '' ]]
+++ _get_cnf_config mysqld tmpdir ''
+++ local group=mysqld
+++ local var=tmpdir
+++ local reval=
++++ my_print_defaults mysqld
++++ awk -F= '{st=index($0,"="); cur=$0; if ($1 ~ /_/) { gsub(/_/,"-",$1);} if (st != 0) { print $1"="substr(cur,st+1) } else { print cur }}'
++++ grep -- --tmpdir=
++++ cut -d= -f2-
++++ tail -1
+++ reval=
+++ [[ -z '' ]]
+++ reval=
+++ echo ''
++ tmpdir_path=
++ [[ -z '' ]]
++ tmpdir_path=/var/lib/mysql//sst-xb-tmpdir
++ echo /var/lib/mysql//sst-xb-tmpdir
+ TMPDIR=/var/lib/mysql//sst-xb-tmpdir
+ rm -rfv /var/lib/mysql//sst-xb-tmpdir
+ '[' '!' -d /var/lib/mysql//mysql ']'
+ file_env MYSQL_ROOT_PASSWORD '' root
+ set +o xtrace
+ mkdir -p /var/lib/mysql/
++ _get_cnf_config sst cpat
++ local group=sst
++ local var=cpat
++ local reval=
+++ my_print_defaults sst
+++ awk -F= '{st=index($0,"="); cur=$0; if ($1 ~ /_/) { gsub(/_/,"-",$1);} if (st != 0) { print $1"="substr(cur,st+1) } else { print cur }}'
+++ grep -- --cpat=
+++ cut -d= -f2-
+++ tail -1
++ reval='.*\.pem$\|.*init\.ok$\|.*galera\.cache$\|.*wsrep_recovery_verbose\.log$\|.*readiness-check\.sh$\|.*liveness-check\.sh$\|.*get-pxc-state$\|.*sst_in_progress$\|.*sst-xb-tmpdir$\|.*\.sst$\|.*gvwstate\.dat$\|.*grastate\.dat$\|.*\.err$\|.*\.log$\|.*RPM_UPGRADE_MARKER$\|.*RPM_UPGRADE_HISTORY$\|.*pxc-entrypoint\.sh$\|.*unsafe-bootstrap\.sh$\|.*pxc-configure-pxc\.sh\|.*peer-list$'
++ [[ -z .*\.pem$\|.*init\.ok$\|.*galera\.cache$\|.*wsrep_recovery_verbose\.log$\|.*readiness-check\.sh$\|.*liveness-check\.sh$\|.*get-pxc-state$\|.*sst_in_progress$\|.*sst-xb-tmpdir$\|.*\.sst$\|.*gvwstate\.dat$\|.*grastate\.dat$\|.*\.err$\|.*\.log$\|.*RPM_UPGRADE_MARKER$\|.*RPM_UPGRADE_HISTORY$\|.*pxc-entrypoint\.sh$\|.*unsafe-bootstrap\.sh$\|.*pxc-configure-pxc\.sh\|.*peer-list$ ]]
++ echo '.*\.pem$\|.*init\.ok$\|.*galera\.cache$\|.*wsrep_recovery_verbose\.log$\|.*readiness-check\.sh$\|.*liveness-check\.sh$\|.*get-pxc-state$\|.*sst_in_progress$\|.*sst-xb-tmpdir$\|.*\.sst$\|.*gvwstate\.dat$\|.*grastate\.dat$\|.*\.err$\|.*\.log$\|.*RPM_UPGRADE_MARKER$\|.*RPM_UPGRADE_HISTORY$\|.*pxc-entrypoint\.sh$\|.*unsafe-bootstrap\.sh$\|.*pxc-configure-pxc\.sh\|.*peer-list$'
+ cpat='.*\.pem$\|.*init\.ok$\|.*galera\.cache$\|.*wsrep_recovery_verbose\.log$\|.*readiness-check\.sh$\|.*liveness-check\.sh$\|.*get-pxc-state$\|.*sst_in_progress$\|.*sst-xb-tmpdir$\|.*\.sst$\|.*gvwstate\.dat$\|.*grastate\.dat$\|.*\.err$\|.*\.log$\|.*RPM_UPGRADE_MARKER$\|.*RPM_UPGRADE_HISTORY$\|.*pxc-entrypoint\.sh$\|.*unsafe-bootstrap\.sh$\|.*pxc-configure-pxc\.sh\|.*peer-list$'
+ find /var/lib/mysql/ -mindepth 1 -regex '.*\.pem$\|.*init\.ok$\|.*galera\.cache$\|.*wsrep_recovery_verbose\.log$\|.*readiness-check\.sh$\|.*liveness-check\.sh$\|.*get-pxc-state$\|.*sst_in_progress$\|.*sst-xb-tmpdir$\|.*\.sst$\|.*gvwstate\.dat$\|.*grastate\.dat$\|.*\.err$\|.*\.log$\|.*RPM_UPGRADE_MARKER$\|.*RPM_UPGRADE_HISTORY$\|.*pxc-entrypoint\.sh$\|.*unsafe-bootstrap\.sh$\|.*pxc-configure-pxc\.sh\|.*peer-list$' -prune -o -exec rm -rfv '{}' +
+ echo 'Initializing database'
+ mysqld --initialize-insecure --skip-ssl --datadir=/var/lib/mysql//sst-xb-tmpdir
Initializing database
+ mv /var/lib/mysql//sst-xb-tmpdir/#ib_16384_0.dblwr /var/lib/mysql//sst-xb-tmpdir/#ib_16384_1.dblwr /var/lib/mysql//sst-xb-tmpdir/#innodb_temp /var/lib/mysql//sst-xb-tmpdir/auto.cnf /var/lib/mysql//sst-xb-tmpdir/ib_buffer_pool /var/lib/mysql//sst-xb-tmpdir/ib_logfile0 /var/lib/mysql//sst-xb-tmpdir/ib_logfile1 /var/lib/mysql//sst-xb-tmpdir/ibdata1 /var/lib/mysql//sst-xb-tmpdir/mysql /var/lib/mysql//sst-xb-tmpdir/mysql.ibd /var/lib/mysql//sst-xb-tmpdir/performance_schema /var/lib/mysql//sst-xb-tmpdir/private_key.pem /var/lib/mysql//sst-xb-tmpdir/public_key.pem /var/lib/mysql//sst-xb-tmpdir/sys /var/lib/mysql//sst-xb-tmpdir/undo_001 /var/lib/mysql//sst-xb-tmpdir/undo_002 /var/lib/mysql//
+ rm -rfv /var/lib/mysql//sst-xb-tmpdir
+ echo 'Database initialized'
++ _get_config socket mysqld
++ local conf=socket
++ shift
removed directory '/var/lib/mysql//sst-xb-tmpdir'
Database initialized
++ awk '$1 == "socket" && /^[^ \t]/ { sub(/^[^ \t]+[ \t]+/, ""); print; exit }'
+++ mktemp -u
++ mysqld --verbose --help --wsrep-provider=none --log-bin-index=/tmp/tmp.ZbjTXED4Xz
+ SOCKET=/tmp/mysql.sock
+ pid=243
+ mysql=(mysql --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" --password="")
+ mysqld --skip-networking --socket=/tmp/mysql.sock
+ wsrep_local_state_select='SELECT variable_value FROM performance_schema.global_status WHERE variable_name='\''wsrep_local_state_comment'\'''
+ for i in {120..0}
++ echo 'SELECT variable_value FROM performance_schema.global_status WHERE variable_name='\''wsrep_local_state_comment'\'''
++ mysql --protocol=socket -uroot -hlocalhost --socket=/tmp/mysql.sock --password= -s
MySQL init process in progress...
+ wsrep_local_state=
+ true
+ '[' '' = Synced ']'
+ echo 'MySQL init process in progress...'
+ sleep 1
+ for i in {120..0}
++ echo 'SELECT variable_value FROM performance_schema.global_status WHERE variable_name='\''wsrep_local_state_comment'\'''
++ mysql --protocol=socket -uroot -hlocalhost --socket=/tmp/mysql.sock --password= -s
+ wsrep_local_state=
+ true
+ '[' '' = Synced ']'
+ echo 'MySQL init process in progress...'
+ sleep 1
MySQL init process in progress...
+ for i in {120..0}
++ echo 'SELECT variable_value FROM performance_schema.global_status WHERE variable_name='\''wsrep_local_state_comment'\'''
++ mysql --protocol=socket -uroot -hlocalhost --socket=/tmp/mysql.sock --password= -s
+ wsrep_local_state=
MySQL init process in progress...
+ true
+ '[' '' = Synced ']'
+ echo 'MySQL init process in progress...'
+ sleep 1
+ for i in {120..0}
++ echo 'SELECT variable_value FROM performance_schema.global_status WHERE variable_name='\''wsrep_local_state_comment'\'''
++ mysql --protocol=socket -uroot -hlocalhost --socket=/tmp/mysql.sock --password= -s
+ wsrep_local_state=
+ true
+ '[' '' = Synced ']'
+ echo 'MySQL init process in progress...'
+ sleep 1
MySQL init process in progress...
+ for i in {120..0}
++ echo 'SELECT variable_value FROM performance_schema.global_status WHERE variable_name='\''wsrep_local_state_comment'\'''
++ mysql --protocol=socket -uroot -hlocalhost --socket=/tmp/mysql.sock --password= -s
+ wsrep_local_state=
+ true
+ '[' '' = Synced ']'
+ echo 'MySQL init process in progress...'
MySQL init process in progress...
+ sleep 1
+ for i in {120..0}
++ echo 'SELECT variable_value FROM performance_schema.global_status WHERE variable_name='\''wsrep_local_state_comment'\'''
++ mysql --protocol=socket -uroot -hlocalhost --socket=/tmp/mysql.sock --password= -s
MySQL init process in progress...
+ wsrep_local_state=
+ true
+ '[' '' = Synced ']'
+ echo 'MySQL init process in progress...'
+ sleep 1
+ for i in {120..0}
++ echo 'SELECT variable_value FROM performance_schema.global_status WHERE variable_name='\''wsrep_local_state_comment'\'''
++ mysql --protocol=socket -uroot -hlocalhost --socket=/tmp/mysql.sock --password= -s
+ wsrep_local_state=
+ true
+ '[' '' = Synced ']'
+ echo 'MySQL init process in progress...'
+ sleep 1
MySQL init process in progress...
+ for i in {120..0}
++ echo 'SELECT variable_value FROM performance_schema.global_status WHERE variable_name='\''wsrep_local_state_comment'\'''
++ mysql --protocol=socket -uroot -hlocalhost --socket=/tmp/mysql.sock --password= -s
+ wsrep_local_state=
+ true
+ '[' '' = Synced ']'
+ echo 'MySQL init process in progress...'
+ sleep 1
MySQL init process in progress...
+ for i in {120..0}
++ echo 'SELECT variable_value FROM performance_schema.global_status WHERE variable_name='\''wsrep_local_state_comment'\'''
++ mysql --protocol=socket -uroot -hlocalhost --socket=/tmp/mysql.sock --password= -s
+ wsrep_local_state=
+ true
+ '[' '' = Synced ']'
+ echo 'MySQL init process in progress...'
+ sleep 1
MySQL init process in progress...
+ for i in {120..0}
++ echo 'SELECT variable_value FROM performance_schema.global_status WHERE variable_name='\''wsrep_local_state_comment'\'''
++ mysql --protocol=socket -uroot -hlocalhost --socket=/tmp/mysql.sock --password= -s
+ wsrep_local_state=
+ true
+ '[' '' = Synced ']'
+ echo 'MySQL init process in progress...'
+ sleep 1
MySQL init process in progress...
+ for i in {120..0}
++ echo 'SELECT variable_value FROM performance_schema.global_status WHERE variable_name='\''wsrep_local_state_comment'\'''
++ mysql --protocol=socket -uroot -hlocalhost --socket=/tmp/mysql.sock --password= -s
+ wsrep_local_state=
+ true
+ '[' '' = Synced ']'
+ echo 'MySQL init process in progress...'
+ sleep 1
MySQL init process in progress...
+ for i in {120..0}
++ echo 'SELECT variable_value FROM performance_schema.global_status WHERE variable_name='\''wsrep_local_state_comment'\'''
++ mysql --protocol=socket -uroot -hlocalhost --socket=/tmp/mysql.sock --password= -s
+ wsrep_local_state=
+ true
+ '[' '' = Synced ']'
MySQL init process in progress...
+ echo 'MySQL init process in progress...'
+ sleep 1
+ for i in {120..0}
++ echo 'SELECT variable_value FROM performance_schema.global_status WHERE variable_name='\''wsrep_local_state_comment'\'''
++ mysql --protocol=socket -uroot -hlocalhost --socket=/tmp/mysql.sock --password= -s
+ wsrep_local_state=Joined
+ '[' Joined = Synced ']'
+ echo 'MySQL init process in progress...'
+ sleep 1
MySQL init process in progress...
+ for i in {120..0}
++ echo 'SELECT variable_value FROM performance_schema.global_status WHERE variable_name='\''wsrep_local_state_comment'\'''
++ mysql --protocol=socket -uroot -hlocalhost --socket=/tmp/mysql.sock --password= -s
+ wsrep_local_state=Synced
+ '[' Synced = Synced ']'
+ break
+ '[' 107 = 0 ']'
+ '[' -z '' ']'
+ echo 'set wsrep_on=0;'
+ echo 'SET @@SESSION.SQL_LOG_BIN = off;'
+ mysql --protocol=socket -uroot -hlocalhost --socket=/tmp/mysql.sock --password= mysql
+ sed 's/Local time zone must be set--see zic manual page/FCTY/'
+ mysql_tzinfo_to_sql /usr/share/zoneinfo
mysql: [Warning] Using a password on the command line interface can be insecure.
Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/leapseconds' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/tzdata.zi' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
+ echo 'set wsrep_on=1;'
+ rootCreate=
+ file_env MYSQL_ROOT_HOST %
+ set +o xtrace
+ '[' '!' -z % -a % '!=' localhost ']'
+ read -r -d '' rootCreate
+ true
+ file_env MONITOR_HOST localhost
+ set +o xtrace
+ file_env MONITOR_PASSWORD monitor monitor
+ set +o xtrace
+ file_env REPLICATION_PASSWORD '' replication
+ set +o xtrace
+ '[' 8.0 == 8.0 ']'
+ read -r -d '' monitorConnectGrant
+ true
+ [[ 8.0 == \8\.\0 ]]
+ (( MYSQL_PATCH_VERSION >= 16 ))
+ read -r -d '' systemUserGrant
+ true
+ mysql --protocol=socket -uroot -hlocalhost --socket=/tmp/mysql.sock --password=
mysql: [Warning] Using a password on the command line interface can be insecure.
+ file_env MYSQL_DATABASE
+ set +o xtrace
+ '[' '' ']'
+ file_env MYSQL_USER
+ set +o xtrace
+ file_env MYSQL_PASSWORD
+ set +o xtrace
+ echo
+ ls /docker-entrypoint-initdb.d/
+ kill -s TERM 243
+ wait 243
+ echo
+ echo 'MySQL init process done. Ready for start up.'
+ echo
+ '[' '!' -z '' ']'
MySQL init process done. Ready for start up.
+ '[' mysqld = mysqld -a -z '' ']'
+ _check_config mysqld
+ toRun=("$@" --verbose --help --wsrep-provider='none')
++ mysqld --verbose --help --wsrep-provider=none
+ errors=
++ _get_config datadir mysqld
++ local conf=datadir
++ shift
++ awk '$1 == "datadir" && /^[^ \t]/ { sub(/^[^ \t]+[ \t]+/, ""); print; exit }'
+++ mktemp -u
++ mysqld --verbose --help --wsrep-provider=none --log-bin-index=/tmp/tmp.4FWaUhDJPw
+ DATADIR=/var/lib/mysql/
++ _get_cnf_config sst tmpdir /var/lib/mysql//sst-xb-tmpdir
++ local group=sst
++ local var=tmpdir
++ local reval=
+++ my_print_defaults sst
+++ awk -F= '{st=index($0,"="); cur=$0; if ($1 ~ /_/) { gsub(/_/,"-",$1);} if (st != 0) { print $1"="substr(cur,st+1) } else { print cur }}'
+++ grep -- --tmpdir=
+++ cut -d= -f2-
+++ tail -1
++ reval=
++ [[ -z '' ]]
++ reval=/var/lib/mysql//sst-xb-tmpdir
++ echo /var/lib/mysql//sst-xb-tmpdir
+ SST_DIR=/var/lib/mysql//sst-xb-tmpdir
++ _get_cnf_config sst progress /var/lib/mysql//sst_in_progress
++ local group=sst
++ local var=progress
++ local reval=
+++ my_print_defaults sst
+++ awk -F= '{st=index($0,"="); cur=$0; if ($1 ~ /_/) { gsub(/_/,"-",$1);} if (st != 0) { print $1"="substr(cur,st+1) } else { print cur }}'
+++ grep -- --progress=
+++ cut -d= -f2-
+++ tail -1
++ reval=1
++ [[ -z 1 ]]
++ echo 1
+ SST_P_FILE=1
+ rm -rvf /var/lib/mysql//sst-xb-tmpdir 1
+ mysqld --version
+ sed s/-ps//
+ tee /tmp/version_info
/usr/sbin/mysqld Ver 8.0.25-15.1 for Linux on x86_64 (Percona XtraDB Cluster (GPL), Release rel15, Revision 8638bb0, WSREP version 26.4.3)
+ '[' -f /var/lib/mysql//version_info ']'
+ mysqld --version
+ sed s/-ps//
+ grep -v wsrep_sst_auth /etc/mysql/node.cnf
[mysqld]
pxc-encrypt-cluster-traffic=ON
ssl-ca=/etc/mysql/ssl-internal/ca.crt
ssl-key=/etc/mysql/ssl-internal/tls.key
ssl-cert=/etc/mysql/ssl-internal/tls.crt
wsrep_provider_options="pc.weight=10"
wsrep_sst_donor=
log-error=/var/lib/mysql/mysqld-error.log
log_error_suppression_list="MY-010055"
admin-address=10.42.235.171
skip_slave_start=ON
enforce-gtid-consistency
gtid-mode=ON
plugin_load="binlog_utils_udf=binlog_utils_udf.so"
default_authentication_plugin=mysql_native_password
datadir=/var/lib/mysql
socket=/tmp/mysql.sock
skip-host-cache
coredumper
server_id=18420570
binlog_format=ROW
default_storage_engine=InnoDB
innodb_flush_log_at_trx_commit = 0
innodb_flush_method = O_DIRECT
innodb_file_per_table = 1
innodb_autoinc_lock_mode=2
bind_address = 0.0.0.0
wsrep_slave_threads=2
wsrep_cluster_address=gcomm://
wsrep_provider=/usr/lib64/galera4/libgalera_smm.so
wsrep_cluster_name=pxc-db-pxc
wsrep_node_address=10.42.235.171
wsrep_node_incoming_address=pxc-db-pxc-0.pxc-db-pxc.pxc-operator.svc.cluster.local:3306
wsrep_sst_method=xtrabackup-v2
[client]
socket=/tmp/mysql.sock
[sst]
cpat=.*\.pem$\|.*init\.ok$\|.*galera\.cache$\|.*wsrep_recovery_verbose\.log$\|.*readiness-check\.sh$\|.*liveness-check\.sh$\|.*get-pxc-state$\|.*sst_in_progress$\|.*sst-xb-tmpdir$\|.*\.sst$\|.*gvwstate\.dat$\|.*grastate\.dat$\|.*\.err$\|.*\.log$\|.*RPM_UPGRADE_MARKER$\|.*RPM_UPGRADE_HISTORY$\|.*pxc-entrypoint\.sh$\|.*unsafe-bootstrap\.sh$\|.*pxc-configure-pxc\.sh\|.*peer-list$
progress=1
++ cat /var/run/secrets/kubernetes.io/serviceaccount/namespace
cat: /var/run/secrets/kubernetes.io/serviceaccount/namespace: No such file or directory
+ POD_NAMESPACE=```
1 Like

Hi @voarsh !
Please provide the Kubernetes version/provider and helm command (values file also if applicable) used to install the cluster.

1 Like

Sorry for the late reply.
Kubernetes Provider: RKE 1
Kubernetes Version: v1.21.12

The stock values with the repo: Percona Helm Charts | percona-helm-charts
(pxc db and operator)

1 Like

Hi,
thanks for reporting back!

To me this doesn’t look like helm chart specific issue, can you try without the helm chart and open a ticket in our Jira in K8SPXC project.

Mind you that RKE is currently not in our list of supported platforms, but maybe the fix is very easy so it will be done (really don’t know right now).
Also a suggestion, if you are opening topics in this forum but running PXC in Kubernetes please use the
Percona Operator for MySQL
section.

Have a nice weekend!

1 Like