Hi guys I'm trying to integrate MS teams channel w...
# troubleshoot
l
Hi guys I'm trying to integrate MS teams channel with Datahub. First question - according to your doc if everything is ok I should see logs in datahub-actions pod like
{datahub_actions.plugin.action.teams.teams:60} - Teams notification action configured with webhook_url
but I see these
Copy code
2023/02/27 13:25:30 Received 200 from <http://datahub-datahub-gms:8080/health>
[2023-02-27 13:25:32,685] DEBUG    {datahub.telemetry.telemetry:210} - Sending init Telemetry
[2023-02-27 13:25:33,292] DEBUG    {datahub.telemetry.telemetry:243} - Sending Telemetry
[2023-02-27 13:25:33,545] INFO     {datahub.cli.ingest_cli:182} - DataHub CLI version: 0.9.0.5rc2
[2023-02-27 13:25:33,551] DEBUG    {datahub.cli.ingest_cli:196} - Using config: ...
[2023-02-27 13:25:34,190] DEBUG    {datahub.ingestion.run.pipeline:174} - Sink type:console,<class 'datahub.ingestion.sink.console.ConsoleSink'> configured
[2023-02-27 13:25:34,190] INFO     {datahub.ingestion.run.pipeline:175} - Sink configured successfully. 
[2023-02-27 13:25:34,190] WARNING  {datahub.ingestion.run.pipeline:276} - Failed to configure reporter: datahub
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/datahub/ingestion/run/pipeline.py", line 264, in _configure_reporting
    reporter_class.create(
  File "/usr/local/lib/python3.10/site-packages/datahub/ingestion/reporting/datahub_ingestion_run_summary_provider.py", line 92, in create
    raise ValueError(
ValueError: Datahub ingestion reporter will be disabled because sink type console is not supported
[2023-02-27 13:25:34,486] INFO     {acryl_action_fwk.source.datahub_streaming:176} - Action executor:ExecutionRequestAction: configured
[2023-02-27 13:25:34,486] DEBUG    {datahub.ingestion.run.pipeline:199} - Source type:datahub-stream,<class 'acryl_action_fwk.source.datahub_streaming.DataHubStreamSource'> configured
[2023-02-27 13:25:34,486] INFO     {datahub.ingestion.run.pipeline:200} - Source configured successfully.
[2023-02-27 13:25:34,488] INFO     {datahub.cli.ingest_cli:129} - Starting metadata ingestion
[2023-02-27 13:25:34,488] INFO     {acryl_action_fwk.source.datahub_streaming:196} - Will subscribe to MetadataAuditEvent_v4, MetadataChangeLog_Versioned_v1
[2023-02-27 13:25:34,489] INFO     {acryl_action_fwk.source.datahub_streaming:199} - Action framework started
[2023-02-27 13:26:06,968] INFO     {acryl_action_fwk.source.datahub_streaming:206} - Msg received: MetadataChangeLog_Versioned_v1, 1, 888957
[2023-02-27 13:26:06,968] INFO     {acryl_action_fwk.source.datahub_streaming:89} - Calling act of ExecutionRequestAction
looks like totally different. We updated our helm charts to the latest version Or it doesn't look like correct version of datahub-actions pod?
b
Hey, Could you post you recipe (without confidential info)?
l
which receipt? maybe I didn't get something we use k8s cluster and your helm charts. It deployes several pods like datahub-datahub-frontend, datahub-datahub-gms and datahub-acryl-datahub-actions I read that I should set 3 env vars to implement MS teams integration DATAHUB_ACTIONS_TEAMS_DATAHUB_BASE_URL : my_ui_url DATAHUB_ACTIONS_TEAMS_ENABLED : true DATAHUB_ACTIONS_TEAMS_WEBHOOK_URL: my_hook_url I did it, but it doesn't work, and no logs in actions pod that the pod configured ms teams
b
if you exec into the action pod and run
env
can you see those env vars?

https://youtu.be/BlCLhG8lGoY?t=3234

By recip I mean the part that specify what you want to do with the events
l
@bulky-electrician-72362 Thanks for your support, we found the issue we used some old docker image acryl/acryl-datahub-actions, but should be acryl/datahub-actions. even on the Docker hub the first one has 10k pulls, but the second - is 10M.