ceph-mgr dashboard has dependency on python-jinja2
I have to install python-jinja2 package on ceph-mgr host before I can enable the dashboard module with:
ceph mgr module enable dashboard
This should be done automatically, either when the ceph-mgr package is installed or when you go to enable the dashboard.
#1 Updated by Ben England about 1 year ago
here's what you get if you don't do it, from /var/log/ceph/ceph-mgr*log:
2017-12-15 17:06:50.846617 7f4b6eebf700 1 mgr init Loading python module 'dashboard'
2017-12-15 17:06:50.979623 7f4b6eebf700 -1 mgr load Module not found: 'dashboard'
2017-12-15 17:06:50.980533 7f4b6eebf700 -1 mgr load Traceback (most recent call last):
File "/usr/lib64/ceph/mgr/dashboard/__init__.py", line 2, in <module>
from module import * # NOQA
File "/usr/lib64/ceph/mgr/dashboard/module.py", line 28, in <module>
ImportError: No module named jinja2
2017-12-15 17:06:50.983691 7f4b6eebf700 -1 mgr init Error loading module 'dashboard': (2) No such file or directory
#10 Updated by Nathan Cutler 11 months ago
- Status changed from Resolved to In Progress
- Assignee set to Nathan Cutler
Reopening - there is a problem with the original master fix (it introduced the python-jinja2 as a build dependency in DEB, instead of runtime). Fixing in https://github.com/ceph/ceph/pull/17530