]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/cephadm: zap raw devices before OSD deployment
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 22 Apr 2026 21:02:10 +0000 (23:02 +0200)
committerGuillaume Abrioux <gabrioux@ibm.com>
Fri, 24 Apr 2026 07:13:16 +0000 (07:13 +0000)
commite8e6cf52358772554fd8c233738b7bbc1eb7deb3
treee19ffd7f1cd373eb8a440907710097c5aeee944d
parentf8dfb387a84906ac798c2c6db2699813913b8420
qa/cephadm: zap raw devices before OSD deployment

follow up on commit f3c938f5032885434dd2ab77f9b2e6bc05917f3c

```
2026-04-22T10:16:21.350 DEBUG:teuthology.orchestra.run.trial118:> sudo ceph-bluestore-tool zap-device --dev /dev/nvme3n1 --yes-i-really-really-mean-it
2026-04-22T10:16:21.358 INFO:teuthology.orchestra.run.trial118.stderr:sudo: ceph-bluestore-tool: command not found
```

ceph-bluestore-tool is not available on the host and must be run from within a container.

Instead, use `ceph-volume lvm zap` which internally calls `ceph-bluestore-tool zap-device`.

Fixes: https://tracker.ceph.com/issues/76238
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 6cc12f64b96c5d2257553326bd64c261725254db)
qa/tasks/cephadm.py