question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dashboard information not displayed in 12.1.1 luminous

See original GitHub issue

Hi, I am currently using the docker you are providing here with a proof of concept cluster running luminous.

 ~]$ ceph tell mon.* version
mon.ceph1: ceph version 12.1.1 (f3e663a190bf2ed12c7e3cda288b9a159572c800) luminous (rc)
mon.ceph2: ceph version 12.1.1 (f3e663a190bf2ed12c7e3cda288b9a159572c800) luminous (rc)
mon.ceph3: ceph version 12.1.1 (f3e663a190bf2ed12c7e3cda288b9a159572c800) luminous (rc)

The first problem encountered is with the infamous line 317 :
timechekMons = data['health']['timechecks']['mons'];

As of 12.1.1, running ceph status --format=json returns : ,"health":{"checks":{"PG_NOT_SCRUBBED":{"severity":"HEALTH_WARN","message":"6 pgs not scrubbed for 86400"}}

The variable name seems to have changed.

So changing the JS to timechekMons = data['health']['checks']['mons']; solves that problem.

Onto the next problem : line 229

    // CREATE A ALERT MESSAGE {{{
    function message(severity, msg) {
        if (severity == 'success') { icon = 'ok' }
        if (severity == 'warning') { icon = 'flash' }
        if (severity == 'danger') { icon = 'remove' }
        return '<div class="alert alert-' + severity + '"><strong><span class="glyphicon glyphicon-' + icon + '">&nbsp;</span>' + msg + '</strong></div>';
    }
    // }}}

At this point, severity is undefined, I do not understant why since I see : {"severity":"HEALTH_WARN" in the json, which is a case you handle at line 246.

To bypass the problem, i set an else {icon = 'ok'} in the message function.

Then the next error arising is : TypeError: a is undefined at jquery-2.1.4.min.js:2:2724

Starting there, it is beyond my capabilities to keep going since I have basically no knowledge in web development.

Did I miss something about which versions of Ceph to use? What would you recommand?

Thanks a bunch!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:27 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
Crapworkscommented, Sep 8, 2017

Hi all,

I’ve just pushed a new branch called luminous, which as it is right now ONLY works for the luminous release. Can you guys please try if this is working for you? If yes I will try to merge it so it works for all versions.

Cheers, Christian

0reactions
Crapworkscommented, Nov 7, 2017

@ENACaseyBoone thank you for taking the time to test this! I am going to merge it then and create a new release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Luminous - Ceph Documentation
Luminous . Luminous is the 12th stable release of Ceph. It is named after the luminous squid (watasenia scintillans, aka firefly squid).
Read more >
Ceph.io — v12.1.1 Luminous RC released
General: Ceph now has a simple, built-in web-based dashboard for monitoring cluster status. RADOS: BlueStore: The new BlueStore backend for ceph ...
Read more >
v12.2.12 Luminous — Ceph Documentation - Red Hat People
RBD mirroring's rbd-mirror daemon should utilize unique Ceph user IDs per instance to support the new mirroring dashboard. The default 'rbd' pool is...
Read more >
Why Won't my Dash Lights Dim at Night? - YouTube
Toyota Troubleshooting ( Dash Display ): Why Won't my Dash Lights Dim at Night? Watch later. Share. Copy link. Info. Shopping. Tap to...
Read more >
ABB i-bus® KNX IoT Dashboard Server DBS/S 1.1.1.1
12.1.1. License text ABB i-bus® KNX IoT Dashboard Tool . ... Each use not listed in Chapter 2.1 “Intended use“ on page 9...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found