Hey, trying to run Tableau ingestion on server dep...
# troubleshoot
a
Hey, trying to run Tableau ingestion on server deployed on EKS. Getting the following error:
Copy code
'Source (tableau) report:\n'
           "{'workunits_produced': '0',\n"
           " 'workunit_ids': [],\n"
           " 'warnings': {},\n"
           " 'failures': {'tableau-login': ['Unable to Login with credentials providedReason: \\n'\n"
           "                                '\\n'\n"
           "                                '\\t401001: Signin Error\\n'\n"
           "                                '\\t\\tError signing in to Tableau Server']},\n"
           " 'cli_version': '0.8.43',\n"
           " 'cli_entry_location': '/tmp/datahub/ingest/venv-7b77d206-7f5b-4a63-9969-96e360d4e070/lib/python3.9/site-packages/datahub/__init__.py',\n"
           " 'py_version': '3.9.9 (main, Dec 21 2021, 10:03:34) \\n[GCC 10.2.1 20210110]',\n"
           " 'py_exec_path': '/tmp/datahub/ingest/venv-7b77d206-7f5b-4a63-9969-96e360d4e070/bin/python3',\n"
           " 'os_details': 'Linux-5.4.209-116.363.amzn2.x86_64-x86_64-with-glibc2.31'}\n"
           'Sink (datahub-rest) report:\n'
           "{'records_written': '0', 'warnings': [], 'failures': [], 'gms_version': 'v0.8.43'}\n"
           '\n'
           'Pipeline finished with 1 failures in source producing 0 workunits\n',
           "2022-08-31 09:22:05.119103 [exec_id=7b77d206-7f5b-4a63-9969-96e360d4e070] INFO: Failed to execute 'datahub ingest'",
           '2022-08-31 09:22:05.119610 [exec_id=7b77d206-7f5b-4a63-9969-96e360d4e070] INFO: Caught exception EXECUTING '
           'task_id=7b77d206-7f5b-4a63-9969-96e360d4e070, name=RUN_INGEST, stacktrace=Traceback (most recent call last):\n'
           '  File "/usr/local/lib/python3.9/site-packages/acryl/executor/execution/default_executor.py", line 121, in execute_task\n'
           '    self.event_loop.run_until_complete(task_future)\n'
           '  File "/usr/local/lib/python3.9/site-packages/nest_asyncio.py", line 89, in run_until_complete\n'
           '    return f.result()\n'
           '  File "/usr/local/lib/python3.9/asyncio/futures.py", line 201, in result\n'
           '    raise self._exception\n'
           '  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 256, in __step\n'
           '    result = coro.send(None)\n'
           '  File "/usr/local/lib/python3.9/site-packages/acryl/executor/execution/sub_process_ingestion_task.py", line 115, in execute\n'
           '    raise TaskError("Failed to execute \'datahub ingest\'")\n'
           "acryl.executor.execution.task.TaskError: Failed to execute 'datahub ingest'\n"]}
Execution finished with errors.
false
It complains about login credentials, the problem is that I'm using exactly same credentials locally and there's not problem. Have you experienced a similar problem? Thanks!:)
g
How did you test your credentials locally? if it’s possible, could you try running ingestion from the CLI (using
datahub ingest -c recipe.yml
) to see if you run into the same issue?
a
How did you test your credentials locally?
I ran datahub as a docker container locally and create ingestion recipe locally
g
To clarify, this issue is only happening in the deployed EKS container but not when run locally?
a
Yes, only on EKS. Works fine locally
g
When configuring it through the UI, are you using the form or are you using the yaml entry? If you’re using the form, could you try switching to the yaml mode and copying the source section from your local recipe into the yaml editor?
a
I did exactly that, the result is the same.