[
https://issues.apache.org/jira/browse/AIRFLOW-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicholas Duffy updated AIRFLOW-1061:
------------------------------------
Description:
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/
was:
The Log URL in the Task Instance list links to BASE_URL + /admin/airflow/log
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/
> 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: Airflow 1.8
> Reporter: Nicholas Duffy
>
> 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
(v6.3.15#6346)