Open tojoyccnu opened 1 year ago
Problem 1: [/var/log/message] has logs in blew
Nov 9 16:28:59 k8s90 kubelet: E1109 16:28:59.212598 9170 nodeinfomanager.go:561] Invalid attach limit value 0 cannot be added to CSINode object for
FIX : Set MaxVolumesPerNode on NodeGetInfo call based on Node Type after k8s 1.17+. https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/issues/19.
Now this problem is done.
Problem 2: I still get an error; AttachVolume.Attach failed for volume "moosefs-csi-pv" : timed out waiting for external-attacher of csi.ufs CSI driver to attach volume moosefs-csi-pv Unable to attach or mount volumes: unmounted volumes=[moosefs-volume], unattached volumes=[kube-api-access-k4bkt moosefs-volume]: timed out waiting for the condition
It seem to be the same infomation of https://github.com/ctrox/csi-s3/issues/77
MOOSE-CSI-PLUGIN
Test cluster servers:
k8s version : v1.25.3 (latest version) moosefs (standalone): maintained in k8s90, v 3.0.116
1. First step:
download files , edited the kustomization.yaml file , change MFS_SERVER option to my moosefs master ip 192.168.2.90 , make direcotory /kubernetes in moosefs for k8s
2. Next step:
install moosefs-csi plugin
pod/csi-moosefs-controll pod/csi-moosefs-node are running
3. Next Step:
apply examples (pv ,pvc pod)
apply example pods something wrong
mount client like this:
4. Questions
Question 1: moose-csi-driverinfo.yaml errors in k8s 1.25.x
something wrong when invoke "kustomize build | kubectl apply -f -".
error: resource mapping not found for name: "csi.kunde21.moosefs" namespace: "" from "STDIN": no matches for kind "CSIDriver" in version "storage.k8s.io/v1beta1" resolution: edit moosefs-csi-driverinfo.yaml line 2, change to to storage.k8s.io/v1. It's easy
Question 2: moose-exmample-pod.yaml Attach PV(PVC) failed
May I miss steps or something else to success?