]> git.proxmox.com Git - pve-manager.git/commit
API: OSD: Fix #2496 Check OSD Network
authorAaron Lauterer <a.lauterer@proxmox.com>
Mon, 16 Dec 2019 11:04:10 +0000 (12:04 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 16 Dec 2019 14:12:18 +0000 (15:12 +0100)
commit05bd76ac0ed946cc7c26e5d72696bbda45339cc3
tree609fe86e2436415a3ac8d5167513431dfd75b4a6
parent819e4ff59c11a87334018e575bfe2977098b4214
API: OSD: Fix #2496 Check OSD Network

It's possible to have a situation where the cluster network (used for
inter-OSD traffic) is not configured on a node. The OSD can still be
created but can't communicate.

This check will abort the creation if there is no IP within the subnet
of the cluster network present on the node. If there is no dedicated
cluster network the public network is used as a failsafe even though
this situation should not occur.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
PVE/API2/Ceph/OSD.pm