Actions
Fix #24126
openceph osd purge command error message improvement
% Done:
0%
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
In response to the command "ceph osd purge 1 --yes-i-really-mean-it", we
get:
2018-05-10 15:18:03.444 7f29c0ae2700 2 mon.a@0(leader) e1
send_reply 0x556281707d40 0x5562818cdcc0 mon_command_ack([{"prefix": "osd
purge", "sure": "--yes-i-really-mean-it", "id": 0}]=-16 osd.1 is not
`down`.
v16) v1
...suggesting that the OSD process should me marked as down. However, "ceph osd purge"
actually requires the target process to not be running. It would be helpful if the
error message were revised to disambiguate this, perhaps something like "osd.1 (PID <pid>) is still running".
Actions