Activity log for bug #1752308

Date Who What changed Old value New value Message
2018-02-28 12:49:15 Dr. Jens Harbott bug added bug
2018-03-19 12:16:37 James Page ceph (Ubuntu): status New Fix Committed
2018-03-19 12:16:40 James Page ceph (Ubuntu): importance Undecided High
2018-03-19 12:16:42 James Page ceph (Ubuntu): milestone ubuntu-18.03
2018-03-22 09:25:13 Launchpad Janitor ceph (Ubuntu): status Fix Committed Fix Released
2018-03-27 17:24:41 James Page description Trying to enable the dashboard module in ceph-mrg according to this guide https://blog.widodh.nl/2017/06/using-the-new-dashboard-in-ceph-mgr/ I'm seeing an error in the ceph-mgr log during startup: 2018-02-28 11:27:54.507314 7fb635382680 0 ceph version 12.2.2 (cf0baeeeeba3b47f9427c6c97e2144b094b7e5ba) luminous (stable), process (unknown), pid 27970 2018-02-28 11:27:54.508791 7fb635382680 0 pidfile_write: ignore empty --pid-file 2018-02-28 11:27:54.514032 7fb635382680 1 mgr send_beacon standby 2018-02-28 11:27:54.526143 7fb62c6b4700 1 mgr init Loading python module 'dashboard' 2018-02-28 11:27:54.577279 7fb62c6b4700 -1 mgr load Module not found: 'dashboard' 2018-02-28 11:27:54.577289 7fb62c6b4700 -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 Expected result (seen after installing python-jinja2 pkg): 2018-02-28 11:38:24.950585 7f8302522680 0 ceph version 12.2.2 (cf0baeeeeba3b47f9427c6c97e2144b094b7e5ba) luminous (stable), process (unknown), pid 31137 2018-02-28 11:38:24.952035 7f8302522680 0 pidfile_write: ignore empty --pid-file 2018-02-28 11:38:24.956888 7f8302522680 1 mgr send_beacon standby 2018-02-28 11:38:24.969668 7f82f9854700 1 mgr init Loading python module 'dashboard' 2018-02-28 11:38:25.066943 7f82f9854700 1 mgr init Loading python module 'restful' 2018-02-28 11:38:25.167533 7f82f9854700 1 mgr init Loading python module 'status' 2018-02-28 11:38:25.185504 7f82f9854700 1 mgr load Constructed class from module: dashboard So that package should be added as dependency to ceph-mgr. [Impact] ceph-mgr dashboard is not functional [Test Case] Deploy ceph cluster using Juju charms juju ssh ceph-mon/0 "sudo ceph mgr module enable dashboard" ceph-mgr daemon will log the error in "/var/log/ceph/ceph-mgr.hostname.log" from the original bug report and dashboard will not function. [Regression Potential] Minimal - addition of required dep for mgr dashboard module [Original Bug Report] Trying to enable the dashboard module in ceph-mrg according to this guide https://blog.widodh.nl/2017/06/using-the-new-dashboard-in-ceph-mgr/ I'm seeing an error in the ceph-mgr log during startup: 2018-02-28 11:27:54.507314 7fb635382680 0 ceph version 12.2.2 (cf0baeeeeba3b47f9427c6c97e2144b094b7e5ba) luminous (stable), process (unknown), pid 27970 2018-02-28 11:27:54.508791 7fb635382680 0 pidfile_write: ignore empty --pid-file 2018-02-28 11:27:54.514032 7fb635382680 1 mgr send_beacon standby 2018-02-28 11:27:54.526143 7fb62c6b4700 1 mgr init Loading python module 'dashboard' 2018-02-28 11:27:54.577279 7fb62c6b4700 -1 mgr load Module not found: 'dashboard' 2018-02-28 11:27:54.577289 7fb62c6b4700 -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 Expected result (seen after installing python-jinja2 pkg): 2018-02-28 11:38:24.950585 7f8302522680 0 ceph version 12.2.2 (cf0baeeeeba3b47f9427c6c97e2144b094b7e5ba) luminous (stable), process (unknown), pid 31137 2018-02-28 11:38:24.952035 7f8302522680 0 pidfile_write: ignore empty --pid-file 2018-02-28 11:38:24.956888 7f8302522680 1 mgr send_beacon standby 2018-02-28 11:38:24.969668 7f82f9854700 1 mgr init Loading python module 'dashboard' 2018-02-28 11:38:25.066943 7f82f9854700 1 mgr init Loading python module 'restful' 2018-02-28 11:38:25.167533 7f82f9854700 1 mgr init Loading python module 'status' 2018-02-28 11:38:25.185504 7f82f9854700 1 mgr load Constructed class from module: dashboard So that package should be added as dependency to ceph-mgr.
2018-03-27 17:24:49 James Page bug added subscriber Ubuntu Stable Release Updates Team
2018-03-28 07:05:40 James Page nominated for series Ubuntu Artful
2018-03-28 07:05:40 James Page bug task added ceph (Ubuntu Artful)
2018-03-28 07:05:45 James Page ceph (Ubuntu Artful): status New Triaged
2018-03-28 07:05:47 James Page ceph (Ubuntu Artful): importance Undecided High
2018-03-29 18:20:58 Brian Murray ceph (Ubuntu Artful): status Triaged Fix Committed
2018-03-29 18:21:01 Brian Murray bug added subscriber SRU Verification
2018-03-29 18:21:03 Brian Murray tags verification-needed verification-needed-artful