Skip to content
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

Wait for graph DB on startup #48

Open
bzurkowski opened this issue Apr 12, 2020 · 0 comments
Open

Wait for graph DB on startup #48

bzurkowski opened this issue Apr 12, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@bzurkowski
Copy link
Member

12:48:39 probe.1 | During handling of the above exception, another exception occurred:
12:48:39 probe.1 |
12:48:39 probe.1 | Traceback (most recent call last):
12:48:39 probe.1 |   File "/usr/local/bin/orca-probe", line 8, in <module>
12:48:39 probe.1 |     sys.exit(main())
12:48:39 probe.1 |   File "/usr/local/lib/python3.7/site-packages/orca/cmd/probe.py", line 20, in main
12:48:39 probe.1 |     probe_manager.initialize()
12:48:39 probe.1 |   File "/usr/local/lib/python3.7/site-packages/orca/topology/manager.py", line 37, in initialize
12:48:39 probe.1 |     graph.Graph.get(graph_lock).setup()
12:48:39 probe.1 |   File "/usr/local/lib/python3.7/site-packages/orca/graph/graph.py", line 87, in setup
12:48:39 probe.1 |     self._driver.setup()
12:48:39 probe.1 |   File "/usr/local/lib/python3.7/site-packages/orca/graph/drivers/arangodb.py", line 67, in setup
12:48:39 probe.1 |     if not sys_db.has_database(self._database_name):
12:48:39 probe.1 |   File "/usr/local/lib/python3.7/site-packages/arango/database.py", line 729, in has_database
12:48:39 probe.1 |     return name in self.databases()
12:48:39 probe.1 |   File "/usr/local/lib/python3.7/site-packages/arango/database.py", line 719, in databases
12:48:39 probe.1 |     return self._execute(request, response_handler)
12:48:39 probe.1 |   File "/usr/local/lib/python3.7/site-packages/arango/api.py", line 66, in _execute
12:48:39 probe.1 |     return self._executor.execute(request, response_handler)
12:48:39 probe.1 |   File "/usr/local/lib/python3.7/site-packages/arango/executor.py", line 81, in execute
12:48:39 probe.1 |     resp = self._conn.send_request(request)
12:48:39 probe.1 |   File "/usr/local/lib/python3.7/site-packages/arango/connection.py", line 161, in send_request
12:48:39 probe.1 |     auth=self._auth
12:48:39 probe.1 |   File "/usr/local/lib/python3.7/site-packages/arango/http.py", line 109, in send_request
12:48:39 probe.1 |     auth=auth
12:48:39 probe.1 |   File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 530, in request
12:48:39 probe.1 |     resp = self.send(prep, **send_kwargs)
12:48:39 probe.1 |   File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 643, in send
12:48:39 probe.1 |     r = adapter.send(request, **kwargs)
12:48:39 probe.1 |   File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
12:48:39 probe.1 |     raise ConnectionError(e, request=request)
12:48:39 probe.1 | requests.exceptions.ConnectionError: HTTPConnectionPool(host='arangodb', port=8529): Max retries exceeded with url: /_db/_system/_api/database (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f6da2c2f8d0>: Failed to establish a new connection: [Errno 111] Connection refused'))
@bzurkowski bzurkowski added the enhancement New feature or request label Apr 12, 2020
@bzurkowski bzurkowski added this to the 0.2 milestone Apr 13, 2020
@bzurkowski bzurkowski modified the milestones: 0.2, 0.3 Apr 24, 2020
@bzurkowski bzurkowski removed this from the 0.3 milestone Jan 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant