Actions
Feature #18400
openHave OSD mark itself down while still running
Status:
New
Priority:
Normal
Assignee:
-
Category:
OSD
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
In some case you might want to mark a OSD as down while you keep the daemon running. E.g. when you want to perform (network) maintenance on the machine it is running on.
Currently you can set the noup flag and then mark the OSD as down, but it would also be useful if you can set a OSD to non-active using the admin socket.
ceph daemon osd.0 active false
Now the OSD will mark itself as down while it keeps running. You can now safely perform maintenance.
A different use-case is where you want to run fstrim on the backing SSD but that will make the OSD utilized for 100% for a few minutes. By marking it down you prevent I/O going to it.
Actions