[ec2-user@ip-10-110-112-21 ~]$ datahub --debug docker quickstart
[2022-09-22 16
0446,456] DEBUG {datahub.telemetry.telemetry:210} - Sending init Telemetry
--- Logging error ---
Traceback (most recent call last):
File "/home/ec2-user/.local/lib/python3.7/site-packages/aiohttp/connector.py", line 980, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
File "/usr/lib64/python3.7/asyncio/base_events.py", line 962, in create_connection
raise exceptions[0]
File "/usr/lib64/python3.7/asyncio/base_events.py", line 949, in create_connection
await self.sock_connect(sock, address)
File "/usr/lib64/python3.7/asyncio/selector_events.py", line 473, in sock_connect
return await fut
File "/usr/lib64/python3.7/asyncio/selector_events.py", line 503, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('127.0.0.1', 8080)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ec2-user/.local/lib/python3.7/site-packages/datahub/upgrade/upgrade.py", line 123, in get_server_version_stats
server_config = await get_server_config(host, token)
File "/home/ec2-user/.local/lib/python3.7/site-packages/datahub/upgrade/upgrade.py", line 110, in get_server_config
async with session.get(config_endpoint) as dh_response:
File "/home/ec2-user/.local/lib/python3.7/site-packages/aiohttp/client.py", line 1141, in
aenter
self._resp = await self._coro
File "/home/ec2-user/.local/lib/python3.7/site-packages/aiohttp/client.py", line 537, in _request
req, traces=traces, timeout=real_timeout
File "/home/ec2-user/.local/lib/python3.7/site-packages/aiohttp/connector.py", line 540, in connect
proto = await self._create_connection(req, traces, timeout)
File "/home/ec2-user/.local/lib/python3.7/site-packages/aiohttp/connector.py", line 901, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "/home/ec2-user/.local/lib/python3.7/site-packages/aiohttp/connector.py", line 1206, in _create_direct_connection
raise last_exc
File "/home/ec2-user/.local/lib/python3.7/site-packages/aiohttp/connector.py", line 1187, in _create_direct_connection
client_error=client_error,
File "/home/ec2-user/.local/lib/python3.7/site-packages/aiohttp/connector.py", line 988, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host localhost:8080 ssl:default [Connect call failed ('127.0.0.1', 8080)]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/python3.7/logging/__init__.py", line 1025, in emit
msg = self.format(record)
File "/usr/lib64/python3.7/logging/__init__.py", line 869, in format
return fmt.format(record)
File "/usr/lib64/python3.7/logging/__init__.py", line 608, in format
record.message = record.getMessage()
File "/usr/lib64/python3.7/logging/__init__.py", line 369, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
File "/home/ec2-user/.local/bin/datahub", line 8, in <module>
sys.exit(main())
File "/home/ec2-user/.local/lib/python3.7/site-packages/datahub/entrypoints.py", line 149, in main
sys.exit(datahub(standalone_mode=False, **kwargs))
File "/home/ec2-user/.local/lib/python3.7/site-packages/click/core.py", line 1130, in
call
return self.main(*args, **kwargs)
File "/home/ec2-user/.local/lib/python3.7/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/ec2-user/.local/lib/python3.7/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ec2-user/.local/lib/python3.7/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ec2-user/.local/lib/python3.7/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ec2-user/.local/lib/python3.7/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/ec2-user/.local/lib/python3.7/site-packages/datahub/upgrade/upgrade.py", line 386, in async_wrapper
loop.run_until_complete(run_func_check_upgrade())
File "/usr/lib64/python3.7/asyncio/base_events.py", line 574, in run_until_complete
self.run_forever()
File "/usr/lib64/python3.7/asyncio/base_events.py", line 541, in run_forever
self._run_once()
File "/usr/lib64/python3.7/asyncio/base_events.py", line 1786, in _run_once
handle._run()
File "/usr/lib64/python3.7/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/home/ec2-user/.local/lib/python3.7/site-packages/datahub/upgrade/upgrade.py", line 126, in get_server_version_stats
log.debug("Failed to get a valid server", e)
Message: 'Failed to get a valid server'
Arguments: (ClientConnectorError(ConnectionKey(host='localhost', port=8080, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=129552675203528702), ConnectionRefusedError(111, "Connect call failed ('127.0.0.1', 8080)")),)
[2022-09-22 16
0446,811] DEBUG {datahub.telemetry.telemetry:243} - Sending Telemetry
No Datahub Neo4j volume found, starting with elasticsearch as graph service.
To use neo4j as a graph backend, run
datahub docker quickstart --quickstart-compose-file ./docker/quickstart/docker-compose.quickstart.yml
from the root of the datahub repo
Fetching docker-compose file
https://raw.githubusercontent.com/datahub-project/datahub/master/docker/quickstart/docker-compose-without-neo4j.quickstart.yml from GitHub
[2022-09-22 16
0447,001] DEBUG {datahub.cli.docker_cli:610} - Copied to /home/ec2-user/.datahub/quickstart/docker-compose.yml
Pulling docker images...
unknown shorthand flag: 'f' in -f
See 'docker --help'.