Predictive Maintenance last log (2019-09-30)
Function cannot access KairosDB Database
2019-09-30 10:01:04,286 INFO [<frozen run>]: ---PREDICTION BEGIN---
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 157, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py", line 61, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/lib/python3.6/socket.py", line 745, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 672, in urlopen
chunked=chunked,
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 387, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/local/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/usr/local/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 184, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 169, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f3bf784b940>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 720, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='aluminium', port=8080): Max retries exceeded with url: /api/v1/version (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f3bf784b940>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/pm", line 10, in <module>
sys.exit(main())
File "<frozen cli>", line 1060, in main
File "<frozen cli>", line 1056, in call
File "<frozen run>", line 138, in pred_eval_save
File "<frozen read>", line 113, in readinputfromkairosdb
File "/usr/local/lib/python3.6/site-packages/pykairos/client.py", line 783, in __init__
self.version = self.__get_server_version__()
File "/usr/local/lib/python3.6/site-packages/pykairos/client.py", line 877, in __get_server_version__
status_code, response = self.__get__("version")
File "/usr/local/lib/python3.6/site-packages/pykairos/client.py", line 864, in __get__
return self.__send_request__(rqst, return_json=return_json, return_key=return_key)
File "/usr/local/lib/python3.6/site-packages/pykairos/client.py", line 842, in __send_request__
response = self.__session__.send(request)
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='aluminium', port=8080): Max retries exceeded with url: /api/v1/version (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f3bf784b940>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
Please register or sign in to comment