delete stray OSD daemon after replacing disk
Hello, I replaced an OSD disk on one of my Nautilus OSD node which created a new osd number. Now ceph shows that there is one cephadm stray daemon (the old OSD #1 which I replaced) and which I can't remove as you can see below: # ceph health detail HEALTH_WARN 1 stray daemon(s) not managed by cephadm [WRN] CEPHADM_STRAY_DAEMON: 1 stray daemon(s) not managed by cephadm stray daemon osd.1 on host ceph1e not managed by cephadm # ceph orch daemon rm osd.1 --force Error EINVAL: Unable to find daemon(s) ['osd.1'] Is there another command I am missing? Best regards, Mabi
Small correction in my mail below, I meant to say Octopus and not Nautilus, so I am running ceph 15.2.13. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Wednesday, June 9, 2021 2:25 PM, mabi <mabi@protonmail.ch> wrote:
Hello,
I replaced an OSD disk on one of my Nautilus OSD node which created a new osd number. Now ceph shows that there is one cephadm stray daemon (the old OSD #1 which I replaced) and which I can't remove as you can see below:
ceph health detail
===================
HEALTH_WARN 1 stray daemon(s) not managed by cephadm [WRN] CEPHADM_STRAY_DAEMON: 1 stray daemon(s) not managed by cephadm stray daemon osd.1 on host ceph1e not managed by cephadm
ceph orch daemon rm osd.1 --force
==================================
Error EINVAL: Unable to find daemon(s) ['osd.1']
Is there another command I am missing?
Best regards, Mabi
Can you share your 'ceph osd tree'? You can remove the stray osd "old school" with 'ceph osd purge 1 [--force]' if you're really sure. Zitat von mabi <mabi@protonmail.ch>:
Small correction in my mail below, I meant to say Octopus and not Nautilus, so I am running ceph 15.2.13.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Wednesday, June 9, 2021 2:25 PM, mabi <mabi@protonmail.ch> wrote:
Hello,
I replaced an OSD disk on one of my Nautilus OSD node which created a new osd number. Now ceph shows that there is one cephadm stray daemon (the old OSD #1 which I replaced) and which I can't remove as you can see below:
ceph health detail
===================
HEALTH_WARN 1 stray daemon(s) not managed by cephadm [WRN] CEPHADM_STRAY_DAEMON: 1 stray daemon(s) not managed by cephadm stray daemon osd.1 on host ceph1e not managed by cephadm
ceph orch daemon rm osd.1 --force
==================================
Error EINVAL: Unable to find daemon(s) ['osd.1']
Is there another command I am missing?
Best regards, Mabi
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Thanks Eugen for your answer. I saw it a bit late because from the ceph manager web interface I managed to get rid of that OSD by doing the "Windows" way and click on the purge option. That worked. So I suppose here that your command "ceph osd purge" must have worked, I just did not find this command in the documentation. Strange that this happened, I just replaced one OSD disk with a bigger one and used the "ceph orch osd rm 1 --replace" for that purpose. Not quite sure if this is the right way to do it. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Thursday, June 10, 2021 8:44 AM, Eugen Block <eblock@nde.ag> wrote:
Can you share your 'ceph osd tree'? You can remove the stray osd "old school" with 'ceph osd purge 1 [--force]' if you're really sure.
Zitat von mabi mabi@protonmail.ch:
Small correction in my mail below, I meant to say Octopus and not Nautilus, so I am running ceph 15.2.13. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Wednesday, June 9, 2021 2:25 PM, mabi mabi@protonmail.ch wrote:
Hello, I replaced an OSD disk on one of my Nautilus OSD node which created a new osd number. Now ceph shows that there is one cephadm stray daemon (the old OSD #1 which I replaced) and which I can't remove as you can see below: ceph health detail =================== HEALTH_WARN 1 stray daemon(s) not managed by cephadm [WRN] CEPHADM_STRAY_DAEMON: 1 stray daemon(s) not managed by cephadm stray daemon osd.1 on host ceph1e not managed by cephadm ceph orch daemon rm osd.1 --force ================================== Error EINVAL: Unable to find daemon(s) ['osd.1'] Is there another command I am missing? Best regards, Mabi
ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Hello mabi What about "ceph orch osd rm osd.1 --force " From "ceph orch --help”, "orch daemon rm” should specify a daemon name. "orch osd rm” should specify a svc_id. They seems a bit different. orch daemon rm <names>... [--force] Remove specific daemon(s) orch osd rm <svc_id>... [--replace] [--force] Remove OSD services
On Jun 10, 2021, at 14:30, mabi <mabi@protonmail.ch> wrote:
Small correction in my mail below, I meant to say Octopus and not Nautilus, so I am running ceph 15.2.13.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Wednesday, June 9, 2021 2:25 PM, mabi <mabi@protonmail.ch> wrote:
Hello,
I replaced an OSD disk on one of my Nautilus OSD node which created a new osd number. Now ceph shows that there is one cephadm stray daemon (the old OSD #1 which I replaced) and which I can't remove as you can see below:
ceph health detail
===================
HEALTH_WARN 1 stray daemon(s) not managed by cephadm [WRN] CEPHADM_STRAY_DAEMON: 1 stray daemon(s) not managed by cephadm stray daemon osd.1 on host ceph1e not managed by cephadm
ceph orch daemon rm osd.1 --force
==================================
Error EINVAL: Unable to find daemon(s) ['osd.1']
Is there another command I am missing?
Best regards, Mabi
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
participants (3)
-
Eugen Block
-
mabi
-
赵贺东