rpc error: code = ResourceExhausted desc = no drive found for requested topolog
solid-wang opened this issue · 2 comments
Describe the bug
rpc error: code = ResourceExhausted desc = no drive found for requested topolog
To Reproduce
When there are worker nodes without dirvers.
Expected behavior
pvc status can be Bound.
If applicable, add screenshots to help explain your problem. Or logs from the pods in directpv-min-io namespace.
Deployment information (please complete the following information):
- DirectPV version: (This can be captured by
kubectl directpv --version
) v4.0.4 - Kubernetes Version: v1.26.4
- OS info: almalinux 9
- Kernel version: 5.14.0-284.11.1.el9_2.x86_64
fixes
Use the command "kubectl directpv install" to deploy. The parameter "--strict-topology" of csi-provisioner causes a topology problem. After deleting the parameter, the problem is eliminated.
Additional context
https://github.com/kubernetes-csi/external-provisioner/blob/master/README.md#topology-support
You don't have any suitable drive to serve the volume request.
Refer docs at https://github.com/minio/directpv/tree/master/docs
you should delete parameter "--strict-topology" in the code.
https://github.com/minio/directpv/blob/bc00b70b4a649b358e51f942800122b7b2693b97/pkg/installer/deployment.go#L112C6-L112C6