Verify that the ceph-csi requirements are in place
Log in to ncn-s001 and check /etc/cray/ceph for completed task files.
ncn-s001# ls /etc/cray/ceph/
ceph_k8s_initialized csi_initialized installed kubernetes_nodes.txt tuned
You can run this from any storage, manager, or worker node.
pit# kubectl get cm
NAME DATA AGE
ceph-csi-config 1 3h50m
cephfs-csi-sc 1 3h50m
kube-csi-sc 1 3h50m
sma-csi-sc 1 3h50m
sts-rados-config 1 4h
pit# kubectl get secrets | grep csi
csi-cephfs-secret Opaque 4 3h51m
csi-kube-secret Opaque 2 3h51m
csi-sma-secret Opaque 2 3h51m
Check your results against the above examples.
If you are missing any components then you will want to re-run the storage node cloud-init script
bash ncn-s001# ceph -s
bash ncn-s001# ls /etc/cray/ceph
/srv/cray/scripts/common/storage-ceph-cloudinit.sh
on ncn-s001 and comment out this section:
#if [ -f "$ceph_installed_file" ]; then
# echo "This ceph cluster has been initialized"
#else
# echo "Installing ceph"
# init
# mark_initialized $ceph_installed_file
#fi
storage-ceph-cloudinit.sh
script:
ncn-s001# /srv/cray/scripts/common/storage-ceph-cloudinit.sh
Configuring node auditing software
Using generic auditing configuration
This ceph cluster has been initialized
This ceph cluster has already been tuned
This ceph radosgw config and initial k8s integration already complete
ceph-csi configuration has been already been completed