-
Notifications
You must be signed in to change notification settings - Fork 240
Open
Description
Describe the bug
The MySQL 8.0.39 cluster fails to be created.
To Reproduce
Steps to reproduce the behavior:
- kbcli cluster create mysql cmdb-mysql --namespace devops --version='8.0.39' --storage=10 --replicas=2
- see errors
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Kubernetes: v1.26.15
KubeBlocks: 1.0.1
kbcli: 1.0.1
Additional context
2025-10-30T03:07:58Z INFO HTTPServer Starting HTTP Server
2025-10-30T03:07:58Z INFO HTTPServer API route path {"method": "POST", "path": ["/v1.0/pause", "/v1.0/switchover", "/v1.0/leavemember", "/v1.0/rebuild", "/v1.0/resume", "/v1.0/start", "/v1.0/stop"]}
2025-10-30T03:07:58Z INFO HTTPServer API route path {"method": "GET", "path": ["/v1.0/datasync", "/v1.0/getrole"]}
2025-10-30T03:07:58Z INFO HTTPServer http server {"listen address": "0.0.0.0", "port": 3601}
2025-10-30T03:07:58Z INFO HA HA starting
2025-10-30T03:07:58Z INFO pinger Waiting for dns resolution to be ready
2025-10-30T03:07:58Z INFO pinger dns resolution is ready {"dns": ""}
2025-10-30T03:07:58Z INFO DCS-K8S pod selector: app.kubernetes.io/instance=cmdb-mysql,app.kubernetes.io/managed-by=kubeblocks,apps.kubeblocks.io/component-name=mysql
2025-10-30T03:07:58Z INFO DCS-K8S podlist: 2
2025-10-30T03:07:58Z INFO DCS-K8S Leader configmap is not found {"configmap": "cmdb-mysql-mysql-leader"}
2025-10-30T03:07:58Z DEBUG HA cluster info {"cluster": "cmdb-mysql-mysql", "replicas": 2}
2025-10-30T03:07:58Z INFO Hypervisor Starting Hypervisor
2025-10-30T03:07:58Z INFO Hypervisor Start DB Service {"command": "/usr/bin/bash -c mkdir -p /var/lib/mysql/{log,binlog,auditlog,temp}\nif [ -f /var/lib/mysql/plugin/audit_log.so ]; then\n cp /var/lib/mysql/plugin/audit_log.so /usr/lib64/mysql/plugin/\nfi \nif [ -d /etc/pki/tls ]; then\n mkdir -p /var/lib/mysql/tls/\n cp -L /etc/pki/tls/*.pem /var/lib/mysql/tls/\n chmod 600 /var/lib/mysql/tls/*\nfi\nchown -R mysql:root /var/lib/mysql\nSERVICE_ID=$((${POD_NAME##*-} + 1))\n\ndocker-entrypoint.sh mysqld --server-id $SERVICE_ID \\\n --plugin-load-add=rpl_semi_sync_source=semisync_source.so \\\n --plugin-load-add=rpl_semi_sync_replica=semisync_replica.so \\\n --plugin-load-add=audit_log=audit_log.so \\\n --log-bin=/var/lib/mysql/binlog/${POD_NAME}-bin \\\n --skip-slave-start=ON\n"}
2025-10-30T03:07:58Z INFO HA check if DB Service is running
2025-10-30T03:07:58Z INFO Hypervisor Starting watcher on dbService
2025-10-30T03:07:58Z INFO MySQL DB is not ready and try to reconnect {"error": "dial tcp 127.0.0.1:3306: connect: connection refused"}
2025-10-30T03:07:58Z INFO MySQL switch to root db
== DB ERR == <jemalloc>: Unsupported system page size
== DB ERR == <jemalloc>: Unsupported system page size
== DB ERR == <jemalloc>: Unsupported system page size
== DB ERR == <jemalloc>: Unsupported system page size
== DB ERR == <jemalloc>: Unsupported system page size
2025-10-30T03:07:58Z INFO DCS-K8S Leader configmap is not found {"configmap": "cmdb-mysql-mysql-leader"}
== DB ERR == <jemalloc>: Unsupported system page size
== DB ERR == <jemalloc>: Unsupported system page size
== DB ERR == <jemalloc>: Unsupported system page size
== DB ERR == <jemalloc>: Unsupported system page size
== DB ERR == <jemalloc>: Unsupported system page size
== DB == 2025-10-30 03:07:58+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.39-1.el9 started.
== DB ERR == <jemalloc>: Unsupported system page size
== DB ERR == 2025-10-30 03:07:58+00:00 [ERROR] [Entrypoint]: mysqld failed while attempting to check config
== DB ERR == command was: mysqld --server-id 2 --plugin-load-add=rpl_semi_sync_source=semisync_source.so --plugin-load-add=rpl_semi_sync_replica=semisync_replica.so --plugin-load-add=audit_log=audit_log.so --log-bin=/var/lib/mysql/binlog/cmdb-mysql-mysql-1-bin --skip-slave-start=ON --verbose --help --log-bin-index=/tmp/tmp.XUPNkFPJIh
== DB ERR == <jemalloc>: Unsupported system page size
== DB ERR == terminate called after throwing an instance of 'std::bad_alloc'
== DB ERR == what(): std::bad_alloc
2025-10-30T03:07:58Z INFO Hypervisor dbService existing {"state": "exit status 1"}
2025-10-30T03:07:58Z INFO Hypervisor db startup failed, and will not be watched, Existing... {"daemon": "/usr/bin/bash -c mkdir -p /var/lib/mysql/{log,binlog,auditlog,temp}\nif [ -f /var/lib/mysql/plugin/audit_log.so ]; then\n cp /var/lib/mysql/plugin/audit_log.so /usr/lib64/mysql/plugin/\nfi \nif [ -d /etc/pki/tls ]; then\n mkdir -p /var/lib/mysql/tls/\n cp -L /etc/pki/tls/*.pem /var/lib/mysql/tls/\n chmod 600 /var/lib/mysql/tls/*\nfi\nchown -R mysql:root /var/lib/mysql\nSERVICE_ID=$((${POD_NAME##*-} + 1))\n\ndocker-entrypoint.sh mysqld --server-id $SERVICE_ID \\\n --plugin-load-add=rpl_semi_sync_source=semisync_source.so \\\n --plugin-load-add=rpl_semi_sync_replica=semisync_replica.so \\\n --plugin-load-add=audit_log=audit_log.so \\\n --log-bin=/var/lib/mysql/binlog/${POD_NAME}-bin \\\n --skip-slave-start=ON\n"}
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working