-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
area:providersgood first issuekind:bugThis is a clearly a bugThis is a clearly a bugprovider:opensearch
Description
Apache Airflow version
2.9.1
If "Other Airflow 2 version" selected, which one?
No response
What happened?
When leaving the login and password values blank, the opensearch hook passes empty strings to the http_auth parameter of opensearch which ends up generating an Authorization header with a mostly empty base64 encoded value.
What you think should happen instead?
If no login or password are passed, no http_auth argument should be provided. The elasticsearch provider works in this way.
How to reproduce
Don't set a login or password on an opensearch hook connection and try to use it to connect.
Operating System
Debian GNU/Linux 11 (bullseye)
Versions of Apache Airflow Providers
apache-airflow-providers-opensearch==1.1.2
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
area:providersgood first issuekind:bugThis is a clearly a bugThis is a clearly a bugprovider:opensearch