Bug #36726
Module 'dashboard' has experienced an error and cannot handle commands: No module named ordered_dict
0%
Description
-------------------------
ISSUE
-------------------------
Following the quick install when I try to create credential I received that error message :
"Error EIO: Module 'dashboard' has experienced an error and cannot handle commands: No module named ordered_dict"
-------------------------TRY
-------------------------
Things tried :
installing blindly some python packages :
- pip install ordereddict
- python-uritools
- python-service-identity
Didn't work
-------------------------
DISTRO
-------------------------
CEPH - version 13.2.2 (02899bfda814146b021136e9d8e80eba494e1126) mimic (stable)
UBUNTU - 18.04.1 LTS - Bionic
History
#1 Updated by Sylvain St-Germain over 5 years ago
ceph dashboard set-login-credentials cephuser cephuser
#2 Updated by John Spray over 5 years ago
- Project changed from Ceph to mgr
- Category changed from ceph cli to 132
Since the dashboard module doesn't import any symbol called ordered_dict itself, this will be an issue with one of our dependencies. From searching online this appears to be an issue that can come up with python-requests when it isn't packaged properly, or if a user has manually installed some different versions (e.g. with pip) than are in the distro.
I'd suggest checking the ceph-mgr log file for the full backtrace (search for the first instance of "No module named ordered_dict" and there should be a backtrace nearby), and that will confirm which module had the problem. Once you have that information, try just starting a python shell and doing "import requests" or similar -- if this also throws an error, then it's definitely an environmental issue rather than a Ceph issue.
#3 Updated by Lenz Grimmer almost 4 years ago
- Status changed from New to Can't reproduce
Seems to have been a configuration error - please reopen, if it still persists.
#4 Updated by Ernesto Puerta almost 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 132 to General