On 16.11.21 14:08, Fabian Ebner wrote:
> 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 <[email protected]>
> ---
>  www/manager6/ceph/OSD.js | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
>

applied, thanks!


_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to