Bug #103621 Cannot Start MySQL management and data nodes

Submitted: 7 May 2021 9:33 Modified: 7 May 2021 12:08
Reporter: Davood Falahati Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:7.5 OS:Debian (Ubuntu 20.04)
Assigned to: CPU Architecture:x86
Tags: docker, ndb_mgmd, ndbd

[7 May 2021 9:33] Davood Falahati
Description:
I follow the instructions in https://hub.docker.com/r/mysql/mysql-cluster/ and I had successfully done so. In my recent try, I noticed my containers exit right after start.

This is the error log I receive from my server with Ubuntu 20.04 installed:

[Entrypoint] MySQL Docker Image 8.0.24-1.2.2-cluster
[Entrypoint] Starting ndb_mgmd
Failed to open /sys/devices/system/cpu/cpu0/cache/index3/shared_cpu_list: No such file or directory
ndb_mgmd: [ERROR] unknown variable 'user='.
MySQL Cluster Management Server mysql-8.0.24 ndb-8.0.24

On another machine with Ubuntu 18.04 installed I receive a similar error:

[Entrypoint] MySQL Docker Image 7.5.22-1.2.2-cluster
[Entrypoint] Starting ndb_mgmd
MySQL Cluster Management Server mysql-5.7.34 ndb-7.5.22
ndb_mgmd: [ERROR] unknown variable 'user=mysql'

How to repeat:
To replicate the error, make sure there are no local mysql images on your local registry.

Make a docker network:

docker network create cluster --subnet=192.168.0.0/16

docker run -d --net=cluster --name=management1 --ip=192.168.0.2 mysql/mysql-cluster ndb_mgmd

docker logs managemnet1
[7 May 2021 10:27] Juan Fra Martínez
Same problem with Ubuntu 20.04.2 LTS x86_64
[7 May 2021 12:08] MySQL Verification Team
Hi,

I doubt this has anything to do with host OS.

Verified on CentOS7

[root@centos7BIG ~]# docker network create cluster --subnet=10.0.0.0/16
314f9407fa6e81aec82cc8212fc574f3043f5423acf5200ed57078562de4aed7
[root@centos7BIG ~]# docker run -d --net=cluster --name=management1 --ip=10.0.0.2 mysql/mysql-cluster ndb_mgmd
Unable to find image 'mysql/mysql-cluster:latest' locally
latest: Pulling from mysql/mysql-cluster
ee9d4d67fb68: Pull complete
1b7d7162ff8c: Pull complete
fdefefbeba5b: Pull complete
760747422912: Pull complete
053fd7e9ad4e: Pull complete
8e1ae64b7b63: Pull complete
cddec88d4d9c: Pull complete
5235335dd49b: Pull complete
40ee0037ee48: Pull complete
Digest: sha256:39328716fae2379af7b1713e9f473301fd2776764ef28664d60870ce99031a42
Status: Downloaded newer image for mysql/mysql-cluster:latest
ac4f7a23aecde5cebda8936ff73f519f2e5cefd3c08057fcfed32e82b3593e16
[root@centos7BIG ~]# docker logs managemnet1
Error: No such container: managemnet1
[root@centos7BIG ~]# docker logs management1
[Entrypoint] MySQL Docker Image 8.0.24-1.2.2-cluster
[Entrypoint] Starting ndb_mgmd
MySQL Cluster Management Server mysql-8.0.24 ndb-8.0.24
ndb_mgmd: [ERROR] unknown variable 'user='.
[root@centos7BIG ~]#

Thanks for the report
Bogdan

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.