-
【TiDB 版本】:4.0
-
【问题描述】:现有集群,部署drainer,无法启动,卡在wait until the drainer port is up,查看drainer_stderr.log是空白的,谢谢
PLAY [check config locally] *********************************************************************************** TASK [check_config_static : Ensure only one monitoring host exists] ******************************************* TASK [check_config_static : Ensure monitored_servers exists] ************************************************** TASK [check_config_static : Ensure TiDB host exists] ********************************************************** TASK [check_config_static : Ensure PD host exists] ************************************************************ TASK [check_config_static : Ensure TiKV host exists] ********************************************************** TASK [check_config_static : Check ansible_user variable] ****************************************************** TASK [check_config_static : Ensure timezone variable is set] ************************************************** TASK [check_config_static : Close old SSH control master processes] ******************************************* ok: [localhost] TASK [check_config_static : Check ansible version] ************************************************************ TASK [check_config_static : Check if jmespath installed] ****************************************************** changed: [localhost] TASK [check_config_static : Check if jinja2 installed] ******************************************************** changed: [localhost] TASK [check_config_static : Preflight check - Fail when jmespath or jinja2 isn't installed] ******************* TASK [check_config_static : Get jmespath info] **************************************************************** changed: [localhost] TASK [check_config_static : Get jmespath version] ************************************************************* ok: [localhost] TASK [check_config_static : Get jinja2 info] ****************************************************************** changed: [localhost] TASK [check_config_static : Get jinja2 version] *************************************************************** ok: [localhost] TASK [check_config_static : Preflight check - Fail when the versions of jmespath and jinja2 doesn't meet the requirements] *** TASK [check_config_static : Check inventory configuration] **************************************************** changed: [localhost] TASK [check_config_static : Preflight check - If the inventory configuration is correct] ********************** PLAY [gather all facts, and check dest] *********************************************************************** TASK [check_config_dynamic : Set enable_binlog variable] ****************************************************** TASK [check_config_dynamic : Set deploy_dir if not set] ******************************************************* TASK [check_config_dynamic : environment check (deploy dir)] ************************************************** ok: [192.168.240.111] ok: [192.168.240.110] ok: [192.168.240.108] ok: [drainer_kafka] ok: [192.168.240.109] TASK [check_config_dynamic : Preflight check - Does deploy dir have appropriate permission] ******************* TASK [check_config_dynamic : environment check (supervise)] *************************************************** TASK [check_config_dynamic : config skip variables (default)] ************************************************* ok: [192.168.240.108] ok: [192.168.240.109] ok: [192.168.240.110] ok: [192.168.240.111] ok: [drainer_kafka] TASK [check_config_dynamic : config skip variables] *********************************************************** ok: [192.168.240.108] ok: [192.168.240.109] ok: [192.168.240.110] ok: [192.168.240.111] ok: [drainer_kafka] TASK [check_config_dynamic : config skip variables] *********************************************************** PLAY [drainer_servers] **************************************************************************************** TASK [start drainer by supervise] ***************************************************************************** TASK [start drainer by systemd] ******************************************************************************* ok: [drainer_kafka] TASK [wait until the drainer port is up] **********************************************************************
- 请检查一下 drainer 是否启动
- 检查一是否有端口冲突
- 检查一下是否有其他的日志
已经解决,谢谢,我是同步到kafka,有一项配置“disable-dispatch = false“,导致drainer无法启动,去掉这项配置就好了。
好的,感谢你的提问
感谢回复,可以将自己这个消息置为最佳回复哦~
此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。