New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] ZeroDivisionError on MFSCGI #412
Comments
Thank you for the report, we'll fix it :) |
acid-maker
added a commit
that referenced
this issue
Jan 19, 2021
I'm closing #459 as a duplicate, but it seems the problem persists with the latest HEAD Culprit in https://github.com/moosefs/moosefs/blame/master/mfsscripts/mfscli.py.in#L6102 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Have you read through available documentation, open Github issues and Github Q&A Discussions?
Yes
System information
Running Ubuntu 20.04
Your moosefs version and its origin (moosefs.com, packaged by distro, built from source, ...).
CGI version: 3.0.115 ; python: 3.8
MASTER - 3.0.115
From Ubuntu ppa repository.
Operating system (distribution) and kernel version.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
Linux eden 5.4.0-58-generic #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Hardware / network configuration, and underlying filesystems on master, chunkservers, and clients.
How much data is tracked by moosefs master (order of magnitude)?
Describe the problem you observed.
When using MFSCGI when there are some chunkservers everything is fine.
When I turn off all chunkservers Resources tab in MFSCGI gives following error:
Traceback (most recent call last):
File "/usr/share/mfscgi/mfs.cgi", line 6050, in
msperc = (1.0 * mscount) / scount
ZeroDivisionError: float division by zero
Can you reproduce it? If so, describe how. If not, describe troubleshooting steps you took before opening the issue.
Include any warning/errors/backtraces from the system logs.
The text was updated successfully, but these errors were encountered: