Closed ghost closed 6 months ago
@hara1101kazu, in your PVC definition you have storageClassName: <StorageClass for replication>
; are you sure you put the correct value ?
Thank you for your reply. Yes, I understand that.
$ oc get sc <StorageClass for replication> -o yaml
allowVolumeExpansion: true
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
creationTimestamp: "2024-04-04T11:16:49Z"
name: <StorageClass for replication>
resourceVersion: "29215339"
uid: 11333a97-6cd4-4730-a9a0-00e5b1a11db3
parameters:
arrayID: PS82f1db311b16
csi.storage.k8s.io/fstype: ext4
replication.storage.dell.com/ignoreNamespaces: "false"
replication.storage.dell.com/isReplicationEnabled: "true"
replication.storage.dell.com/remoteClusterID: cluster-1
replication.storage.dell.com/remoteStorageClassName: <StorageClass for replication>
replication.storage.dell.com/remoteSystem: Side3
replication.storage.dell.com/rpo: Five_Minutes
replication.storage.dell.com/volumeGroupPrefix: csi
provisioner: csi-powerstore.dellemc.com
reclaimPolicy: Delete
volumeBindingMode: Immediate
$
The configured storage class value is as above
@hara1101kazu, By the description shared by you and going by the error, it seems the API is getting the volume it just created. To debug more, we may need to look through driver logs.
Can you please share, the driver logs, and replication controller logs?
Thanks. Utkarsh
@delldubey
Thank you for your reply.
Currently, the problem is no longer reproducible. PVCs are not Pending and PVs are provisioned as expected.
Since the problem cannot be reproduced, I would like to close this issue. Is this okay? If it happens again, I will share it with you, so I would appreciate it if you could consult with me.
hi @hara1101kazu , thank you for the update and confirmation. If the issue happens again , feel free to create github issue/question and team will look into it. Closing this for now.
How can the Team help you today?
failed to provision volume with StorageClass "<StorageClass for replication>": rpc error: code = Internal desc = can't find volume '<fictitious volume that doesn't exist>':
When requesting a PV in a storage class for replication, an error is output stating that a non-existent fictitious PV cannot be found.our environment:
Details: PVC was generated at rook-ceph(Storage Orchestration for Kubernetes) https://github.com/rook/rook The generated PVC is as below
However, the error
failed to provision volume with StorageClass "<StorageClass for replication>": rpc error: code = Internal desc = can't find volume '<fictitious volume that doesn't exist>':
introduced at the beginning was output. Therefore, rook-ceph itself is in Pending state as PV is not provisioned. It is confirmed from the PowerStore GUI that the PV does not exist.It worked fine when I implemented it in other environments, so I believe this is a problem specific to this environment. However, I have reinstalled the CSI driver and replication controller, but the situation does not improve. It is unclear whether the PV is not provided because the replication has failed, or whether the replication has failed because the PV is not provided.
that's all If you have any solutions or advice regarding the issue where PV is not provisioned, please let us know.