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:
启动的时候报错了,请问下该怎么处理