Project

General

Profile

Actions

Backport #22634

closed

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

Added by Nathan Cutler over 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Release:
luminous
Pull request ID:
Crash signature (v1):
Crash signature (v2):


Related issues 1 (0 open1 closed)

Copied from mgr - Bug #22457: ceph-mgr dashboard has dependency on python-jinja2ResolvedNathan Cutler12/15/2017

Actions
Actions #1

Updated by Nathan Cutler over 6 years ago

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

Updated by Nathan Cutler over 6 years ago

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

Updated by Yuri Weinstein about 6 years ago

Nathan Cutler wrote:

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

merged

Actions #4

Updated by Nathan Cutler about 6 years ago

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

Updated by Nathan Cutler about 6 years ago

  • Description updated (diff)
Actions #6

Updated by Michael Fayez almost 6 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...

Actions #7

Updated by Nathan Cutler almost 6 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

Actions

Also available in: Atom PDF