ctrox / csi-s3

A Container Storage Interface for S3
Apache License 2.0
758 stars 167 forks source link

failed to provision volume with StorageClass "csi-s3": rpc error: code = DeadlineExceeded desc = context deadline exceeded #91

Open panghaohao opened 8 months ago

panghaohao commented 8 months ago

image `apiVersion: v1 kind: Secret metadata: namespace: kube-system name: csi-s3-secret stringData: accessKeyID: "" secretAccessKey: ""

For AWS set it to "https://s3..amazonaws.com"

endpoint: "http://10.11.114.11:9999/"

If not on S3, set it to ""

region: ""`

Hello, I just modified the configuration of secret s3. I am using mini o

DevFontes commented 6 months ago

Same issue here:

I1222 11:16:07.156583 1 controller.go:1109] Temporary error received, adding PVC a39b71d0-7470-4671-9328-f5ca0b5778ba to claims in progress W1222 11:16:07.156611 1 controller.go:961] Retrying syncing claim "a39b71d0-7470-4671-9328-f5ca0b5778ba", failure 19 E1222 11:16:07.156630 1 controller.go:984] error syncing claim "a39b71d0-7470-4671-9328-f5ca0b5778ba": failed to provision volume with StorageClass "csi-s3fs": rpc error: code = DeadlineExceeded desc = context deadline exceeded I1222 11:16:07.156729 1 event.go:282] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"csi", Name:"pvc-test-1", UID:"a39b71d0-7470-4671-9328-f5ca0b5778ba", APIVersion:"v1", ResourceVersion:"7742883", FieldPath:""}): type: 'Warning' reason: 'ProvisioningFailed' failed to provision volume with StorageClass "csi-s3fs": rpc error: code = DeadlineExceeded desc = context deadline exceeded I1222 11:17:26.860232 1 reflector.go:530] k8s.io/client-go/informers/factory.go:134: Watch close - *v1.PersistentVolumeClaim total 12 items received

I think it is timeout, is possible to increase the time?

Someone have one solution?

1753936488 commented 4 months ago

I encountered the following problemsI0221 08:52:35.238160 1 event.go:282] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"default", Name:"csi-s3-pvc", UID:"0bd1dc6d-1672-479b-aaf3-74bf99909302", APIVersion:"v1", ResourceVersion:"1572192", FieldPath:""}): type: 'Warning' reason: 'ProvisioningFailed' failed to provision volume with StorageClass "csi-s3": rpc error: code = Internal desc = grpc: error while marshaling: string field contains invalid UTF-8 E0221 08:52:35.238369 1 controller.go:984] error syncing claim "0bd1dc6d-1672-479b-aaf3-74bf99909302": failed to provision volume with StorageClass "csi-s3": rpc error: code = Internal desc = grpc: error while marshaling: string field contains invalid UTF-8