Has anybody run into a 'stuck' OSD service specification? I've tried
to delete it, but it's stuck in 'deleting' state, and has been for
quite some time (even prior to upgrade, on 15.2.x). This is on 16.2.3:

NAME                   PORTS  RUNNING  REFRESHED   AGE  PLACEMENT
osd.osd_spec            504/525  <deleting>  12m  label:osd
root@ceph01:/# ceph orch rm osd.osd_spec
Removed service osd.osd_spec

>From active monitor:

debug 2021-05-06T23:14:48.909+0000 7f17d310b700  0
log_channel(cephadm) log [INF] : Remove service osd.osd_spec

Yet in ls, it's still there, same as above. --export on it:

root@ceph01:/# ceph orch ls osd.osd_spec --export
service_type: osd
service_id: osd_spec
service_name: osd.osd_spec
placement: {}
unmanaged: true
spec:
  filter_logic: AND
  objectstore: bluestore

We've tried --force, as well, with no luck.

To be clear, the --export even prior to delete looks nothing like the
actual service specification we're using, even after I re-apply it, so
something seems 'bugged'. Here's the OSD specification we're applying:

service_type: osd
service_id: osd_spec
placement:
  label: "osd"
data_devices:
  rotational: 1
db_devices:
  rotational: 0
db_slots: 12

I would appreciate any insight into how to clear this up (without
removing the actual OSDs, we're just wanting to apply the updated
service specification - we used to use host placement rules and are
switching to label-based).

Thanks,
David
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to