Closed martinmajtan closed 10 months ago
Same issue here.
+1
OpenMetadata 1.2.3 cannot connect to Airflow.
I had the same problem, here I installed openmetadata on a kubernetes cluster, with helm, along with Elastic and Airflow too. Version: 1.2.3.
I solved the problem this way:
In the OpenMetadata installation documentation for kubernetes, there is no important step, which I found in this guide:
https://github.com/open-metadata/openmetadata-helm-charts
The missing step is this:
kubectl create secret generic airflow-secrets --from-literal=openmetadata-airflow-password=admin
From what I understand, openmetada uses this secret to authenticate and communicate with airflow, when I created this secret I put another password, and this error that you reported occurred whenever I tried to add a new data source, but when I changed this secret's password to the default value "admin" and restarted the openmetadata pod, communication between openmetadata and airflow started to work, and this error never appeared again, I don't know how to correctly configure this authentication between openmetadata and airflow but creating this secret with the value default 'admin' everything worked.
Thanks. Closing this issue!
Hello, We have installed OpenMetadata instance shipped with Elastic and Airflow. We used official helm charts with their image "docker.getcollate.io/openmetadata/ingestion". But we're facing a problem with connection from OpenMetadata to Airflow API.
We set up a basic auth according docs (we have also tested a SSO KeyCloak which was working, but getting same issue ). I upgraded to newest helm chart version v1.1.4 and OpenMetadata version.
When I try add service - Pipeline or Database I got error:
Authentication failed for user [admin] trying to access the Airflow APIs.
I read all available docs and update our configuration as official docs said:
values.yaml for dependencies chart:
values.yaml for OpenMetadata chart:
I tried create different user but same error (created new secret, upgraded airlflow values.yaml file for new user and gave Admin role).
I don't understand why I'm getting that error in browser, because when I jump to OpenMetadata pod and test connection to Airflow API all seems fine:
Also when I tried call Airflow API with user, I didn't get error due to 401 Unauthorized: