You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CSI list's all PCIe devices that are not of
type VIRTIO_BLOCK_DEVICE and subtracts them from
the theoretically maximum, so kubernetes can report
a correct dynamic max volume count that can be attached
for each node.
Signed-off-by: Niclas Schad <niclas.schad@stackit.cloud>
// Trigger's an immediate `NodeGetInfo` RPC call when MutableCSINodeAllocatableCount is enabled
374
+
// TODO: Finish Implementation of IsTooManyDevicesError
375
+
//if stackiterrors.IsTooManyDevicesError(err) {
376
+
// return nil, status.Errorf(codes.ResourceExhausted, "[ControllerPublishVolume] Node can't accept any more volumes %v. All PCIe lanes are exhausted!", err)
377
+
//}
373
378
klog.Errorf("Failed to AttachVolume: %v", err)
374
379
returnnil, status.Errorf(codes.Internal, "[ControllerPublishVolume] Attach Volume failed with error %v", err)
0 commit comments