[ 
https://issues.apache.org/jira/browse/AIRFLOW-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fokko Driesprong resolved AIRFLOW-1793.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request #2998
[https://github.com/apache/incubator-airflow/pull/2998]

> DockerOperator doesn't work with docker_conn_id
> -----------------------------------------------
>
>                 Key: AIRFLOW-1793
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1793
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Cedrik Neumann
>            Assignee: Cedrik Neumann
>            Priority: Major
>             Fix For: 2.0.0
>
>
> The implementation of DockerOperator uses `self.base_url` when loading the 
> DockerHook instead of `self.docker_url`:
> https://github.com/apache/incubator-airflow/blob/v1-9-stable/airflow/operators/docker_operator.py#L150
> {noformat}
> [2017-11-08 16:10:13,082] {base_task_runner.py:98} INFO - Subtask:   File 
> "/src/apache-airflow/airflow/operators/docker_operator.py", line 161, in 
> execute
> [2017-11-08 16:10:13,083] {base_task_runner.py:98} INFO - Subtask:     
> self.cli = self.get_hook().get_conn()
> [2017-11-08 16:10:13,083] {base_task_runner.py:98} INFO - Subtask:   File 
> "/src/apache-airflow/airflow/operators/docker_operator.py", line 150, in 
> get_hook
> [2017-11-08 16:10:13,083] {base_task_runner.py:98} INFO - Subtask:     
> base_url=self.base_url,
> [2017-11-08 16:10:13,083] {base_task_runner.py:98} INFO - Subtask: 
> AttributeError: 'DockerOperator' object has no attribute 'base_url'
> {noformat}



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

Reply via email to