Bug 1555911
| Summary: | [3.8] Mounting file in a subpath fails if file was created in initContainer | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Hemant Kumar <hekumar> |
| Component: | Storage | Assignee: | Hemant Kumar <hekumar> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Liang Xia <lxia> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.8.0 | CC: | aos-bugs, aos-storage-staff, bchilds, bleanhar, jhou, jsafrane, lxia |
| Target Milestone: | --- | ||
| Target Release: | 3.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1555910 | Environment: | |
| Last Closed: | 2019-11-21 18:37:45 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1555910, 1556782, 1556796, 1556838 | ||
| Bug Blocks: | |||
|
Description
Hemant Kumar
2018-03-14 19:55:07 UTC
We need to cherry-pick upstream fix https://github.com/kubernetes/kubernetes/pull/61193 Tested on below version: openshift v3.8.36 kubernetes v1.8.5+440f8d36da This bug is fixed on 3.8 # oc get pods -n kube-system NAME READY STATUS RESTARTS AGE subpath-6cc544864b-8b2wf 0/1 CrashLoopBackOff 1 22m # oc describe pods subpath-6cc544864b-8b2wf -n kube-system Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 22m default-scheduler Successfully assigned subpath-6cc544864b-8b2wf to wehe-master-etcd-nfs-1 Normal SuccessfulMountVolume 22m kubelet, wehe-master-etcd-nfs-1 MountVolume.SetUp succeeded for volume "mount" Normal SuccessfulMountVolume 22m kubelet, wehe-master-etcd-nfs-1 MountVolume.SetUp succeeded for volume "default-token-jfd5w" Normal Pulling 22m kubelet, wehe-master-etcd-nfs-1 pulling image "busybox" Normal Pulled 22m kubelet, wehe-master-etcd-nfs-1 Successfully pulled image "busybox" Normal Created 22m kubelet, wehe-master-etcd-nfs-1 Created container Normal Started 22m kubelet, wehe-master-etcd-nfs-1 Started container |