Testbed Details:
Host: -- Kubernetes single master setup.
Host OS: "Red Hat Enterprise Linux Server"VERSION="7.6
OC version: oc v3.11.117
Steps to reproduce:
1) Create PV,PVC with invalid fsOwner e.g (fsOwner: "1007:1007")
2) Create a POD for PVC.
3) POD is in ContainerCreating
4) Describe pod it shows following error messages:
Events:
Type Reason Age From Message
Normal Scheduled 10m default-scheduler Successfully assigned default/podinfsown to cssosbe04-b02
Warning FailedMount 1m (x4 over 8m) kubelet, cssosbe04-b02 Unable to mount volumes for pod "podinfsown_default(c15f9c71-ddf9-11e9-8134-f40343a90200)": timeout expired waiting for volumes to attach or mount for pod "default"/"podinfsown". list of unmounted volumes=[export]. list of unattached volumes=[export default-token-4z9mb]
Warning FailedMount 20s (x12 over 10m) kubelet, cssosbe04-b02 MountVolume.SetUp failed for volume "pvinfsown" : mount command failed, status: Failure, reason: invalid character '<' looking for beginning of value
Testbed Details: Host: -- Kubernetes single master setup. Host OS: "Red Hat Enterprise Linux Server"VERSION="7.6 OC version: oc v3.11.117
Steps to reproduce:
1) Create PV,PVC with invalid fsOwner e.g (fsOwner: "1007:1007") 2) Create a POD for PVC. 3) POD is in ContainerCreating 4) Describe pod it shows following error messages:
Events: Type Reason Age From Message
Normal Scheduled 10m default-scheduler Successfully assigned default/podinfsown to cssosbe04-b02 Warning FailedMount 1m (x4 over 8m) kubelet, cssosbe04-b02 Unable to mount volumes for pod "podinfsown_default(c15f9c71-ddf9-11e9-8134-f40343a90200)": timeout expired waiting for volumes to attach or mount for pod "default"/"podinfsown". list of unmounted volumes=[export]. list of unattached volumes=[export default-token-4z9mb] Warning FailedMount 20s (x12 over 10m) kubelet, cssosbe04-b02 MountVolume.SetUp failed for volume "pvinfsown" : mount command failed, status: Failure, reason: invalid character '<' looking for beginning of value
Attaching the yml:
Messages file.txt pv,pvc,pod yml.txt Test case 7.txt