Bug 1499099
Summary: | [abrt] glances: connect(): glances_docker.py:98:connect:AttributeError: module 'docker' has no attribute 'Client' | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Anass Ahmed <anass.1430> | ||||||||||||||||
Component: | glances | Assignee: | Edouard Bourguignon <madko> | ||||||||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||||||
Priority: | unspecified | ||||||||||||||||||
Version: | 27 | CC: | anass.1430, athmanem, didier.fabert, germano.massullo, kparal, madko, mail, michel | ||||||||||||||||
Target Milestone: | --- | ||||||||||||||||||
Target Release: | --- | ||||||||||||||||||
Hardware: | x86_64 | ||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||
URL: | https://retrace.fedoraproject.org/faf/reports/bthash/030974fc592c6d91b898e5799473f3d42ab48118 | ||||||||||||||||||
Whiteboard: | abrt_hash:f6b05f5c21985e489d5f13d94e9d8f419af7b6bb;VARIANT_ID=workstation; | ||||||||||||||||||
Fixed In Version: | glances-2.11.1-1.fc27 | Doc Type: | If docs needed, set a value | ||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||
Last Closed: | 2017-12-12 11:17:20 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: |
|
Description
Anass Ahmed
2017-10-06 03:03:40 UTC
Created attachment 1335038 [details]
File: backtrace
Created attachment 1335039 [details]
File: cgroup
Created attachment 1335040 [details]
File: cpuinfo
Created attachment 1335041 [details]
File: environ
Created attachment 1335042 [details]
File: mountinfo
Created attachment 1335043 [details]
File: namespaces
Created attachment 1335044 [details]
File: open_fds
Similar problem has been detected: Tried to run glances command in the terminal where docker-py module is installed. reporter: libreport-2.9.2 cmdline: /usr/bin/python3 /usr/bin/glances crash_function: connect exception_type: AttributeError executable: /usr/bin/glances kernel: 4.13.8-300.fc27.x86_64 package: glances-2.7.1-3.fc27 reason: glances_docker.py:98:connect:AttributeError: module 'docker' has no attribute 'Client' runlevel: N 5 type: Python3 uid: 1000 Similar problem has been detected: Just run 'glances'. reporter: libreport-2.9.2 cmdline: /usr/bin/python3 /usr/bin/glances -b crash_function: connect exception_type: AttributeError executable: /usr/bin/glances kernel: 4.13.9-300.fc27.x86_64 package: glances-2.7.1-3.fc27 reason: glances_docker.py:98:connect:AttributeError: module 'docker' has no attribute 'Client' runlevel: N 5 type: Python3 uid: 1000 There is a workaround for this problem: use an updated version sudo dnf copr enable tartare/glances sudo dnf update glances And it's working (In reply to Didier from comment #10) > There is a workaround for this problem: use an updated version > sudo dnf copr enable tartare/glances > sudo dnf update glances > > And it's working Then the fix is to update the official repo version :) Whoa! The last fedora glances version is 2.5 and it's already 2 years old. If you visited glances releases, you'll find that last release was on Aug 27 and it's 2.11: https://github.com/nicolargo/glances/releases We need to update this package, ASAP. Sorry, the last update is 2.7 on Fedora 27 but it doesn't show up in the Bodhi list: https://bodhi.fedoraproject.org/updates/?packages=glances I made a PR on src.fedoraproject.org for new glances version to update to 2.11.1, I hope it gets merged soon and released: https://src.fedoraproject.org/rpms/glances/pull-request/1 glances-2.11.1-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-ce1b9a88bb glances-2.11.1-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-4ec108000a glances-2.11.1-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-ce1b9a88bb glances-2.11.1-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-4ec108000a glances-2.11.1-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. |