Bug 1840698 - [abrt] docker-compose: connect(): utils.py:76:is_ubuntu:AttributeError: module 'platform' has no attribute 'linux_distribution'
Summary: [abrt] docker-compose: connect(): utils.py:76:is_ubuntu:AttributeError: modul...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: docker-compose
Version: 32
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Hampton
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:60fe302ea3e32e08ec89f2063cf...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-27 13:00 UTC by Vincenzo Luongo
Modified: 2020-06-05 03:44 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-05 03:44:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (6.58 KB, text/plain)
2020-05-27 13:00 UTC, Vincenzo Luongo
no flags Details
File: cpuinfo (2.43 KB, text/plain)
2020-05-27 13:00 UTC, Vincenzo Luongo
no flags Details
File: environ (6.44 KB, text/plain)
2020-05-27 13:00 UTC, Vincenzo Luongo
no flags Details
File: mountinfo (4.21 KB, text/plain)
2020-05-27 13:00 UTC, Vincenzo Luongo
no flags Details
File: namespaces (172 bytes, text/plain)
2020-05-27 13:00 UTC, Vincenzo Luongo
no flags Details
File: open_fds (321 bytes, text/plain)
2020-05-27 13:00 UTC, Vincenzo Luongo
no flags Details

Description Vincenzo Luongo 2020-05-27 13:00:01 UTC
Description of problem:
run docket compose and out error

Version-Release number of selected component:
docker-compose-1.25.4-1.fc32

Additional info:
reporter:       libreport-2.13.1
cgroup:         0::/user.slice/user-1000.slice/user/apps.slice/apps-org.gnome.Terminal.slice/vte-spawn-a244323f-6bb0-4bff-b6bb-1c2fa614bb26.scope
cmdline:        /usr/bin/python3 /usr/bin/docker-compose up -d apache mysql phpmyadmin redis workspace
crash_function: connect
exception_type: FileNotFoundError
executable:     /usr/bin/docker-compose
interpreter:    python3-3.8.2-2.fc32.x86_64
kernel:         5.6.13-300.fc32.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
#1 [/usr/lib/python3.8/site-packages/docker/transport/unixconn.py:43] connect
#2 [/usr/lib64/python3.8/http/client.py:944] send
#3 [/usr/lib64/python3.8/http/client.py:1004] _send_output
#4 [/usr/lib64/python3.8/http/client.py:1225] endheaders
#5 [/usr/lib64/python3.8/http/client.py:1276] _send_request
#6 [/usr/lib64/python3.8/http/client.py:1230] request
#7 [/usr/lib/python3.8/site-packages/urllib3/connectionpool.py:387] _make_request
#8 [/usr/lib/python3.8/site-packages/urllib3/connectionpool.py:665] urlopen

Comment 1 Vincenzo Luongo 2020-05-27 13:00:04 UTC
Created attachment 1692690 [details]
File: backtrace

Comment 2 Vincenzo Luongo 2020-05-27 13:00:06 UTC
Created attachment 1692691 [details]
File: cpuinfo

Comment 3 Vincenzo Luongo 2020-05-27 13:00:08 UTC
Created attachment 1692692 [details]
File: environ

Comment 4 Vincenzo Luongo 2020-05-27 13:00:10 UTC
Created attachment 1692693 [details]
File: mountinfo

Comment 5 Vincenzo Luongo 2020-05-27 13:00:11 UTC
Created attachment 1692694 [details]
File: namespaces

Comment 6 Vincenzo Luongo 2020-05-27 13:00:13 UTC
Created attachment 1692695 [details]
File: open_fds

Comment 7 Michael Hampton 2020-05-28 19:49:28 UTC
I'm unable to determine what is happening here. It looks like it may be a local issue rather than a bug. Can you provide a docker-compose.yml which reproduces this problem?

Comment 8 Vincenzo Luongo 2020-05-29 17:37:48 UTC
Yes, i try install https://laradock.io/

Commands:

git clone https://github.com/Laradock/laradock.git

cp env-example .env

docker-compose up -d nginx mysql phpmyadmin redis workspace

Comment 9 Michael Hampton 2020-06-05 03:44:35 UTC
After running this very lengthy docker-compose successfully, I took a closer look at the full backtrace. It appears that either your docker daemon is not running or its socket file /run/docker.sock has been deleted. Ensure that docker is running and that it is correctly creating the socket file /run/docker.sock. If you are trying to use Docker running on a remote host, or you moved the socket to another location, set the DOCKER_HOST environment variable before running docker-compose.


Note You need to log in before you can comment on or make changes to this bug.