| Summary: | [DOCKER] Garbage collector fails on /var/run/docker.sock: no such file or directory | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Vladislav Walek <vwalek> |
| Component: | Containers | Assignee: | Jhon Honce <jhonce> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | DeShuai Ma <dma> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.2.0 | CC: | amurdaca, aos-bugs, dma, jokerman, mmccomas, rhowe, vwalek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-03-27 14:48:19 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Vladislav Walek
2016-11-17 15:05:41 UTC
Just adding that version of docker is: $ docker info Containers: 6 Running: 6 Paused: 0 Stopped: 0 Images: 26 Server Version: 1.10.3 Storage Driver: devicemapper Pool Name: docker--vg-docker--pool Pool Blocksize: 524.3 kB Base Device Size: 10.74 GB Backing Filesystem: xfs Data file: Metadata file: Data Space Used: 7.317 GB Data Space Total: 12.87 GB Data Space Available: 5.551 GB Metadata Space Used: 1.368 MB Metadata Space Total: 33.55 MB Metadata Space Available: 32.19 MB Udev Sync Supported: true Deferred Removal Enabled: true Deferred Deletion Enabled: true Deferred Deleted Device Count: 0 Library Version: 1.02.107-RHEL7 (2016-06-09) Execution Driver: native-0.2 Logging Driver: json-file Plugins: Volume: local Network: bridge null host Authorization: rhel-push-plugin Kernel Version: 3.10.0-327.28.2.el7.x86_64 Operating System: OpenShift Enterprise OSType: linux Architecture: x86_64 Number of Docker Hooks: 2 CPUs: 2 Total Memory: 7.632 GiB /var/run/docker.sock is removed when docker daemon is stopped. Running $(systemctl status docker) when this condition is found should verify this. Assuming the nodes are using journald logging, then $(journalctl -u docker) should produce the logs entries from the docker daemon. What's the steps to produce the issue ? Could you provide more info? Hello, the problem is with the ImageManager, he can't connect to the /var/run/docker.sock [ImageManager] Failed to monitor images: Get http://unix.sock/images/json: dial unix /var/run/docker.sock: no such file or directory ls -l /var/run/docker.sock srw-rw----. 1 root root 0 Oct 27 12:37 /var/run/docker.sock The /var/run/docker.sock exists, the docker is running correctly. Both Docker and OpenShift are running under root, so there should be no issue with the user. Also there is: ll /usr/lib/systemd/system/docker.service.d/docker-sdn-ovs.conf -rw-r--r--. 1 root root 61 Jul 14 23:31 /usr/lib/systemd/system/docker.service.d/docker-sdn-ovs.conf $ cat /usr/lib/systemd/system/docker.service.d/docker-sdn-ovs.conf [Service] EnvironmentFile=-/run/openshift-sdn/docker-network $ cat /run/openshift-sdn/docker-network # This file has been modified by openshift-sdn. DOCKER_NETWORK_OPTIONS='-b=lbr0 --mtu=1450' Is this still an issue? |