ceph: scan raw OSDs on nodes in OSD init container
ceph: scan raw OSDs on nodes in OSD init container

The 'ceph-volume raw list' command used to list OSDs on nodes by the
rook-ceph-osd-prepare- jobs return user-friendly device names (e.g.,
/dev/sda) rather than persistent device names. Friendly device names
often change when systems reboot, and even persistent device names can
change under certain circumstances (e.g., a disk controller is replaced
with a different one). To prevent OSD Pods created for raw OSDs on
nodes from crashing repeatedly if the device it was created with is
renamed, scan the list of OSDs on the host with 'ceph-volume raw list'
to find the right OSD to activate in the OSD pod's OSD activation init
container.

Fixes #7918

Signed-off-by: Blaine Gardner <135b86f2968bdbcc730c10d8ababd343bb675986@redhat.com>

rook/rook,rook/nfs,rook/rook,rook/nfs,rook/rook,rook/rook,rook/rook,rook/nfs