mctaek / mysql-master-ha

Automatically exported from code.google.com/p/mysql-master-ha
0 stars 0 forks source link

MHA automatic failover stop when I shutdown Master machine #102

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.I test my new MHA environment, I shutdown master machine so manage node can't 
connect to master machine via SSH , but mha stop automatic failover.

What is the expected output? What do you see instead?

Wed May 21 08:11:10 2014 - [info] Forcing shutdown so that applications never 
connect to the current master..
Wed May 21 08:11:10 2014 - [info] Executing master IP deactivatation script:
Wed May 21 08:11:10 2014 - [info]   /data/masterha/master_ip_failover.pl 
--orig_master_host=192.168.126.128 --orig_master_ip=192.168.126.128 
--orig_master_port=3307 --command=stop 
Got Error: Use of uninitialized value in concatenation (.) or string at 
/data/masterha/master_ip_failover.pl line 130.

Disabling the VIP on old master: 192.168.126.128 
Wed May 21 08:11:10 2014 - 
[error][/usr/lib/perl5/vendor_perl/MHA/MasterFailover.pm, ln491] Failed to 
deactivate master IP with return code 1:0
Wed May 21 08:11:10 2014 - 
[error][/usr/lib/perl5/vendor_perl/MHA/MasterFailover.pm, ln1673] Got ERROR:  
at /usr/bin/masterha_manager line 65
Wed May 21 08:11:10 2014 - [info] 

What version of the product are you using? On what operating system?

#rpm -qa |grep mha
mha4mysql-manager-0.55-0.el6.noarch
mha4mysql-node-0.54-0.el6.noarch

MySQL 5.6  OS version: 6.5 CentOS

Original issue reported on code.google.com by yloui...@gmail.com on 21 Nov 2014 at 2:51