Hello everyone!! after a “nuke” command we aren’t able to put the instance back working . We have some problem ingesting from oracle
Execution finished with errors.
{'exec_id': '57365a9a-2b25-4df0-93cf-030561856286',
'infos': ['2025-02-04 15:58:20.951200 INFO: Starting execution for task with name=RUN_INGEST',
"2025-02-04 15:58:25.005034 INFO: Failed to execute 'datahub ingest', exit code 1",
'2025-02-04 15:58:25.005188 INFO: Caught exception EXECUTING task_id=57365a9a-2b25-4df0-93cf-030561856286, name=RUN_INGEST, '
'stacktrace=Traceback (most recent call last):\n'
' File "/datahub-ingestion/.venv/lib/python3.10/site-packages/acryl/executor/execution/default_executor.py", line 139, in execute_task\n'
' task_event_loop.run_until_complete(task_future)\n'
' File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete\n'
' return future.result()\n'
' File "/datahub-ingestion/.venv/lib/python3.10/site-packages/acryl/executor/execution/sub_process_ingestion_task.py", line 402, in '
'execute\n'
' raise TaskError("Failed to execute \'datahub ingest\'")\n'
"acryl.executor.execution.task.TaskError: Failed to execute 'datahub ingest'\n"],
'errors': []}
~~~~ Ingestion Logs ~~~~
Obtaining venv creation lock...
Acquired venv creation lock
venv is already set up
venv setup time = 0 sec
This version of datahub supports report-to functionality
+ exec datahub ingest run -c /tmp/datahub/ingest/57365a9a-2b25-4df0-93cf-030561856286/recipe.yml --report-to /tmp/datahub/logs/57365a9a-2b25-4df0-93cf-030561856286/artifacts/ingestion_report.json
[2025-02-04 15:58:23,696] INFO {datahub.cli.ingest_cli:150} - DataHub CLI version: 0.15.0.5rc8
[2025-02-04 15:58:23,698] INFO {datahub.ingestion.run.pipeline:256} - No sink configured, attempting to use the default datahub-rest sink.
[2025-02-04 15:58:23,709] INFO {datahub.ingestion.run.pipeline:273} - Sink configured successfully. DataHubRestEmitter: configured to talk to <http://datahub-gms:8080>
[2025-02-04 15:58:24,021] ERROR {datahub.entrypoints:235} - Command failed: Failed to find a registered source for type oracle: oracle is disabled due to a missing dependency: oracledb; try running `pip install 'acryl-datahub[oracle]'`
Traceback (most recent call last):
File "/datahub-ingestion/.venv/lib/python3.10/site-packages/datahub/ingestion/api/registry.py", line 126, in _ensure_not_lazy
plugin_class = import_path(path)
File "/datahub-ingestion/.venv/lib/python3.10/site-packages/datahub/ingestion/api/registry.py", line 56, in import_path
item = importlib.import_module(module_name)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/datahub-ingestion/.venv/lib/python3.10/site-packages/datahub/ingestion/source/sql/oracle.py", line 11, in <module>
import oracledb
ModuleNotFoundError: No module named 'oracledb'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/datahub-ingestion/.venv/lib/python3.10/site-packages/datahub/ingestion/run/pipeline.py", line 138, in _add_init_error_context
yield
File "/datahub-ingestion/.venv/lib/python3.10/site-packages/datahub/ingestion/run/pipeline.py", line 289, in __init__
source_class = source_registry.get(self.source_type)
File "/datahub-ingestion/.venv/lib/python3.10/site-packages/datahub/ingestion/api/registry.py", line 178, in get
raise ConfigurationError(
datahub.configuration.common.ConfigurationError: oracle is disabled due to a missing dependency: oracledb; try running `pip install 'acryl-datahub[oracle]'`
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/datahub-ingestion/.venv/lib/python3.10/site-packages/datahub/entrypoints.py", line 222, in main
sys.exit(datahub(standalone_mode=False, **kwargs))
File "/datahub-ingestion/.venv/lib/python3.10/site-packages/click/core.py", line 1161, in __call__
return self.main(*args, **kwargs)
File "/datahub-ingestion/.venv/lib/python3.10/site-packages/click/core.py", line 1082, in main
rv = self.invoke(ctx)
File "/datahub-ingestion/.venv/lib/python3.10/site-packages/click/core.py", line 1697, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/datahub-ingestion/.venv/lib/python3.10/site-packages/click/core.py", line 1697, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/datahub-ingestion/.venv/lib/python3.10/site-packages/click/core.py", line 1443, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/datahub-ingestion/.venv/lib/python3.10/site-packages/click/core.py", line 788, in invoke
return __callback(*args, **kwargs)
File "/datahub-ingestion/.venv/lib/python3.10/site-packages/datahub/telemetry/telemetry.py", line 476, in wrapper
raise e
File "/datahub-ingestion/.venv/lib/python3.10/site-packages/datahub/telemetry/telemetry.py", line 424, in wrapper
res = func(*args, **kwargs)
File "/datahub-ingestion/.venv/lib/python3.10/site-packages/datahub/cli/ingest_cli.py", line 171, in run
pipeline = Pipeline.create(
File "/datahub-ingestion/.venv/lib/python3.10/site-packages/datahub/ingestion/run/pipeline.py", line 422, in create
return cls(
File "/datahub-ingestion/.venv/lib/python3.10/site-packages/datahub/ingestion/run/pipeline.py", line 286, in __init__
with _add_init_error_context(
File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
self.gen.throw(typ, value, traceback)
File "/datahub-ingestion/.venv/lib/python3.10/site-packages/datahub/ingestion/run/pipeline.py", line 142, in _add_init_error_context
raise PipelineInitError(f"Failed to {step}: {e}") from e
datahub.ingestion.run.pipeline.PipelineInitError: Failed to find a registered source for type oracle: oracle is disabled due to a missing dependency: oracledb; try running `pip install 'acryl-datahub[oracle]'````