[GitHub] [airflow] uranusjr commented on issue #20991: Elasticsearch remote log will not fetch task logs from manual dagruns before 2.2 upgrade

2022-02-12 Thread GitBox
uranusjr commented on issue #20991: URL: https://github.com/apache/airflow/issues/20991#issuecomment-1037092707 The core “fix” is actually overriden when the ElasticSearch provider’s implementation is used, so just releasing the provider would be enough to resolve the issue in Airflow 2.2.

[GitHub] [airflow] uranusjr commented on issue #20991: Elasticsearch remote log will not fetch task logs from manual dagruns before 2.2 upgrade

2022-01-20 Thread GitBox
uranusjr commented on issue #20991: URL: https://github.com/apache/airflow/issues/20991#issuecomment-1018233069 Also whoever works on this should also fix the rendering function in `FileTaskHandler` to add those same data-interval-related context variables. -- This is an automated messag

[GitHub] [airflow] uranusjr commented on issue #20991: Elasticsearch remote log will not fetch task logs from manual dagruns before 2.2 upgrade

2022-01-20 Thread GitBox
uranusjr commented on issue #20991: URL: https://github.com/apache/airflow/issues/20991#issuecomment-1017851842 It should use `dag.get_run_data_interval(dag_run)` instead. How to get the correct DAG object, however, is the problem; `dag_run.get_dag()` *might* work, but if it doesn’t, we ne