You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi , this is my first time to use mha-helper. i built on Centos 7 within virtualenv.
I got error when running the test "masterha_check_repl --conf=/etc/app1.cnf"
Sun Feb 12 08:28:14 2017 - [info] Checking replication health on hcm07mdmpr02..
Sun Feb 12 08:28:14 2017 - [info] ok.
Sun Feb 12 08:28:14 2017 - [info] Checking master_ip_failover_script status:
Sun Feb 12 08:28:14 2017 - [info] /usr/bin/master_ip_hard_failover_helper --command=status --ssh_user=mha_helper --orig_master_host=hcm07mdmpr01 --orig_master_ip=172.27.47.49 --orig_master_port=3306
Traceback (most recent call last):
File "/usr/bin/master_ip_hard_failover_helper", line 4, in import('pkg_resources').run_script('mha-helper==0.4.2', 'master_ip_hard_failover_helper')
File "/data/mha/virtualenv/mha_helper/lib/python2.7/site-packages/pkg_resources/init.py", line 738, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/data/mha/virtualenv/mha_helper/lib/python2.7/site-packages/pkg_resources/init.py", line 1506, in run_script
exec(script_code, namespace, namespace)
File "/data/mha/virtualenv/mha_helper/lib/python2.7/site-packages/mha_helper-0.4.2-py2.7.egg/EGG-INFO/scripts/master_ip_hard_failover_helper", line 77, in
File "/data/mha/virtualenv/mha_helper/lib/python2.7/site-packages/mha_helper-0.4.2-py2.7.egg/EGG-INFO/scripts/master_ip_hard_failover_helper", line 61, in main
File "build/bdist.linux-x86_64/egg/mha_helper/mha_helper.py", line 43, in init
ValueError
Sun Feb 12 08:28:15 2017 - [error][/usr/share/perl5/vendor_perl/MHA/MasterMonitor.pm, ln229] Failed to get master_ip_failover_script status with return code 1:0.
Sun Feb 12 08:28:15 2017 - [error][/usr/share/perl5/vendor_perl/MHA/MasterMonitor.pm, ln427] Error happened on checking configurations. at /bin/masterha_check_repl line 48.
Sun Feb 12 08:28:15 2017 - [error][/usr/share/perl5/vendor_perl/MHA/MasterMonitor.pm, ln525] Error happened on monitoring servers.
Sun Feb 12 08:28:15 2017 - [info] Got exit code 1 (Not master dead).
Here are all the packages when i install the requirement.txt:
Requirement already satisfied (use --upgrade to upgrade): wheel==0.23.0 in /data/mha/virtualenv/mha_helper/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): nose==1.3.4 in /data/mha/virtualenv/mha_helper/lib/python2.7/site-packages (from -r requirements.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): PyMySQL>=0.6.3 in /data/mha/virtualenv/mha_helper/lib/python2.7/site-packages (from -r requirements.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): paramiko>=1.10.0 in /data/mha/virtualenv/mha_helper/lib/python2.7/site-packages (from -r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): cryptography>=1.1 in /data/mha/virtualenv/mha_helper/lib/python2.7/site-packages (from paramiko>=1.10.0->-r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): pyasn1>=0.1.7 in /data/mha/virtualenv/mha_helper/lib/python2.7/site-packages (from paramiko>=1.10.0->-r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): idna>=2.0 in /data/mha/virtualenv/mha_helper/lib/python2.7/site-packages (from cryptography>=1.1->paramiko>=1.10.0->-r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): six>=1.4.1 in /data/mha/virtualenv/mha_helper/lib/python2.7/site-packages (from cryptography>=1.1->paramiko>=1.10.0->-r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): setuptools>=11.3 in /data/mha/virtualenv/mha_helper/lib/python2.7/site-packages (from cryptography>=1.1->paramiko>=1.10.0->-r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): enum34 in /data/mha/virtualenv/mha_helper/lib/python2.7/site-packages (from cryptography>=1.1->paramiko>=1.10.0->-r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): ipaddress in /data/mha/virtualenv/mha_helper/lib/python2.7/site-packages (from cryptography>=1.1->paramiko>=1.10.0->-r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): cffi>=1.4.1 in /data/mha/virtualenv/mha_helper/lib/python2.7/site-packages (from cryptography>=1.1->paramiko>=1.10.0->-r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): packaging>=16.8 in /data/mha/virtualenv/mha_helper/lib/python2.7/site-packages (from setuptools>=11.3->cryptography>=1.1->paramiko>=1.10.0->-r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): appdirs>=1.4.0 in /data/mha/virtualenv/mha_helper/lib/python2.7/site-packages (from setuptools>=11.3->cryptography>=1.1->paramiko>=1.10.0->-r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): pycparser in /data/mha/virtualenv/mha_helper/lib/python2.7/site-packages (from cffi>=1.4.1->cryptography>=1.1->paramiko>=1.10.0->-r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): pyparsing in /data/mha/virtualenv/mha_helper/lib/python2.7/site-packages (from packaging>=16.8->setuptools>=11.3->cryptography>=1.1->paramiko>=1.10.0->-r requirements.txt (line 4))
Cleaning up...
Can you check it ?
Thank you very much.
The text was updated successfully, but these errors were encountered:
Hi , this is my first time to use mha-helper. i built on Centos 7 within virtualenv.
I got error when running the test "masterha_check_repl --conf=/etc/app1.cnf"
Here are all the packages when i install the requirement.txt:
Can you check it ?
Thank you very much.
The text was updated successfully, but these errors were encountered: