<p>I have set up 3 node kubernetes using 3 VPS and installed rook/ceph.</p>
<p>when I run</p>
<pre><code>kubectl exec -it rook-ceph-tools-78cdfd976c-6fdct -n rook-ceph bash
ceph status
</code></pre>
<p>I get the below result</p>
<pre><code>osd: 0 osds: 0 up, 0 in
</code></pre>
<p>I tried</p>
<pre><code>ceph device ls
</code></pre>
<p>and the result is</p>
<pre><code>DEVICE  HOST:DEV  DAEMONS  LIFE EXPECTANCY
</code></pre>
<p><code>ceph osd status</code> gives me no result</p>
<p>This is the yaml file that I used</p>
<pre><code>https://github.com/rook/rook/blob/master/cluster/examples/kubernetes/ceph/cluster.yaml
</code></pre>
<p>When I use the below command</p>
<pre><code>sudo kubectl -n rook-ceph logs rook-ceph-osd-prepare-node1-4xddh provision
</code></pre>
<p>results are</p>
<pre><code>2021-05-10 05:45:09.440650 I | cephosd: skipping device &quot;sda1&quot; because it contains a filesystem &quot;ext4&quot;
2021-05-10 05:45:09.440653 I | cephosd: skipping device &quot;sda2&quot; because it contains a filesystem &quot;ext4&quot;
2021-05-10 05:45:09.475841 I | cephosd: configuring osd devices: {&quot;Entries&quot;:{}}
2021-05-10 05:45:09.475875 I | cephosd: no new devices to configure. returning devices already configured with ceph-volume.
2021-05-10 05:45:09.476221 D | exec: Running command: stdbuf -oL ceph-volume --log-path /tmp/ceph-log lvm list  --format json
2021-05-10 05:45:10.057411 D | cephosd: {}
2021-05-10 05:45:10.057469 I | cephosd: 0 ceph-volume lvm osd devices configured on this node
2021-05-10 05:45:10.057501 D | exec: Running command: stdbuf -oL ceph-volume --log-path /tmp/ceph-log raw list --format json
2021-05-10 05:45:10.541968 D | cephosd: {}
2021-05-10 05:45:10.551033 I | cephosd: 0 ceph-volume raw osd devices configured on this node
2021-05-10 05:45:10.551274 W | cephosd: skipping OSD configuration as no devices matched the storage settings for this node &quot;node1&quot;
</code></pre>
<p>My disk partition</p>
<pre><code>root@node1: lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0   400G  0 disk 
├─sda1   8:1    0   953M  0 part /boot
└─sda2   8:2    0 399.1G  0 part /
</code></pre>
<p>What am I doing wrong here?</p>

<p>I have similar problem that OSD doesn't appear in <code>ceph status</code>, after I install and teardown for test multiple times.</p>
<p>I fixed this issue by running</p>
<pre><code>dd if=/dev/zero of=/dev/sdX bs=1M status=progress
</code></pre>
<p>to completely remove any information on such raw block disk.</p>
