Closed sheerun closed 4 years ago
Also, here are events from first PVC:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning ProvisioningFailed 31m (x5 over 32m) csi.scaleway.com_csi-controller-df8ffbf57-5rckt_29f03a79-7ca1-47d3-af60-eb51413ac1ac failed to provision volume with StorageClass "scw-bssd": rpc error: code = DeadlineExceeded desc = context deadline exceeded
Normal ExternalProvisioning 31m (x7 over 32m) persistentvolume-controller waiting for a volume to be created, either by external provisioner "csi.scaleway.com" or manually created by system administrator
Normal Provisioning 31m (x6 over 32m) csi.scaleway.com_csi-controller-df8ffbf57-5rckt_29f03a79-7ca1-47d3-af60-eb51413ac1ac External provisioner is provisioning volume for claim "default/data-cassandra-cluster-dc1-rack1-0"
Normal ProvisioningSucceeded 31m csi.scaleway.com_csi-controller-df8ffbf57-5rckt_29f03a79-7ca1-47d3-af60-eb51413ac1ac Successfully provisioned volume pvc-983c3a5f-3ff8-458f-9912-1d23e0c5acf7
There seems to be the same number of timeouts as number of extra volumes
I've notified Scaleway support as it seems this can be Scaleway's issue, not Casskop's.
@sheerun saw the ticket. It was a problem of an old version of our csi, should be fixed now. Please open an issue in https://github.com/scaleway/scaleway-csi/ if it happens again!
Thanks @Sh4d1 for commenting and welcome to Casskop :) Please @sheerun could you close the issue if you confirm it works now.
Indeed it seems to work now :) Thank you!
I've created cassandra cluster with configuration below, but operator managed to provision few extra unattached volumes. I think it might be because there is some kind of delay between volume creation and operator requesting volume to be created. Or maybe because on Scaleway requesting pvc with given name is not idempotent and names are allowed to be duplicated (they generate their own unique ids for volumes).
Hosting provider: Scaleway kapsule
Cluster configuration:
Screenshot of extra volumes: https://imgur.com/a/CvA3Hqz
At kubernetes level it seems there are only 3 PVC:
All pods are in ready state:
What is interesting that all extra unattached volumes have the same name as first attached volume. 1f7c1873-9f5b-46e4-934d-1ff3a6b41209_pvc-983c3a5f-3ff8-458f-9912-1d23e0c5acf7
Logs: https://pastebin.com/0zgSqP81
ping @scaleway