Bug 2192576
| Summary: | [abrt] docker-compose: connect(): client.py:221:_retrieve_server_version:docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andrei Nevedomskii <little.angry.satan> | ||||||||||||||||
| Component: | docker-compose | Assignee: | Tomas Tomecek <ttomecek> | ||||||||||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||
| Version: | 38 | CC: | dtrunk90, error, little.angry.satan, roman, sergio, ttomecek | ||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/7d52acf685ddde2226e1e45916a3973ee6d6242 | ||||||||||||||||||
| Whiteboard: | abrt_hash:b953939c0fd4c480d50a85f77b39eb9ed32a8fc6;VARIANT_ID=workstation; | ||||||||||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | 2023-05-02 12:28:29 UTC | Type: | --- | ||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||
| Embargoed: | |||||||||||||||||||
| Attachments: |
|
||||||||||||||||||
Created attachment 1961654 [details]
File: backtrace
Created attachment 1961655 [details]
File: mountinfo
Created attachment 1961656 [details]
File: namespaces
Created attachment 1961657 [details]
File: open_fds
Created attachment 1961658 [details]
File: os_info
Created attachment 1961659 [details]
File: cpuinfo
Created attachment 1961660 [details]
File: environ
This just means that the unix socket where docker-compose and docker API talk, is not present. Please make sure to run your dockerd or podman. I plugged my charger into my laptop and after that i changed the Power mode from Balanced to Performance. Then the OS started freezing until it was unresponsive.
reporter: libreport-2.17.10
type: Python3
interpreter: python3-3.11.3-2.fc38.x86_64
package: docker-compose-1.29.2-7.fc38
executable: /usr/bin/docker-compose
cmdline: /usr/bin/python3 /usr/bin/docker-compose up
comment: I plugged my charger into my laptop and after that i changed the Power mode from Balanced to Performance. Then the OS started freezing until it was unresponsive.
cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-3a1d369a-6204-45cf-9512-0e570ac38726.scope
exception_type: FileNotFoundError
uid: 1000
crash_function: connect
runlevel: N 5
reason: client.py:221:_retrieve_server_version:docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
kernel: 6.3.8-200.fc38.x86_64
I was running "docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d"
reporter: libreport-2.17.10
kernel: 6.3.8-200.fc38.x86_64
cmdline: /usr/bin/python3 /usr/bin/docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d
cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-720c4f64-22e0-4537-8eb8-bf134ebf8a07.scope
uid: 1000
reason: client.py:221:_retrieve_server_version:docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
executable: /usr/bin/docker-compose
type: Python3
package: docker-compose-1.29.2-7.fc38
runlevel: N 5
exception_type: FileNotFoundError
crash_function: connect
interpreter: python3-3.11.3-2.fc38.x86_64
comment: I was running "docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d"
(In reply to Danny from comment #10) > I was running "docker-compose -f docker-compose.yml -f > docker-compose.dev.yml up -d" > > > reporter: libreport-2.17.10 > kernel: 6.3.8-200.fc38.x86_64 > cmdline: /usr/bin/python3 /usr/bin/docker-compose -f > docker-compose.yml -f docker-compose.dev.yml up -d > cgroup: > 0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome. > Terminal.slice/vte-spawn-720c4f64-22e0-4537-8eb8-bf134ebf8a07.scope > uid: 1000 > reason: > client.py:221:_retrieve_server_version:docker.errors.DockerException: Error > while fetching server API version: ('Connection aborted.', > FileNotFoundError(2, 'No such file or directory')) > executable: /usr/bin/docker-compose > type: Python3 > package: docker-compose-1.29.2-7.fc38 > runlevel: N 5 > exception_type: FileNotFoundError > crash_function: connect > interpreter: python3-3.11.3-2.fc38.x86_64 > comment: I was running "docker-compose -f docker-compose.yml -f > docker-compose.dev.yml up -d" Turned out I just had to manually enable/start the docker systemctl service, add my user to the docker group and doing a reboot. Thought installing the package would do that for me. |
Description of problem: Was trying to run a container Version-Release number of selected component: docker-compose-1.29.2-7.fc38 Additional info: reporter: libreport-2.17.9 comment: Was trying to run a container interpreter: python3-3.11.3-1.fc38.x86_64 uid: 1000 reason: client.py:221:_retrieve_server_version:docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) crash_function: connect type: Python3 cmdline: /usr/bin/python3 /usr/bin/docker-compose --ansi never -f /home/monosoul/IdeaProjects/jooq-gradle-plugin/examples/external-database/docker-compose.yml -p 3950fd172e3e08d55e15854619f6cc07_external-database_ build executable: /usr/bin/docker-compose exception_type: FileNotFoundError package: docker-compose-1.29.2-7.fc38 kernel: 6.2.12-300.fc38.x86_64 cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-gnome-jetbrains\x2didea-18625.scope runlevel: N 5 Truncated backtrace: #1 [/usr/lib/python3.11/site-packages/docker/transport/unixconn.py:30] connect #2 [/usr/lib64/python3.11/http/client.py:976] send #3 [/usr/lib64/python3.11/http/client.py:1038] _send_output #4 [/usr/lib64/python3.11/http/client.py:1278] endheaders #5 [/usr/lib64/python3.11/http/client.py:1329] _send_request #6 [/usr/lib64/python3.11/http/client.py:1283] request #7 [/usr/lib/python3.11/site-packages/urllib3/connectionpool.py:398] _make_request #8 [/usr/lib/python3.11/site-packages/urllib3/connectionpool.py:703] urlopen Potential duplicate: bug 1944601