-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TiDB Ansible deploy error #3863
Comments
|
@buggithubs , “可以尝试登录节点手动执行,然后查看是否有错误信息。” |
@wolaiye1010 refer to https://github.com/pingcap/docs-cn/blob/master/op-guide/ansible-deployment.md. Please use CentOS 7 or later, default TiDB binaries is for CentOS7. And pd instances should be one or three.You can new issues in https://github.com/pingcap/tidb-ansible if you encounter any other deployment problems. |
@LinuxGit , |
到 启动这一步到时候报错 ansible-playbook start.yml,
错误内容如下:
TASK [wait up] **********************************************************************************************************************************************************************
fatal: [10.9.193.135]: FAILED! => {"changed": false, "elapsed": 300, "failed": true, "msg": "Timeout when waiting for PID:/home/tidb/deploy/status/tikv.pid to stop."}
fatal: [10.9.193.136]: FAILED! => {"changed": false, "elapsed": 300, "failed": true, "msg": "Timeout when waiting for PID:/home/tidb/deploy/status/tikv.pid to stop."}
fatal: [10.9.193.121]: FAILED! => {"changed": false, "elapsed": 300, "failed": true, "msg": "Timeout when waiting for PID:/home/tidb/deploy/status/tikv.pid to stop."}
to retry, use: --limit @retry_files/start.retry
PLAY RECAP **************************************************************************************************************************************************************************
10.9.193.119 : ok=23 changed=3 unreachable=0 failed=0
10.9.193.121 : ok=21 changed=3 unreachable=0 failed=1
10.9.193.135 : ok=19 changed=2 unreachable=0 failed=1
10.9.193.136 : ok=19 changed=2 unreachable=0 failed=1
localhost : ok=1 changed=0 unreachable=0 failed=0
我的配置文件:
TiDB Cluster Part
[tidb_servers]
10.9.193.119
10.9.193.121
[pd_servers]
10.9.193.119
10.9.193.121
[tikv_servers]
10.9.193.135
#10.9.193.137
10.9.193.121
10.9.193.136
Monitoring Part
[monitoring_servers]
10.9.193.119
[grafana_servers]
10.9.193.119
[monitored_servers:children]
tidb_servers
tikv_servers
pd_servers
Binlog Part
[pump_servers:children]
tidb_servers
[cistern_servers]
[drainer_servers]
[pd_servers:vars]
location_labels = ["zone","rack","host"]
Global variables
[all:vars]
deploy_dir = /home/tidb/deploy
Connection
ssh via root:
ansible_user = root
ansible_become = true
ansible_become_user = work
ssh via normal user
#ansible_user = tidb
cluster_name = test-cluster
misc
enable_elk = False
enable_firewalld = False
enable_ntpd = False
machine_benchmark = True
set_hostname = False
binlog trigger
enable_binlog = False
The text was updated successfully, but these errors were encountered: