Project

General

Profile

Bug #36726

Module 'dashboard' has experienced an error and cannot handle commands: No module named ordered_dict

Added by Sylvain St-Germain about 4 years ago. Updated over 1 year ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
General
Target version:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
ceph-deploy
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 about 4 years ago

ceph dashboard set-login-credentials cephuser cephuser

#2 Updated by John Spray about 4 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 over 2 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 over 1 year ago

  • Project changed from mgr to Dashboard
  • Category changed from 132 to General

Also available in: Atom PDF