日志太大了,这是最后一部分日志,现在的状态是卡着了
[2025-08-25 17:09:43.945] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - get observer version, by sql
[2025-08-25 17:09:43.946] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - start get_observer_version_by_sql . input: test-dns.com:2883
[2025-08-25 17:09:43.993] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - connect databse ...
[2025-08-25 17:09:43.999] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - get_observer_version_by_sql ob_version_info is ('5.7.25-OceanBase_CE-v4.2.5.3',)
[2025-08-25 17:09:44.046] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - connect databse ...
[2025-08-25 17:09:44.057] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - ob_query_timeout value: 10000000
[2025-08-25 17:09:44.057] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - ob_query_timeout is within acceptable range: 10000000 microseconds (10.0 seconds)
[2025-08-25 17:09:44.057] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - execute tasks end : cluster.ob_query_timeout
[2025-08-25 17:09:44.057] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - execute tasks is cluster.observer_not_active
[2025-08-25 17:09:44.057] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - cluster.version is 4.2.5.3
[2025-08-25 17:09:44.058] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - cluster.observer_not_active execute!
[2025-08-25 17:09:44.058] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - task_base execute
[2025-08-25 17:09:44.058] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - version_int is 4.2.5.3 steps_versions is [4.0.0.0,*]
[2025-08-25 17:09:44.058] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - minVersion is 4.0.0.0, maxVersion is 999
[2025-08-25 17:09:44.058] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - filter_by_version is return 0
[2025-08-25 17:09:44.060] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - run task in node: {'ip': '192.168.1.100', 'ssh_username': 'dumbo', 'ssh_port': '2200', 'home_path': '/home/oceanbase', 'data_dir': '/home/oceanbase/store', 'redo_dir': '/home/oceanbase/store', 'ssh_key_file': '/home/dumbo/.ssh/id_rsa', 'ssh_type': 'remote', 'container_name': '', 'namespace': '', 'pod_name': '', 'kubernetes_config_file': '', 'host_type': 'OBSERVER', 'ssher': <src.common.ssh_client.ssh.SshClient object at 0x7f4a95676d30>}
[2025-08-25 17:09:44.061] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - step nu: 1
[2025-08-25 17:09:44.061] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - step nu: 1 initted, to execute
[2025-08-25 17:09:44.061] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - task execute and result
[2025-08-25 17:09:44.061] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - StepSQLHandler execute: select GROUP_CONCAT(DISTINCT SVR_IP) from oceanbase.DBA_OB_SERVERS where STATUS <> "ACTIVE" or START_SERVICE_TIME = null or START_SERVICE_TIME = 0 or STOP_TIME is not null;
[2025-08-25 17:09:44.063] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - execute_sql result:((None,),)
[2025-08-25 17:09:44.064] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - sql result:
[2025-08-25 17:09:44.064] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - sql execute update task_variable_dict: not_ACTIVE_OBSERVER =
[2025-08-25 17:09:44.064] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - self.task_variable_dict: {'remote_ip': '192.168.1.100', 'remote_ssh_username': 'dumbo', 'remote_ssh_port': '2200', 'remote_home_path': '/home/oceanbase', 'remote_data_dir': '/home/oceanbase/store', 'remote_redo_dir': '/home/oceanbase/store', 'remote_ssh_key_file': '/home/dumbo/.ssh/id_rsa', 'remote_ssh_type': 'remote', 'remote_container_name': '', 'remote_namespace': '', 'remote_pod_name': '', 'remote_kubernetes_config_file': '', 'remote_host_type': 'OBSERVER', 'remote_ssher': <src.common.ssh_client.ssh.SshClient object at 0x7f4a95676d30>, 'not_ACTIVE_OBSERVER': ''}
[2025-08-25 17:09:44.064] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - result execute
[2025-08-25 17:09:44.064] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - verify_result execute
[2025-08-25 17:09:44.064] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - verify_type input is None
[2025-08-25 17:09:44.064] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - verify_type input is base, to set base
[2025-08-25 17:09:44.064] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - the result verify is [ -z "$not_ACTIVE_OBSERVER" ]
[2025-08-25 17:09:44.064] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - add env: remote_ip ,the value:192.168.1.100 , the type:<class 'str'>
[2025-08-25 17:09:44.064] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - add env: remote_ssh_username ,the value:dumbo , the type:<class 'str'>
[2025-08-25 17:09:44.064] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - add env: remote_ssh_port ,the value:2200 , the type:<class 'str'>
[2025-08-25 17:09:44.064] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - add env: remote_home_path ,the value:/home/oceanbase , the type:<class 'str'>
[2025-08-25 17:09:44.064] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - add env: remote_data_dir ,the value:/home/oceanbase/store , the type:<class 'str'>
[2025-08-25 17:09:44.065] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - add env: remote_redo_dir ,the value:/home/oceanbase/store , the type:<class 'str'>
[2025-08-25 17:09:44.065] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - add env: remote_ssh_key_file ,the value:/home/dumbo/.ssh/id_rsa , the type:<class 'str'>
[2025-08-25 17:09:44.065] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - add env: remote_ssh_type ,the value:remote , the type:<class 'str'>
[2025-08-25 17:09:44.065] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - add env: remote_container_name ,the value: , the type:<class 'str'>
[2025-08-25 17:09:44.065] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - add env: remote_namespace ,the value: , the type:<class 'str'>
[2025-08-25 17:09:44.065] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - add env: remote_pod_name ,the value: , the type:<class 'str'>
[2025-08-25 17:09:44.065] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - add env: remote_kubernetes_config_file ,the value: , the type:<class 'str'>
[2025-08-25 17:09:44.065] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - add env: remote_host_type ,the value:OBSERVER , the type:<class 'str'>
[2025-08-25 17:09:44.065] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - add env: remote_ssher ,the value:<src.common.ssh_client.ssh.SshClient object at 0x7f4a95676d30> , the type:<class 'src.common.ssh_client.ssh.SshClient'>
[2025-08-25 17:09:44.065] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - add env: not_ACTIVE_OBSERVER ,the value: , the type:<class 'str'>
[2025-08-25 17:09:44.065] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - real_shell: not_ACTIVE_OBSERVER=""
[2025-08-25 17:09:44.065] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] remote_ssher="<src.common.ssh_client.ssh.SshClient object at 0x7f4a95676d30>"
[2025-08-25 17:09:44.065] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] remote_host_type="OBSERVER"
[2025-08-25 17:09:44.065] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] remote_kubernetes_config_file=""
[2025-08-25 17:09:44.065] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] remote_pod_name=""
[2025-08-25 17:09:44.066] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] remote_namespace=""
[2025-08-25 17:09:44.066] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] remote_container_name=""
[2025-08-25 17:09:44.066] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] remote_ssh_type="remote"
[2025-08-25 17:09:44.066] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] remote_ssh_key_file="/home/dumbo/.ssh/id_rsa"
[2025-08-25 17:09:44.066] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] remote_redo_dir="/home/oceanbase/store"
[2025-08-25 17:09:44.066] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] remote_data_dir="/home/oceanbase/store"
[2025-08-25 17:09:44.066] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] remote_home_path="/home/oceanbase"
[2025-08-25 17:09:44.066] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] remote_ssh_port="2200"
[2025-08-25 17:09:44.066] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] remote_ssh_username="dumbo"
[2025-08-25 17:09:44.066] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] remote_ip="192.168.1.100"
[2025-08-25 17:09:44.066] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG]
[2025-08-25 17:09:44.066] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] if [ -z "$not_ACTIVE_OBSERVER" ]; then
[2025-08-25 17:09:44.066] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] echo "true"
[2025-08-25 17:09:44.066] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] else
[2025-08-25 17:09:44.066] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] echo "false"
[2025-08-25 17:09:44.066] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] fi
[2025-08-25 17:09:44.066] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG]
[2025-08-25 17:09:44.084] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - _verify_base result: true
[2025-08-25 17:09:44.085] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - verify.execute end. and result is True
[2025-08-25 17:09:44.085] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - step nu: 1 execute end
[2025-08-25 17:09:44.085] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - task execute end
[2025-08-25 17:09:44.085] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - execute tasks end : cluster.observer_not_active
[2025-08-25 17:09:44.085] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - execute tasks is cluster.observer_port
[2025-08-25 17:09:44.085] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - cluster.version is 4.2.5.3
[2025-08-25 17:09:44.086] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - cluster.observer_port execute!
[2025-08-25 17:09:44.086] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - task_base execute
[2025-08-25 17:10:23.849] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - get observer version, by sql
[2025-08-25 17:10:23.852] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - start get_observer_version_by_sql . input: test-dns.com:2883
[2025-08-25 17:10:23.891] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - connect databse ...
[2025-08-25 17:10:23.897] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - get_observer_version_by_sql ob_version_info is ('5.7.25-OceanBase_CE-v4.2.5.3',)
[2025-08-25 17:10:23.939] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - connect databse ...
[2025-08-25 17:10:23.946] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - Execute Shell command on server 192.168.1.100:command -v nc
[2025-08-25 17:10:23.952] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - Execute Shell command on server 192.168.1.100:echo | nc -v 192.168.1.100 2882
[2025-08-25 17:10:24.001] [95e6eb22-818e-11f0-988d-3a8805eaf744] [DEBUG] - Execute Shell command on server 192.168.1.100:echo | nc -v 192.168.1.100 2881