failed to find the FC disks starts with fc prefix #95450
Labels
kind/bug
Categorizes issue or PR as related to a bug.
sig/storage
Categorizes an issue or PR as relevant to SIG Storage.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What happened:
Currently, we have logic here to look for the disk names with
-fc
but this fails when we have devices which are starting withfc
kubernetes/pkg/volume/fc/fc_util.go
Line 63 in ee297b6
e.g: on ppc64le architecture, NPIV based fc disks are discovered as follows:
and here is the udev information for one of the disk:
Because of the existing logic k8s fails to detect the disk because it does not start with
-fc-0x
instead starts withfc-0x
, so pod creation fails with the following error:What you expected to happen:
FC disk should get attached properly to the pod
How to reproduce it (as minimally and precisely as possible):
sample pod yaml on a machine with path names starts with
fc
Anything else we need to know?:
Environment:
N/A
The text was updated successfully, but these errors were encountered: