cubefs-csi
cubefs-csi copied to clipboard
Cannot use Auth with CubeFSI CSI yet
Hi there,
I seemingly cannot yet use the Authnode functionality in this CSI yet:
wings:rifflabs-infrastructure/ (main✗) $ kubectl describe pvc cubefs-testclaim [11:11:58]
Name: cubefs-testclaim
Namespace: default
StorageClass: cubefs-dstcodex
Status: Pending
Volume:
Labels: <none>
Annotations: volume.beta.kubernetes.io/storage-provisioner: csi.cubefs.com
volume.kubernetes.io/storage-provisioner: csi.cubefs.com
Finalizers: [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
VolumeMode: Filesystem
Used By: <none>
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Provisioning 3s (x3 over 6s) csi.cubefs.com_cfs-csi-controller-6874d5988d-bhpfl_b22b925a-03ea-4a81-8256-b1fbae5204d5 External provisioner is provisioning volume for claim "default/cubefs-testclaim"
Warning ProvisioningFailed 3s (x3 over 6s) csi.cubefs.com_cfs-csi-controller-6874d5988d-bhpfl_b22b925a-03ea-4a81-8256-b1fbae5204d5 failed to provision volume with StorageClass "cubefs-dstcodex": rpc error: code = Unknown desc = create volume failed: url(http://cubefs.per.riff.cc:17010/admin/createVol?name=pvc-8e73aa12-1e58-479e-8858-e4edf059faf0&capacity=5&owner=dstcodex&crossZone=&enableToken=&zoneName=) code=(40), msg: [operate_util.go 182] parameter clientIDKey not found
Normal ExternalProvisioning 2s (x2 over 6s) persistentvolume-controller waiting for a volume to be created, either by external provisioner "csi.cubefs.com" or manually created by system administrator
I did set "clientKey" in the StorageClass, but it didn't seem to have an effect.
Thanks! ~ Benjamin
the latest version v3.3.2 still don't include the feature https://github.com/cubefs/cubefs/pull/1857, so it didn't have an effect. @Zorlin