k8s创建的和ceph相关的pod一直处于创建中
来源:9-10 Go PaaS 平台 k8s 通过CSI方式添加外部Ceph 系统(下)

博楠
2022-10-28
k8s集群版本是1.19.7
ceph 是3.6.2
问题:
csi-rbdplugin
和csi-rbdplugin-provisioner
pod启动不来,一直ContainerCreating
kubectl describe 之后报错
报错:
Warning FailedMount 2m24s kubelet Unable to attach or mount volumes: unmounted volumes=[oidc-token], unattached volumes=[host-sys etc-selinux oidc-token ceph-logdir rbd-csi-nodeplugin-token-hqsbt plugin-dir registration-dir host-mount keys-tmp-dir ceph-csi-config host-dev mountpoint-dir lib-modules ceph-config socket-dir[]: timed out waiting for the condition
Warning FailedMount 45s (x12 over 8m59s) kubelet MountVolume.SetUp failed for volume “oidc-token” : failed to fetch token: the API server does not have TokenRequest endpoints enabled
ceph的创建的kubernetes的账号和key我对了一遍是正常的
fsid 也是对了一遍,没有啥问题
老师应该怎么排查呢
2回答
-
Cap
2022-11-03
看下主机上common有没有安装
00 -
Cap
2022-11-03
这个是volume没有创建
00
相似问题