PVC提示persistentvolume-controller waiting for a volume to be created, either by external provisioner “cephfs.csi.ceph.com” or manually created by system administrator

释放双眼,带上耳机,听听看~!
🤖 由 ChatGPT 生成的文章摘要

PVC报错内容

[root@k8s-01 ceph]# kubectl describe pvc data
Name:          data
Namespace:     default
StorageClass:  csi-cephfs-sc
Status:        Pending
Volume:        
Labels:        <none>
Annotations:   volume.beta.kubernetes.io/storage-provisioner: cephfs.csi.ceph.com
               volume.kubernetes.io/storage-provisioner: cephfs.csi.ceph.com
Finalizers:    [kubernetes.io/pvc-protection]
Capacity:      
Access Modes:  
VolumeMode:    Filesystem
Used By:       <none>
Events:
  Type     Reason                Age                  From                         Message
  ----     ------                ----                 ----                         -------
  Normal   ExternalProvisioning  12m (x83 over 32m)   persistentvolume-controller  waiting for a volume to be created, either by external provisioner "cephfs.csi.ceph.com" or manually created by system administrator

排查思路

  • 排查csi-cephfs容器是否有启动报错日志
  • 手动创建cephfs是否正常
  • 检查cephfs和csi版本是否一致

总结

如果pod没有报错,那么基本上90%为csi和ceph版本不一致造成了

给TA打赏
共{{data.count}}人
人已打赏
报错锦集

K8s CephFS: mount failed: mount failed: fork/exec /usr/bin/systemd-run: invalid argument

2022-7-20 19:47:09

报错锦集

docker删除所有容器镜像

2022-7-25 2:23:17

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索