启动节点报错

ERROR MESSAGE SUMMARY ***************************************************************************************************************************
[192.168.10.87]: Ansible Failed! ==>
changed=false
attempts: 12
content: ‘’
msg: ‘Status code was -1 and not [200]: Request failed: <urlopen error [Errno 111] Connection refused>’
redirected: false
status: -1
url: http://192.168.10.87:2379/health

[localhost]: Ansible Failed! ==>
changed=true
cmd: ./dashboard_topo.sh
delta: ‘0:00:01.411709’
end: ‘2020-11-11 00:05:12.913237’
msg: non-zero return code
rc: 1
start: ‘2020-11-11 00:05:11.501528’
stderr: |-
Traceback (most recent call last):
File “dashboard_topo.py”, line 114, in
request_topo(comp, mapping[comp], pd_address_zero)
File “dashboard_topo.py”, line 78, in request_topo
etcd_write(etcd_target, “/topology/” + comp, message)
File “dashboard_topo.py”, line 39, in etcd_write
resp = urllib2.urlopen(req)
File “/usr/lib64/python2.7/urllib2.py”, line 154, in urlopen
return opener.open(url, data, timeout)
File “/usr/lib64/python2.7/urllib2.py”, line 431, in open
response = self._open(req, data)
File “/usr/lib64/python2.7/urllib2.py”, line 449, in _open
‘_open’, req)
File “/usr/lib64/python2.7/urllib2.py”, line 409, in _call_chain
result = func(*args)
File “/usr/lib64/python2.7/urllib2.py”, line 1244, in http_open
return self.do_open(httplib.HTTPConnection, req)
File “/usr/lib64/python2.7/urllib2.py”, line 1214, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 111] Connection refused>
stderr_lines:

  • ‘Traceback (most recent call last):’
  • ’ File “dashboard_topo.py”, line 114, in ’
  • ’ request_topo(comp, mapping[comp], pd_address_zero)’
  • ’ File “dashboard_topo.py”, line 78, in request_topo’
  • ’ etcd_write(etcd_target, “/topology/” + comp, message)’
  • ’ File “dashboard_topo.py”, line 39, in etcd_write’
  • ’ resp = urllib2.urlopen(req)’
  • ’ File “/usr/lib64/python2.7/urllib2.py”, line 154, in urlopen’
  • ’ return opener.open(url, data, timeout)’
  • ’ File “/usr/lib64/python2.7/urllib2.py”, line 431, in open’
  • ’ response = self._open(req, data)’
  • ’ File “/usr/lib64/python2.7/urllib2.py”, line 449, in _open’
  • ’ ‘’_open’’, req)’
  • ’ File “/usr/lib64/python2.7/urllib2.py”, line 409, in _call_chain’
  • ’ result = func(*args)’
  • ’ File “/usr/lib64/python2.7/urllib2.py”, line 1244, in http_open’
  • ’ return self.do_open(httplib.HTTPConnection, req)’
  • ’ File “/usr/lib64/python2.7/urllib2.py”, line 1214, in do_open’
  • ’ raise URLError(err)’
  • ‘urllib2.URLError: <urlopen error [Errno 111] Connection refused>’
    stdout: ‘’
    stdout_lines:

启动的时候报错了,请问下该怎么处理

请您注意 官方已不再 对 tidb-ansiable 进行维护支持,请您改用 tiup 进行集群部署和管理

打算学习tiup技术,现在这个ansible启动问题需要解决,可以帮忙吗

请确认 要部署的 tidb cluster 的版本要与 tidb-ansiable 对应

dashboard_topo.py 是 tidb 4.0 新加入的 模块 帮助运维管理 tidb 集群 如果是 低于 4.0 版本的 tidb 集群 并不能成功完成此步骤
请您核对自己的部署情况。是否有如上情况。