Hello, I'm trying to ingest looker metadata but I'...
# troubleshoot
m
Hello, I'm trying to ingest looker metadata but I'm having some problems. 1 week ago I was able to ingest with the same config file.
Copy code
---- (full traceback above) ----
File "/usr/local/lib/python3.8/site-packages/datahub/entrypoints.py", line 91, in main
    sys.exit(datahub(standalone_mode=False, **kwargs))
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/datahub/cli/ingest_cli.py", line 52, in run
    pipeline = Pipeline.create(pipeline_config)
File "/usr/local/lib/python3.8/site-packages/datahub/ingestion/run/pipeline.py", line 120, in create
    return cls(config)
File "/usr/local/lib/python3.8/site-packages/datahub/ingestion/run/pipeline.py", line 88, in __init__
    self.source: Source = source_class.create(
File "/usr/local/lib/python3.8/site-packages/datahub/ingestion/source/looker.py", line 788, in create
    return cls(config, ctx)
File "/usr/local/lib/python3.8/site-packages/datahub/ingestion/source/looker.py", line 245, in __init__
    self.client = LookerAPI(self.source_config).get_client()
File "/usr/local/lib/python3.8/site-packages/datahub/ingestion/source/looker.py", line 84, in __init__
    raise ConfigurationError(

ConfigurationError: Failed to initialize Looker client. Please check your configuration.
Slack Conversation
m
@microscopic-elephant-47912: can you share the structure of your config?
m
Hello @mammoth-bear-12532, I uploaded the config and the log file
m
Thanks @microscopic-elephant-47912 it seems like your client secret and id is making looker unhappy
can you double check that it is correct
m
before upgrading datahub it was working fine
to get the new updates I upgraded my docker environment and datahub ingesting python packages
m
@microscopic-elephant-47912: are you able to use the same config with an older docker image? you can also reproduce by creating a
venv
and installing an older python version
m
I asked my colleague about client and secret info is still valid or not. After that I'll try with an virtual environment
Thanks @mammoth-bear-12532. I'll update you when I get the response.
m
thanks @microscopic-elephant-47912
m
Hi Looker ingestion is working now, Looker admin disabled my user. Thank you for your help @mammoth-bear-12532
I want to ask another question is it possible to have column and metric level Lineage for Looker. I tried to import LookML but I couldn't make it work.