#18318·rook

The wipeDevicesFromOtherClusters setting not working

Author: KKonakCreated Sep 2, 2026Updated Sep 15, 2026
Labelsbug

Is this a bug report or feature request?

  • Bug Report

Deviation from expected behavior:

OSD disk from a previous cluster is skipped when this setting is true in the config. Am i missing an extra step?

Expected behavior:

OSD gets created on directed partition even if it has not been wiped.

How to reproduce it (minimal and precise):

  1. Create rook ceph cluster with OSDs
  2. OSD device is unformatted LVM on top of an encrypted device, bypassing need for keys.
  3. Uninstall rook ceph cluster, wipe dataDirHostPath, leave OSD device untouched
  4. Install rook ceph cluster with wipeDevicesFromOtherClusters set to true
  5. Prepare OSD job skips device.

File(s) to submit:

Relevant snippet from running cephcluster crd.

spec:
  cephVersion:
    image: registry:5000/ceph/ceph:v20.2.2
  cleanupPolicy:
    allowUninstallWithVolumes: true
    sanitizeDisks:
      dataSource: zero
      iteration: 1
      method: quick
    wipeDevicesFromOtherClusters: true

Logs to submit:

Prepare OSD log snippet:

cephosd: no new devices to configure. returning devices already configured with ceph-volume.
provision 2026-09-02 14:45:58.135842 D | exec: Running command: stdbuf -oL ceph-volume --log-path /tmp/ceph-log lvm list  --format json
provision 2026-09-02 14:45:58.434339 D | cephosd: {}
provision 2026-09-02 14:45:58.434359 I | cephosd: 0 ceph-volume lvm osd devices configured on this node
provision 2026-09-02 14:45:58.434559 D | exec: Running command: stdbuf -oL ceph-volume --log-path /tmp/ceph-log raw list --format json
provision 2026-09-02 14:45:59.631779 D | cephosd: {
provision     "78836ca6-dc01-404f-a7fb-2704642ce596": {
provision         "ceph_fsid": "6c1a7f28-e455-4229-8091-97fbce07b50e",
provision         "device": "/dev/mapper/ceph_cluster-ceph_data",
provision         "osd_id": 0,
provision         "osd_uuid": "78836ca6-dc01-404f-a7fb-2704642ce596",
provision         "type": "bluestore"
provision     }
provision }
provision 2026-09-02 14:45:59.632153 I | cephosd: skipping osd.0: "78836ca6-dc01-404f-a7fb-2704642ce596" belonging to a different ceph cluster "6c1a7f28-e45
provision 2026-09-02 14:45:59.632159 I | cephosd: 0 ceph-volume raw osd devices configured on this node
provision 2026-09-02 14:45:59.632162 W | cephosd: skipping OSD configuration as no devices matched the storage settings for this node "node1"

Environment:

  • OS (e.g. from /etc/os-release): rhel 9.2
  • Kernel (e.g. uname -a): 9.2
  • Cloud provider or hardware configuration: rke2 1.35
  • Rook version (use rook version inside of a Rook Pod): 1.19.3
  • Storage backend version (e.g. for ceph do ceph -v): ceph 20.2.2
  • Kubernetes version (use kubectl version): 1.35.0