Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use Auth with CubeFSI CSI yet #97

Open
Zorlin opened this issue Apr 29, 2024 · 1 comment
Open

Cannot use Auth with CubeFSI CSI yet #97

Zorlin opened this issue Apr 29, 2024 · 1 comment

Comments

@Zorlin
Copy link

Zorlin commented Apr 29, 2024

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

@heymingwei
Copy link
Member

the latest version v3.3.2 still don't include the feature cubefs/cubefs#1857, so it didn't have an effect. @Zorlin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants