Commit Graph

37 Commits

Author SHA1 Message Date
Thomas Lamprecht
ca0267fdca ui: ceph status/running chart: disable trackRemoved
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-07-22 10:30:51 +02:00
Thomas Lamprecht
e767e1ec9c ui: ceph status: note that its recovery/rebalance#
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-07-21 19:49:52 +02:00
Dominik Csapak
6228111597 ui: add ceph recovery graph and progressbar
shows a runningChart (like for reads) for the recovery speed
also shows a progressbar of the health percentage of the cluster
with an estimate of how long the recovery might need
(unhealthy objects) / (objects per second)

only show them when a recovery is ongoing or there are unhealthy
objects

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-07-21 16:30:43 +02:00
Thomas Lamprecht
df503ff92c ui: ceph/status: cleanup legacy version handling
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-03 19:12:45 +02:00
Thomas Lamprecht
23f14fd929 ui: cleanups and some s/var/let/ transformations
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-04-02 14:15:16 +02:00
Thomas Lamprecht
0beb2578ff ui: ceph: use displayfield with tooltip for overview version
And drop the git shorthash for now, albeit we could add it to the
tooltip..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-04-01 18:39:08 +02:00
Dominik Csapak
949a660920 gui: ceph: add highest cluster version in summary
so that the admin knows what the 'expected' ceph version is
partially fixes #2468

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-04-01 17:15:41 +02:00
Thomas Lamprecht
ec5052600f js: fix some common typos found with codespell
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-15 10:44:43 +02:00
Tim Marx
d219366458 gui: ceph: fix double slash
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-06-11 14:53:40 +02:00
Dominik Csapak
44dde2cb22 gui: ceph: dashboard
this fixes the dashboard when one views it on a node

alternatively, we can add a node specific metadata api call

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-06-05 12:41:11 +02:00
Dominik Csapak
27b9127534 gui: ceph: tweak heights
so that it uses the space better in 1-column and 2-column mode

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-05-27 16:17:29 +02:00
Dominik Csapak
4ad4262d74 gui: ceph: add Services panel
to show the mon/mgr/mds services

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-05-27 16:17:29 +02:00
Dominik Csapak
7f58689dd2 gui: ceph: add metadata api call to dashboard
and use it for displaying outdated osds

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-05-27 16:17:29 +02:00
Dominik Csapak
2365c5c18f gui: ceph: make status panel node independant
and use the cluster wide api call if no nodename is given

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-05-27 16:17:29 +02:00
Dominik Csapak
0bf3c58193 gui: ceph: prepare statusdetail for metadata
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-05-27 16:17:29 +02:00
Tim Marx
4616a55b37 added basic ability to install ceph via gui
Signed-off-by: Tim Marx <t.marx@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-08 12:33:31 +01:00
Dominik Csapak
9f7cbaf393 let ceph dashboard use the full browser width
instead of hardcoding the width of the panels,
use a columnlayout and use one column for screens < 1900 width
and two columns for screens >= 1900 width

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-02-23 11:01:28 +01:00
Thomas Lamprecht
5683fb60d1 use GaugeWidget from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
2018-01-25 13:36:38 +01:00
Thomas Lamprecht
56a353b9e7 use RestProxy from widget toolkit
Split PVE specific models, which where not moved to the general
widget toolkit, in a separate folder: data/models/

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
2018-01-25 13:36:38 +01:00
Dominik Csapak
e7ade592e3 use Proxmox.Utils instead of PVE.Utils
some function are now in Proxmox.Utils instead, so we have to use that

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-01-25 13:36:38 +01:00
Dominik Csapak
0c7c0d6bcf use UpdateStore from widget toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-01-25 13:36:37 +01:00
Dominik Csapak
b01e7f7a20 ceph dashboard: better format the warning detail window
this adds the summary as first line,
and the long warning message as monospaced text (like on the console)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-08-25 13:46:42 +02:00
Dominik Csapak
37f01f69da ceph dashboard: add missing summary/message access level
in luminous, the output of the status/health has changed (again),
so we have to access the correct properties

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-08-25 13:27:09 +02:00
Dominik Csapak
bf6e58d2d1 make the ceph warning window modal
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-08-10 09:38:29 +02:00
Dominik Csapak
e932cd5f70 adapt the health message list to luminous
they restructured the json structure, so we have to adapt to it.
additionally, we now have a 'detail' property for the messages
which we show on a click of the 'info' button in the new actioncolumn

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-24 16:10:24 +02:00
Dominik Csapak
4a0bb01712 adapt ceph status detail to luminous and make it more robust
they restructured the json interface
(e.g. they removed the timechecks from ceph status)

so we have to generate those differently

also make the whole thing more robust to changes,
as in do not bail out if one thing is missing, but check the needed
data only when we need it and omit that part

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-24 16:10:24 +02:00
Dominik Csapak
dfe6d184ff adapt render_ceph_health for luminous
it is using 'status' instead of 'overall_health' now

also only give the health object now

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-24 16:10:24 +02:00
Emmanuel Kasper
8f8ec25d24 Remove technical terms from content to be translated 2017-01-23 11:51:05 +01:00
Emmanuel Kasper
2ce6111f53 Do not try to translate domain specific terms
No one is translating DHCP in his/her own language.
2017-01-18 10:20:27 +01:00
Dominik Csapak
6783a3301c fix typo in ceph jewel iops parsing
this prevented the write iops performance charts to get any meaningful
data

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:08:28 +01:00
Dominik Csapak
946730cdc6 add new ceph dashboard
this patch changes the ceph dashboard

now we show the information in a more graphical way, namely:

the overall status is displayed by a big icon (+health)
the warnings/errors are in a list (with severity)

we show more detailed information about monitors, osds, and pgs

we show the usage of the cluster as a gauge graph, and
the reads, writes and iops as running charts (the last 5 minutes)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-22 16:38:11 +01:00
Dominik Csapak
ba93a9c665 move onlineHelp into classes from definition
this patch moves the onlineHelp ids into the javascript classes, instead
of defining them where we use the classes

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-02 17:13:12 +01:00
Dominik Csapak
4661648a14 drop all hide calls
since we do not use tabpanels anymore,
the hide calls and listeners do nothing,
so we can drop them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-08-24 12:46:47 +02:00
Dominik Csapak
50c3086016 ext6migrate: change ceph event handlers
change event handlers from show to activate
to allow refresh

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-16 16:28:30 +01:00
Dominik Csapak
c474314e5a ext6migrate: fix whitespaces and intendation
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-04 10:34:05 +01:00
Dominik Csapak
5e0fd1b9d0 ext6migrate: fix most ceph subtabs
this fixed the ceph subtabs: Status,Config,Crush,Disks,Monitor
with the usual fixes:
 * moving static configuration to class definition
 * change deprecated fields
 * make xtypes consistent
 * change "show" event to "activated"

 special note: i moved the subtabs to the left (like the firewall),
 because the alternatives are really bad (top looks not good, bottom
 is not obvious)

 i also changed the width of some headers in gridpanels when the
 title was too long

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-04 10:32:44 +01:00
Dietmar Maurer
bd39c94565 copy ceph/Status.js from manager to manager6 2016-03-04 06:14:50 +01:00