Project

General

Profile

Backport #22634

luminous: ceph-mgr dashboard has dependency on python-jinja2

Added by Nathan Cutler over 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Release:
luminous
Crash signature:


Related issues

Copied from mgr - Bug #22457: ceph-mgr dashboard has dependency on python-jinja2 Resolved 12/15/2017

History

#1 Updated by Nathan Cutler over 2 years ago

  • Copied from Bug #22457: ceph-mgr dashboard has dependency on python-jinja2 added

#2 Updated by Nathan Cutler over 2 years ago

  • Description updated (diff)
  • Status changed from New to In Progress
  • Assignee set to Nathan Cutler

#3 Updated by Yuri Weinstein over 2 years ago

Nathan Cutler wrote:

https://github.com/ceph/ceph/pull/19865

merged

#4 Updated by Nathan Cutler over 2 years ago

  • Status changed from In Progress to Resolved
  • Target version set to v12.2.3

#5 Updated by Nathan Cutler over 2 years ago

  • Description updated (diff)

#6 Updated by Michael Fayez about 2 years ago

Still the issue exist with a fresh installation ceph version 12.2.2 (cf0baeeeeba3b47f9427c6c97e2144b094b7e5ba) luminous (stable)

2018-05-31 09:14:42.141674 7f89c3a45700  1 mgr respawn respawning with exe /usr/bin/ceph-mgr
2018-05-31 09:14:42.141675 7f89c3a45700  1 mgr respawn  exe_path /proc/self/exe
2018-05-31 09:14:42.169551 7fa0fced4680  0 ceph version 12.2.2 (cf0baeeeeba3b47f9427c6c97e2144b094b7e5ba) luminous (stable), process (unknown), pid 60836
2018-05-31 09:14:42.169924 7fa0fced4680  0 pidfile_write: ignore empty --pid-file
2018-05-31 09:14:42.177108 7fa0fced4680  1 mgr send_beacon standby
2018-05-31 09:14:42.192213 7fa0f4a46700  1 mgr init Loading python module 'balancer'
2018-05-31 09:14:42.225598 7fa0f4a46700  1 mgr init Loading python module 'dashboard'
2018-05-31 09:14:42.312073 7fa0f4a46700 -1 mgr load Module not found: 'dashboard'
2018-05-31 09:14:42.312092 7fa0f4a46700 -1 mgr load Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/ceph/mgr/dashboard/__init__.py", line 2, in <module>
    from module import *  # NOQA
  File "/usr/lib/x86_64-linux-gnu/ceph/mgr/dashboard/module.py", line 28, in <module>
    import jinja2
ImportError: No module named jinja2

2018-05-31 09:14:42.312550 7fa0f4a46700 -1 mgr init Error loading module 'dashboard': (2) No such file or directory
2018-05-31 09:14:42.312565 7fa0f4a46700  1 mgr init Loading python module 'restful'
2018-05-31 09:14:42.496584 7fa0f4a46700  1 mgr init Loading python module 'status'
2018-05-31 09:14:42.532540 7fa0f4a46700 -1 log_channel(cluster) log [ERR] : Failed to load ceph-mgr modules: dashboard

installing jinja2 by "apt install python-jinja2" solved the issue...

#7 Updated by Nathan Cutler about 2 years ago

Michael Fayez wrote:

Still the issue exist with a fresh installation ceph version 12.2.2 (cf0baeeeeba3b47f9427c6c97e2144b094b7e5ba) luminous (stable)

Hi Michael:

The fix was only included in 12.2.3, so you would need a more recent luminous than 12.2.2.

Hope this helps.

Nathan

Also available in: Atom PDF