]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/rook: implement `orch device zap` in rook orchestrator 43138/head
authorJoseph Sawaya <jsawaya@redhat.com>
Thu, 9 Sep 2021 19:14:29 +0000 (15:14 -0400)
committerJoseph Sawaya <jsawaya@redhat.com>
Mon, 18 Oct 2021 19:06:03 +0000 (15:06 -0400)
commit22631ec76d34d782878a33d3def540e35164b718
tree5b594ab6d00a3fa8bb4cc3eca1addc794804d3c8
parenta9483222758e8b14e087bc0354869030b9ce4a5e
mgr/rook: implement `orch device zap` in rook orchestrator

This commit implements orch device zap by creating a pod on the target
host that mounts the /dev directory and runs either overwrites the first
few blocks of the device with zeros if it's a raw device or if it's not
a raw device it will use `ceph-volume lvm zap`.

Signed-off-by: Joseph Sawaya <jsawaya@redhat.com>
src/pybind/mgr/rook/module.py
src/pybind/mgr/rook/rook_cluster.py