You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/06/08 14:44:51 UTC
[GitHub] [airflow] fritz-astronomer opened a new issue, #24328: `TI.log_url` is incorrect with mapped tasks
fritz-astronomer opened a new issue, #24328:
URL: https://github.com/apache/airflow/issues/24328
### Apache Airflow version
2.3.0
### What happened
I had an `on_failure_callback` that sent a `task_instance.log_url` to slack, it no longer behaves correctly - giving me a page with no logs rendered instead of the logs for my task.
(Example of failure, URL like: https://XYZ.astronomer.run/dhp2pmdd/log?execution_date=2022-06-05T00%3A00%3A00%2B00%3A00&task_id=create_XXX_zip_files_and_upload&dag_id=my_dag )
![image](https://user-images.githubusercontent.com/80706212/172645178-b0efb329-d3b4-40f1-81e3-cd358dde9906.png)
### What you think should happen instead
The correct behavior would be the URL:
https://XYZ.astronomer.run/dhp2pmdd/log?execution_date=2022-06-05T00%3A00%3A00%2B00%3A00&task_id=create_XXX_zip_files_and_upload&dag_id=my_dag&map_index=0
as exemplified:
![image](https://user-images.githubusercontent.com/80706212/172645902-e6179b0c-9612-4ff4-824e-30684aca13b1.png)
### How to reproduce
_No response_
### Operating System
Debian/Docker
### Versions of Apache Airflow Providers
_No response_
### Deployment
Astronomer
### Deployment details
_No response_
### Anything else
_No response_
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] josh-fell commented on issue #24328: `TI.log_url` is incorrect with mapped tasks
Posted by GitBox <gi...@apache.org>.
josh-fell commented on issue #24328:
URL: https://github.com/apache/airflow/issues/24328#issuecomment-1150033318
@fritz-astronomer All yours!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk closed issue #24328: `TI.log_url` is incorrect with mapped tasks
Posted by GitBox <gi...@apache.org>.
potiuk closed issue #24328: `TI.log_url` is incorrect with mapped tasks
URL: https://github.com/apache/airflow/issues/24328
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org