You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Cedrik Neumann (JIRA)" <ji...@apache.org> on 2017/11/09 21:13:00 UTC
[jira] [Updated] (AIRFLOW-1793) DockerOperator doesn't work with
docker_conn_id
[ https://issues.apache.org/jira/browse/AIRFLOW-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cedrik Neumann updated AIRFLOW-1793:
------------------------------------
Affects Version/s: (was: 1.9.0)
> 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
>
> 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
(v6.4.14#64029)