Description
Apache Airflow version
2.9.1
If "Other Airflow 2 version" selected, which one?
No response
What happened?
Hello, we are using airflow 2.4.0 and were reading logs from opensearch. When we upgraded airflow to version 2.9.1, we encountered this error: "elasticsearch.ApiError: ApiError(406, 'Content-Type header [application/vnd.elasticsearch+json; compatible-with=8] is not supported', 'Content-Type header [application/vnd.elasticsearch+json; compatible-with=8] is not supported')". Could you please provide support regarding the solution to this issue?
What you think should happen instead?
No response
How to reproduce
Upgrade airflow from version 2.4.0 to 2.9.1.
Read logs from Opensearch.
Execute a specific workflow or perform a particular operation.
Observe the error message.
Operating System
CentOS Linux 7 (Core) / kubernetes v1.21.5
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
Deployment details
Airflow version 2.9.1 deployed on Kubernetes using Helm chart.
Opensearch version 2.11.1.
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