Ceph dashboard issue - no module named routes

Alexander Willer

New Member
Aug 13, 2019
2
0
1
26
Hello,

I have installed PVE 6 and tried to enable the ceph-integrated dashboard to get more detailled information about the ceph cluster state. To achieve this, I have executed the following commands:

Code:
apt install ceph-mgr-dashboard
ceph dashboard create-self-signed-cert
ceph mgr module enable dashboard
systemctl restart ceph-mgr@pve1.service
Afterwards, journalctl shows that some internal errors happen and the dasboard isn't working:

Code:
Aug 13 11:48:31 pve1 ceph-mgr[4140]: 2019-08-13 11:48:31.581 7f2195ce0700 -1 log_channel(cluster) log [ERR] : Unhandled exception from module 'dashboard' while running on mgr.pve1: No module named routes
Aug 13 11:48:31 pve1 ceph-mgr[4140]: 2019-08-13 11:48:31.581 7f2195ce0700 -1 dashboard.serve:
Aug 13 11:48:31 pve1 ceph-mgr[4140]: 2019-08-13 11:48:31.581 7f2195ce0700 -1 Traceback (most recent call last):
Aug 13 11:48:31 pve1 ceph-mgr[4140]:   File "/usr/share/ceph/mgr/dashboard/module.py", line 323, in serve
Aug 13 11:48:31 pve1 ceph-mgr[4140]:     mapper, parent_urls = generate_routes(self.url_prefix)
Aug 13 11:48:31 pve1 ceph-mgr[4140]:   File "/usr/share/ceph/mgr/dashboard/controllers/__init__.py", line 336, in generate_routes
Aug 13 11:48:31 pve1 ceph-mgr[4140]:     mapper = cherrypy.dispatch.RoutesDispatcher()
Aug 13 11:48:31 pve1 ceph-mgr[4140]:   File "/usr/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 515, in __init__
Aug 13 11:48:31 pve1 ceph-mgr[4140]:     import routes
Aug 13 11:48:31 pve1 ceph-mgr[4140]: ImportError: No module named routes
I am not sure if this is a problem with ceph in Debian 10 or a PVE-related issue. I have already checked that python-cherrypy3 is installed correctly.


The version I am running is: pve-manager/6.0-4/2a719255 (running kernel: 5.0.15-1-pve)

Best regards

Alexander Willer
 

RobFantini

Well-Known Member
May 24, 2012
1,601
26
48
Boston,Mass
I have installed PVE 6 and tried to enable the ceph-integrated dashboard to get more detailled information about the ceph cluster state. To achieve this, I have executed the following commands:
Hello Alexander,
I read about the updated ceph dashboard and that is on our list of something to try out.

When or if you get it going could you report back on how it works out?

thanks and regards, Rob F
 

Alexander Willer

New Member
Aug 13, 2019
2
0
1
26
Hello,

Thanks for the answers. I was able to sort it out by running apt install python-routes on all nodes, then restarting the managers.

Best regards

Alexander
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!