Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CoreDNS keeps crashing #1615

Closed
iamBiB opened this issue Mar 30, 2020 · 12 comments
Closed

CoreDNS keeps crashing #1615

iamBiB opened this issue Mar 30, 2020 · 12 comments

Comments

@iamBiB
Copy link

iamBiB commented Mar 30, 2020

Home Assistant release with the issue:
arch: aarch64
channel: stable
hassos: "3.12"
homeassistant: 0.107.7
hostname: homeassistant
logging: info
machine: raspberrypi3-64
supervisor: "213"
supported_arch:

  • aarch64
  • armv7
  • armhf

Supervisor logs:
20-03-30 06:36:16 INFO (SyncWorker_16) [supervisor.docker.dns] Start DNS homeassistant/aarch64-hassio-dns with version 1 - 172.30.32.3
20-03-30 06:36:16 WARNING (MainThread) [supervisor.tasks] Watchdog found a problem with CoreDNS plugin!
20-03-30 06:36:16 ERROR (MainThread) [supervisor.tasks] CoreDNS plugin is in fails state / Reset config
20-03-30 06:36:16 INFO (MainThread) [supervisor.dns] Start CoreDNS plugin
20-03-30 06:36:16 INFO (SyncWorker_5) [supervisor.docker.interface] Clean hassio_dns application
20-03-30 06:36:30 INFO (SyncWorker_5) [supervisor.docker.dns] Start DNS homeassistant/aarch64-hassio-dns with version 1 - 172.30.32.3

/ $ ha dns logs --log-level Verb
/config/corefile:16 - Error during parsing: Unknown directive 'fallback'

Description of problem:
After HASSio supervisor got updated yesterday, COREdns keeps crashing
ha dns logs show nothing

@memphisdj
Copy link

I do have the same problem on amd64 arch:

20-03-30 07:35:35 WARNING (MainThread) [supervisor.tasks] Watchdog found a problem with CoreDNS plugin!
20-03-30 07:35:35 ERROR (MainThread) [supervisor.tasks] CoreDNS plugin is in fails state / Reset config
20-03-30 07:35:35 INFO (MainThread) [supervisor.dns] Start CoreDNS plugin
20-03-30 07:35:35 INFO (SyncWorker_6) [supervisor.docker.interface] Clean hassio_dns application
20-03-30 07:35:39 INFO (SyncWorker_6) [supervisor.docker.dns] Start DNS homeassistant/amd64-hassio-dns with version 1 - 172.30.32.3

Also i do experience issues with the maridb addon, which i believe is because of this.
The error there is : "Unknown MySQL server host 'core-mariadb' (-3)")

@pvizeli
Copy link
Member

pvizeli commented Mar 30, 2020

use: ha dns update --version 3

@memphisdj
Copy link

Thats what i got:
image

@pvizeli
Copy link
Member

pvizeli commented Mar 30, 2020

sounds like the host was not able to sync the time ntp? Or just docker hub have again an issue which is pretty oft happening at last. We need rethinking to use the docker hub soon as possible.

@memphisdj
Copy link

Its not NPT issue, i just checked and the time is correct.

@pvizeli
Copy link
Member

pvizeli commented Mar 30, 2020

Yeah, I think the issue is still happening on the docker server in your region (https://hub.docker.com/). We need still to wait until they fix the issue there. But they show also no error over https://status.docker.com/ which is weird because you log said there is a timeout between you and the docker system.

@iamBiB
Copy link
Author

iamBiB commented Mar 30, 2020

So this is a bit weird:
this is what i have in developer tools
image

and this is what i have in logs

image

Also the log file changed to
Can't create container from hassio_dns: 404 Client Error: Not Found ("No such image: homeassistant/aarch64-hassio-dns:3")
from
20-03-30 06:36:16 ERROR (MainThread) [supervisor.tasks] CoreDNS plugin is in fails state / Reset config

The time seems to be 3 hours behind on logs

@iamBiB
Copy link
Author

iamBiB commented Mar 30, 2020

logs in home-assistant.log are ok
image
date on the system is ok
image

only those logs look weird

@pvizeli
Copy link
Member

pvizeli commented Mar 30, 2020

@ibBogdan

ha dns update --version 2
ha dns update --version 3

What said the supervisor logs after that?

@memphisdj
Copy link

I finally managed to update it, first to V2 then to V3. Seems to be stable for now, will keep you posted.

@iamBiB
Copy link
Author

iamBiB commented Mar 30, 2020

seems to be working now. will keep you posted :D
thanks you

@pvizeli pvizeli closed this as completed Mar 30, 2020
@dmvieira
Copy link

I need this one to work:

ha dns reset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants