Docker-airflow: Problem connecting to WEB UI after docker upgrade

Created on 22 Jan 2020  Â·  2Comments  Â·  Source: puckel/docker-airflow

Hi,

Upgraded docker on Windows 10 today and now having issues with running container. The logs show the following error:

Running the Gunicorn Server with:
Workers: 4 sync
Host: 0.0.0.0:8080
Timeout: 120

Logfiles: - -

[2020-01-22 01:37:24 +0000] [20] [INFO] Starting gunicorn 19.9.0
Traceback (most recent call last):
File "/usr/local/bin/gunicorn", line 8, in
sys.exit(run())
File "/usr/local/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 61, in run
WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
File "/usr/local/lib/python3.7/site-packages/gunicorn/app/base.py", line 223, in run
super(Application, self).run()
File "/usr/local/lib/python3.7/site-packages/gunicorn/app/base.py", line 72, in run
Arbiter(self).run()
File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 199, in run
self.start()
File "/usr/local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 139, in start
self.pidfile.create(self.pid)
File "/usr/local/lib/python3.7/site-packages/gunicorn/pidfile.py", line 39, in create
os.rename(fname, self.fname)
OSError: [Errno 16] Device or resource busy: '/usr/local/airflow/tmp8m376uuo' -> '/usr/local/airflow/airflow-webserver.pid'
[2020-01-22 01:37:37,182] {scheduler_job.py:927} INFO - 1 tasks up for execution:

Did I miss something?

Thanks

Most helpful comment

I have the same problem, I also upgraded Docker recently. Please, is there any fix? I tried re-installing Docker but that didn't solve the issue.

EDIT / UPDATE:
I found a workaround.
I fixed it by un-installing Docker Desktop and installing a previous version (2.1.0.5 from https://docs.docker.com/docker-for-windows/release-notes/).
Of course I had to re build the images, but it finally worked in the end! Hope this helps you!

All 2 comments

I have the same problem, I also upgraded Docker recently. Please, is there any fix? I tried re-installing Docker but that didn't solve the issue.

EDIT / UPDATE:
I found a workaround.
I fixed it by un-installing Docker Desktop and installing a previous version (2.1.0.5 from https://docs.docker.com/docker-for-windows/release-notes/).
Of course I had to re build the images, but it finally worked in the end! Hope this helps you!

The problem was fixed as follows:

  1. Reinstalled Docker
  2. Started container without any dags and only added them once airflow was running

From: UJIN88 notifications@github.com
Sent: Wednesday, 29 January 2020 10:15 PM
To: puckel/docker-airflow docker-airflow@noreply.github.com
Cc: Vadim Zlatsin Vadim.Zlatsin@coles.com.au; Author author@noreply.github.com
Subject: Re: [puckel/docker-airflow] Problem connecting to WEB UI after docker upgrade (#491)

I have the same problem, I also upgraded Docker recently. Please, is there any fix? I tried re-installing Docker but that didn't solve the issue.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/puckel/docker-airflow/issues/491?email_source=notifications&email_token=ADIW5FLOE26TI3HB6RFWQWDRAFQKDA5CNFSM4KJ6MGC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKG2PIQ#issuecomment-579708834, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADIW5FMT6MIPXSF3YZXBFNDRAFQKDANCNFSM4KJ6MGCQ.


This email and any attachments may contain privileged and confidential
information and are intended for the named addressee only. If you have
received this e-mail in error, please notify the sender and delete
this e-mail immediately. Any confidentiality, privilege or copyright
is not waived or lost because this e-mail has been sent to you in
error. It is your responsibility to check this e-mail and any
attachments for viruses. No warranty is made that this material is
free from computer virus or any other defect or error. Any
loss/damage incurred by using this material is not the sender's
responsibility. The sender's entire liability will be limited to
resupplying the material.


Was this page helpful?
0 / 5 - 0 ratings