Go to file
Fabian Ebner 2ee96d1c40 ui: ceph: osd: handle edge case with dead node
If there is a left-over entry for a dead node in the ceph osd tree
the panel wouldn't show and produce an
    Uncaught TypeError: data.versions is undefined
because of an access
    node.version = data.versions[node.name];
further below (not visible in the patch itself).

AFAICT, the same issue would also happen when something went wrong
with getting the broadcasted ceph-versions, or when a node is part
of Ceph, but not PVE.

Handle the situation gracefully by always initializing data.versions.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-11-16 14:11:45 +01:00
aplinfo update shipped aplinfo index 2021-11-16 11:13:18 +01:00
bin remove pvescheduler manpage generation 2021-11-11 18:35:52 +01:00
configs configs: vzdump: use prune-backups instead of the deprecated maxfiles 2021-06-08 15:22:52 +02:00
debian bump version to 7.1-3 2021-11-15 17:32:36 +01:00
network-hooks ifupdown1: bridgevlan: add bridge-vids list support 2020-01-11 17:22:46 +01:00
PVE api: apt/versions: track swtpm 2021-11-15 16:35:08 +01:00
services replace systemd timer with pvescheduler daemon 2021-11-10 16:11:00 +01:00
test test: replication: remove mocking for obsolete volume_snapshot_list 2021-11-09 11:33:16 +01:00
www ui: ceph: osd: handle edge case with dead node 2021-11-16 14:11:45 +01:00
.gitignore Extend the .gitignore(s) 2018-05-04 14:50:04 +02:00
defines.mk fix #844: allow to pre-delay start-all-marked guests on boot 2019-11-20 20:20:58 +01:00
Makefile buildsys: lintian: do not ignore "binaries" anymore 2021-10-04 12:22:02 +02:00
spice-example-sh doc: spice-example-sh: support special characters in passwords 2017-10-05 13:57:27 +02:00
vzdump-hook-script.pl vzdump-hook-script: rename TARFILE to TARGET 2020-07-14 10:27:18 +02:00