Description of problem: After upgrading to kernel 5.5.4, Glances no longer shows disk i/o. This is a result of kernel 5.5 adding 2 additional columns to /proc/diskstats. The python module psutil 5.6.7 raises on error when trying to read these values Version-Release number of selected component (if applicable): python-psutil-5.6.7-1.mga7 How reproducible: verified on 5 different machines (desktop and server kernels, AMD and Intel) Steps to Reproduce: 1. start 'python3' 2. run 'import psutil' 3. run 'psutil.disk_io_counters(perdisk=True)' result: Python 3.7.6 (default, Jan 21 2020, 20:43:18) [GCC 8.3.1 20190524] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import psutil >>> psutil.disk_io_counters(perdisk=True) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python3.7/site-packages/psutil/__init__.py", line 2168, in disk_io_counters rawdict = _psplatform.disk_io_counters(**kwargs) File "/usr/lib64/python3.7/site-packages/psutil/_pslinux.py", line 1125, in disk_io_counters for entry in gen: File "/usr/lib64/python3.7/site-packages/psutil/_pslinux.py", line 1098, in read_procfs raise ValueError("not sure how to interpret line %r" % line) ValueError: not sure how to interpret line ' 1 0 ram0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0\n' >>> psutil.__version__ '5.6.7' ****** Python psutil 5.7 fixes this: https://github.com/giampaolo/psutil/issues/1687 Glances uses this python module and now does not show disk i/o stats. Disk i/o stats were shown prior to kernel upgrade
CC: (none) => doktor5000
@Brian: Thank you for pointing all this out. python3-psutil is required by quite a lot of packages, which might be effected: certbot glances isodumper mate-tweak menulibre nagstamon odoo11 pagure python3-neovim-remote python3-polkit-efl-agent python3-psutil python3-tracer python3-xapp rapid-photo-downloader spyder steamcontroller python2-psutil similarly: ajenti calibre compatibleone-testsuite fedmsg noethys odoo openerp-server python-polkit-efl-agent python2-psutil python2-xapp terminator Because of this, I was tempted to raise the Priority; but did not, since the change is only about disc I/O which is probably not used everywhere. This SRPM has varied committers, so assigning the bug globally; CC'ing NicolasL as the registered maintainer.
Priority: Normal => HighAssignee: bugsquad => pkg-bugsCC: (none) => mageia
After some further testing, Python psutil 5.7 disk I/O but breaks cpu temps by repeating each core's temperature list twice. While double listing info is not good its better than no list. So, still probably need to hold up off on an update.
Hi, This is High priority bug for a good reason. Making Mageia even better than ever is best direction. In order to do right thing, this bug should be examined and fixed as soon as possible. Packagers, please make the status to Assigned when you are working on this. Feel free to reassign the bug if bad-triaged. Also, if bug is old, please close it. On October 1st 2020, we will drop priority to normal.
We have 5.7.2 in Cauldron now, thanks to David Geiger. Maybe we can update Mageia 7 to this version too.
CC: (none) => geiger.david68210
Mageia 7 is EOL since July 1st 2021. There will not have any further bugfix for this release. You are encouraged to upgrade to Mageia 8 as soon as possible. @reporter, if this bug still apply with Mageia 8, please let us know it. @packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead. This bug report will be closed OLD if there is no further notice within 1st September 2021.
Hi bug reporter and hi assignee and others involved, Please reopen this bug report if it is still valid for Mageia 8 or 9(cauldron), and change "Version:" in the upper left of this report accordingly. This report is being closed as OLD because it was filed against Mageia 7, for which support ended on June 30th 2021. Thanks, Marja
Resolution: (none) => OLDStatus: NEW => RESOLVED