ceph: services: judge the OSD map flags only for OSD restarts
The OSDMAP_FLAGS check applied to every daemon type. An operator who set nodown to stop OSDs from flapping could then not restart the monitors either. Every flag in the OSD map controls OSD behaviour only. None of them affects monitor quorum, manager failover or MDS takeover, so refusing those restarts was wrong. For OSDs the check still matters. nodown keeps every OSD marked as up, so the wait for a restarted OSD returns immediately. A caller that does not name a daemon type is still judged strictly. nosnaptrim and noautoscale count as benign now too, because neither affects a daemon restart. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
T
Thomas Lamprecht committed
ec551b8a8e79a5ed17002770078f4f17e81ca126
Parent: 092adca