Bug #89207 Not able to add extra data node
Submitted: 12 Jan 2018 11:58 Modified: 26 Feb 2018 16:06
Reporter: Sanjay Kumbhale Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Cluster Manager Severity:S1 (Critical)
Version:Mysql 5.7.18 ndb 7.6.3 OS:Ubuntu
Assigned to: MySQL Verification Team CPU Architecture:Any

[12 Jan 2018 11:58] Sanjay Kumbhale
Description:
I have created mysql cluster using docker with a management server, an API server and 2 data node docker on 4 different machines.
My configuration file looks like below.

[ndbd default]
NoOfReplicas=2
DataMemory=80M
IndexMemory=18M

[ndb_mgmd]
NodeId=1
#hostname=192.168.0.2
hostname=192.168.4.162
datadir=/var/lib/mysql

[ndbd]
NodeId=2
#hostname=192.168.0.3
hostname=192.168.4.125
datadir=/var/lib/mysql

[ndbd]
NodeId=3
#hostname=192.168.0.4
hostname=192.168.4.158
datadir=/var/lib/mysql

[mysqld]
NodeId=4
#hostname=192.168.0.10
hostname=192.168.4.103

Then I wanted to add 1 more data node so I added one data node in the configuration file in management server.
[ndbd]
NodeId=13
#hostname=192.168.0.3
hostname=192.168.4.201
datadir=/var/lib/mysql

And then tried to reload the management server using the command.
ndb_mgmd -f myconfig.conf --reload
But management node not reloaded.

Please help to fix this issue.
 

How to repeat:
As in mentioned above
[26 Jan 2018 16:06] MySQL Verification Team
Hi,
MCCGE and docker don't really play nicely together as IP docker will get is not that predictable and usually not static.

Furthermore make sure you use latest images 'cause of the bug #86854

Check also bug #87043

Now, as per "But management node not reloaded." why do you say it's not reloaded and what do you have in error log?

all best
Bogdan
[27 Feb 2018 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".