Olserver124 recovered. All nodes in Cluster Mysql on line and working:
[root@olserver124 ~]# ndb_mgm
-- NDB Cluster -- Management Client --
ndb_mgm> show
Connected to Management Server at: localhost:1186
Cluster Configuration
---------------------
[ndbd(NDB)] 2 node(s)
id=3 @90.147.137.26 (mysql-5.6.21 ndb-7.3.7, Nodegroup: 0, *)
id=4 @90.147.137.27 (mysql-5.6.21 ndb-7.3.7, Nodegroup: 0)
[ndb_mgmd(MGM)] 2 node(s)
id=1 @90.147.137.24 (mysql-5.6.21 ndb-7.3.7)
id=2 @90.147.137.25 (mysql-5.6.21 ndb-7.3.7)
[mysqld(API)] 15 node(s)
id=5 @90.147.137.25 (mysql-5.6.21 ndb-7.3.7)
id=6 @90.147.137.25 (mysql-5.6.21 ndb-7.3.7)
id=7 @90.147.137.25 (mysql-5.6.21 ndb-7.3.7)
id=8 @90.147.137.24 (mysql-5.6.21 ndb-7.3.7)
id=9 @90.147.137.24 (mysql-5.6.21 ndb-7.3.7)
id=10 (not connected, accepting connect from any host)
id=11 (not connected, accepting connect from any host)
id=12 (not connected, accepting connect from any host)
id=13 (not connected, accepting connect from any host)
id=14 (not connected, accepting connect from any host)
id=15 (not connected, accepting connect from any host)
id=16 (not connected, accepting connect from any host)
id=17 @90.147.137.24 (mysql-5.6.21 ndb-7.3.7)
id=18 @90.147.137.25 (mysql-5.6.21 ndb-7.3.7)
id=19 @90.147.137.24 (mysql-5.6.21 ndb-7.3.7)
Investigating the problem, this seems specific to the utilization of Popen inside the automation in the action_QPD() function. What is happening is that the environment inherited in the Popen is not set correctly including the PATH variable and then the command telnet used for connecting to the ethernet bridge is not found.
The problem was indeed repeatedly reported by the DRMI_LOCK node in the log file wich also include the python errors themselves (the META_ one) as:
couldn't execute "telnet": no such file or directory
while executing
"spawn telnet $remote_server $port"
(file "/virgoData/VirgoOnline/Quadrant_cmd.exp" line 32)
From those log files it seems the problem started at the time of the automation porting to python3 done on the 9th of July.
While we keep investigating, we have solved the problem by passing explicitly the content of the current environment to the Popen via env=. This resulted in the following modification inside the action_QPD() function (META_library.py):
from:
handle = Popen(['/virgoData/VirgoOnline/Quadrant_cmd.exp', server, port, device, commandStr])
to:
d = dict(os.environ)
handle = Popen(['/virgoData/VirgoOnline/Quadrant_cmd.exp', server, port, device, commandStr], env=d)
We have tested this modification by trying a shutter opening (offline in the TESTTRON1 node and while already open not to interfere with ongoing shift) and verfing that the error above was not reported anymore.