On 11/09/2019 12:23, Jan Fajerski wrote:
On Wed, Sep 11, 2019 at 11:17:47AM +0100, Matthew Vernon wrote:
We keep finding part-made OSDs (they appear not attached to any host, and down and out; but still counting towards the number of OSDs); we never saw this with ceph-disk. On investigation, this is because ceph-volume lvm create makes the OSD (ID and auth at least) too early in the process and is then unable to roll-back cleanly (because the bootstrap-osd credential isn't allowed to remove OSDs).
[snip]
This is annoying to have to clear up, and it seems to me could be avoided by either:
i) ceph-volume should (attempt to) set up the LVM volumes &c before making the new OSD id or ii) allow the bootstrap-osd credential to purge OSDs
i) seems like clearly the better answer...? Agreed. Would you mind opening a bug report
Sure: https://tracker.ceph.com/issues/41784 Regards, Matthew -- The Wellcome Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.