Commit Graph

10 Commits

Author SHA1 Message Date
Thomas Lamprecht
fde3e23dcd ui: ceph/ServiceList: do not autoLoad the rstore
The 'autoStart' triggers a initial load already

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-04-02 12:48:15 +02:00
Dominik Csapak
30f63e7df1 ui: ceph/ServiceList: do not autoLoad the updatestore
they load once anyway with 'autoStart'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-04-02 11:10:51 +02:00
Dominik Csapak
facf9404c5 ui: ceph/ServiceList: stop leaky versionsstores
on the view destroy we have to stop the updatestore again,
they do not get cleaned up by a destroy because until they are stopped
the have a reference on themselves, which prevent a garbage collection

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-04-02 11:10:48 +02:00
Dominik Csapak
732c147cf9 ui: ceph/ServiceList: correctly set 'mixedversions'
We need to set mixedversions also if
data.version.parts < view.maxversion
so lets do that.

This avoids a bug when the first version in the list already is the
highest one.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-04-02 09:00:03 +02:00
Dominik Csapak
277d6d15e1 gui: ceph: icons for versions in ServiceList
this makes it closer to the OSD list, using the new 'version-only'
metadata api call

this partially fixes #2468

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-04-01 17:15:41 +02:00
Thomas Lamprecht
ee099a5fdc ui: ceph/service list: re-do column widths with flex
this way we see thew full status of a MDS, and for our minimal
resolution of 720p and targeted resolution of 1080p it works good.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-07-11 14:47:10 +02:00
Dominik Csapak
94b79c8e73 gui: ceph: fix syslog resize
makes the logview inside resize with the window

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-07-02 13:29:22 +02:00
Thomas Lamprecht
e148c752eb gui: cep service list: generalize emptyText
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-05 14:56:55 +02:00
Thomas Lamprecht
7ce1e64ccf gui: ceph services: adapt create to ID in API path
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-05 12:41:11 +02:00
Dominik Csapak
a6c60aed86 gui: ceph: add ServiceList component and use it
this is an abstraction for listing Ceph Services with a few improvements:
* start/stop/restart buttons for all services (incl. icons)
* a syslog button to view the syslog of that service
* correct reloading behaviour when creating/destroying

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-06-05 12:41:11 +02:00