Bug 1425575
Summary: | [abrt] glances: glances_docker.py:255:get_docker_cpu:TypeError: object of type 'NoneType' has no len() | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Pavel Alexeev <pahan> | ||||||
Component: | glances | Assignee: | Edouard Bourguignon <madko> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 26 | CC: | athmanem, germano.massullo, madko, mail, michel, mike | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Unspecified | ||||||||
URL: | https://retrace.fedoraproject.org/faf/reports/bthash/7bf1b04bfa99804102fcf2eeb1639a017a92a9b8 | ||||||||
Whiteboard: | abrt_hash:fc8a3f8be8ae34e0be3b534eaf37eb144ca7bde6; | ||||||||
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:25 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
Pavel Alexeev
2017-02-21 18:39:28 UTC
Created attachment 1256213 [details]
File: backtrace
Created attachment 1256214 [details]
File: environ
It seems to fail a little differently now, but there's still a discrepancy with glnances_docker.py on systems with docker installed. Glances won't work: Traceback (most recent call last): File "/usr/bin/glances", line 11, in <module> load_entry_point('Glances==2.7.1', 'console_scripts', 'glances')() File "/usr/lib/python3.6/site-packages/glances/__init__.py", line 127, in main args=core.get_args()) File "/usr/lib/python3.6/site-packages/glances/standalone.py", line 68, in __init__ self.stats.update() File "/usr/lib/python3.6/site-packages/glances/stats.py", line 154, in update self._plugins[p].update() File "/usr/lib/python3.6/site-packages/glances/plugins/glances_plugin.py", line 734, in wrapper ret = fct(*args, **kw) File "/usr/lib/python3.6/site-packages/glances/plugins/glances_docker.py", line 153, in update self.docker_client = self.connect() File "/usr/lib/python3.6/site-packages/glances/plugins/glances_docker.py", line 98, in connect ret = docker.Client(base_url='unix://var/run/docker.sock') AttributeError: module 'docker' has no attribute 'Client' 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. |