openrca / orca

Root Cause Analysis for Kubernetes
https://openrca.io
Apache License 2.0
90 stars 10 forks source link

Neo4j: Failed to read from defunct connection #32

Closed bzurkowski closed 4 years ago

bzurkowski commented 4 years ago
07:00:16 probe.1 | Unhandled exception
07:00:16 probe.1 | Traceback (most recent call last):
07:00:16 probe.1 |   File "/usr/local/lib/python3.7/site-packages/cotyledon/_utils.py", line 95, in exit_on_exception
07:00:16 probe.1 |     yield
07:00:16 probe.1 |   File "/usr/local/lib/python3.7/site-packages/cotyledon/_service.py", line 139, in _run
07:00:16 probe.1 |     self.run()
07:00:16 probe.1 |   File "/usr/local/lib/python3.7/site-packages/orca/topology/probe.py", line 50, in run
07:00:16 probe.1 |     probe.run()
07:00:16 probe.1 |   File "/usr/local/lib/python3.7/site-packages/orca/topology/probe.py", line 103, in run
07:00:16 probe.1 |     self._synchronize()
07:00:16 probe.1 |   File "/usr/local/lib/python3.7/site-packages/orca/topology/probe.py", line 109, in _synchronize
07:00:16 probe.1 |     nodes_in_graph = self._get_nodes_in_graph()
07:00:16 probe.1 |   File "/usr/local/lib/python3.7/site-packages/orca/topology/probe.py", line 115, in _get_nodes_in_graph
07:00:16 probe.1 |     origin=self._extractor.origin, kind=self._extractor.kind)
07:00:16 probe.1 |   File "/usr/local/lib/python3.7/site-packages/orca/graph/graph.py", line 83, in get_nodes
07:00:16 probe.1 |     return self._driver.get_nodes(origin, kind, properties)
07:00:16 probe.1 |   File "/usr/local/lib/python3.7/site-packages/orca/graph/drivers/neo4j.py", line 47, in get_nodes
07:00:16 probe.1 |     query_result = self._run_query(query)
07:00:16 probe.1 |   File "/usr/local/lib/python3.7/site-packages/orca/graph/drivers/neo4j.py", line 190, in _run_query
07:00:16 probe.1 |     result = session.run(query, values)
07:00:16 probe.1 |   File "/usr/local/lib/python3.7/site-packages/neo4j/__init__.py", line 503, in run
07:00:16 probe.1 |     self._connection.fetch()
07:00:16 probe.1 |   File "/usr/local/lib/python3.7/site-packages/neobolt/direct.py", line 419, in fetch
07:00:16 probe.1 |     return self._fetch()
07:00:16 probe.1 |   File "/usr/local/lib/python3.7/site-packages/neobolt/direct.py", line 440, in _fetch
07:00:16 probe.1 |     self._receive()
07:00:16 probe.1 |   File "/usr/local/lib/python3.7/site-packages/neobolt/direct.py", line 487, in _receive
07:00:16 probe.1 |     raise self.Error(message)
07:00:16 probe.1 | neobolt.exceptions.ServiceUnavailable: Failed to read from defunct connection Address(host='orca-neo4j.rca', port=7687) (Address(host='10.233.47.224', port=7687))
bzurkowski commented 4 years ago

Neo4j will be soon deprecated by replacing with ArangoDB graph backend.