[pve-devel] [PATCH manager] ui: osd: warn if removal could be problematic

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Feb 4 17:42:39 CET 2022


On 04.02.22 10:50, Aaron Lauterer wrote:
> If an OSD is removed during the wrong conditions, it could lead to
> blocked IO or worst case data loss.
> 
> Check against global flags that limit the capabilities of Ceph to heal
> itself (norebalance, norecover, noout) and if there are degraded
> objects.
> 
> Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
> ---
> 
> Those are the things to check for that came to mind. If someone thinks
> that we should definitely check for more, I am happy to send a v2.
> 
> I am also open to suggestions on how to phrase the warnings better.
> 
> I opted for separate hints to be able to show detailed hints so the
> users have an idea how to act on the warning and to keep the logic
> behind them simple.

independent of what we then check, this should actually but a load mask on the dialogue
or the like, as else it may be to late if backend is slow and/or network latency between
UI and PVE is high (E.g., the coverage @ deutsches eck gives me about 10 to 15s spikes
when travelling through via train, not that I expect to delete OSDs from there in
production critical setups anytime soon ;)





More information about the pve-devel mailing list