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 2021/07/01 14:22:28 UTC

[GitHub] [airflow] christophreimer commented on issue #16752: DockerOperator fails with HTTPError: 400 Client Error

christophreimer commented on issue #16752:
URL: https://github.com/apache/airflow/issues/16752#issuecomment-872290162


   Thx @potiuk, resolved the issue with the /tmp folder permissions. In the systemd service the option PrivateTmp=True was set which was the root cause of it. But still the docker operator doesn't execute successfully.
   
   ````bash
   2021-07-01 14:12:41,220] {taskinstance.py:1481} ERROR - Task failed with exception
   Traceback (most recent call last):
     File "/opt/airflow/lib/python3.8/site-packages/docker/api/client.py", line 268, in _raise_for_status
       response.raise_for_status()
     File "/opt/airflow/lib/python3.8/site-packages/requests/models.py", line 943, in raise_for_status
       raise HTTPError(http_error_msg, response=self)
   requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localhost/v1.41/images/create?tag=lastest&fromImage=registry.eodc.eu%2Fjrc-gfm%2Feodc%2Fdata-interfaces
   ````
   
   I guess the operator tries to pull the image and the corresponding connection details are missing.
   However, the image is already on the host, so a docker pull shouldn't be executed per default.


-- 
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