You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Artem Rybin (JIRA)" <ji...@apache.org> on 2019/06/18 12:12:00 UTC

[jira] [Commented] (AIRFLOW-1061) Log URL in Task Instance list is incorrect when running locally

    [ https://issues.apache.org/jira/browse/AIRFLOW-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16866550#comment-16866550 ] 

Artem Rybin commented on AIRFLOW-1061:
--------------------------------------

Is it a duplicate of [AIRFLOW-929|https://issues.apache.org/jira/browse/AIRFLOW-929]?

> Log URL in Task Instance list is incorrect when running locally
> ---------------------------------------------------------------
>
>                 Key: AIRFLOW-1061
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1061
>             Project: Apache Airflow
>          Issue Type: Bug
>    Affects Versions: 1.8.0
>            Reporter: Nicholas Duffy
>            Priority: Major
>
> The Log URL in the Task Instance list links to BASE_URL + /admin/airflow/log (https://github.com/apache/incubator-airflow/blob/d8c0f59d5d627efb65b47264d5169e3626195839/airflow/models.py#L936) while it should link to only /admin/airflow/log.
> The current behavior causes the link to be incorrect if you are running Airflow locally. 
> Example:
> - Running Airflow on Vagrant on my local machine
> - URL is http://127.0.0.1:8080
> - Browse to task instance list at http://127.0.0.1:8080/admin/taskinstance/
> - Click the Log URL book glyphicon
> - The link takes you to http://mybaseurl.com/admin/airflow/log/
> - I expect the link to go to http://127.0.0.1:8080/admin/airflow/log/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)