Public bug reported:

This event ocourred on a single-node Docker.io version
18.06.1-0ubuntu1~18.04.1, Docker version Docker version 18.06.1-ce,
build e68fc7a, Ubuntu version 18.04.1 LTS, kernel Linux <hostname>
4.15.0-42-generic #45-Ubuntu SMP Thu Nov 15 19:32:57 UTC 2018 x86_64
x86_64 x86_64 GNU/Linux.

At 2018-12-12 19:30:04, our uptime monitor detected that all sites
hosted in Docker containers, with ports exposed to the outside world,
were down. Upon investigation, netstat showed that docker did not have
any ports open, and ip addr showed that docker had no network
interfaces.

Finally, after various troubleshooting attempts, I ran "docker ps" at
the command prompt. The ps command, which normally returns instantly,
produces no output and hung. I hit ^C and re-ran the command. After a
few seconds, the command returned that all containers which should have
been running were running. Netstat and ip addr showed normal Docker
network configuration, and all containers sprung back to life with
normal functionality. I suspect this means that the docker daemon hung,
and docker ps somehow returned it to its normal state.

Unfortunately debug mode wasn't on, and I have been unable to reproduce.
I've enabled it and will update back if it recurs. I've attached the
journalctl (truncated to start at 1900 hours) and the stack tract
manually generated with a SIGUSR1 after everything went back to normal.

** Affects: docker.io (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "docker_service_journal.txt"
   
https://bugs.launchpad.net/bugs/1808266/+attachment/5221825/+files/docker_service_journal.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1808266

Title:
  Docker daemon drops all bound ports, recovers them after long docker
  ps

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1808266/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to