Bug 1581614
Summary: | iSCSI PersistentVolumes in VolumeMode=Block are not mapped to container | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Qin Ping <piqin> |
Component: | Containers | Assignee: | Mrunal Patel <mpatel> |
Status: | CLOSED DEFERRED | QA Contact: | weiwei jiang <wjiang> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.10.0 | CC: | aos-bugs, aos-storage-staff, bchilds, dwalsh, eboyd, fdeutsch, hchen, hchiramm, hekumar, jokerman, mkimura, mmccomas, nagrawal, piqin, screeley, sgott |
Target Milestone: | --- | ||
Target Release: | 3.10.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1568028 | Environment: | |
Last Closed: | 2019-11-20 18:52:10 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: | 1568028 | ||
Bug Blocks: |
Comment 1
Qin Ping
2018-05-23 08:46:44 UTC
Tried to reproduce it in: oc v3.10.0-0.51.0 kubernetes v1.10.0+b81c8f8 openshift v3.10.0-0.51.0 And it is worked now. Based on the comment #7 and comment #11 this looks to be a container runtime issue. Currently it's not possible to map a device in a privileged docker container: $ docker run -w /opt --rm -it --device=/dev/console:/opt/10 busybox /bin/sh -c 'ls -l /opt/' total 0 crw------- 1 root root 5, 1 Nov 8 13:25 10 $ docker run --privileged -w /opt --rm -it --device=/dev/console:/opt/10 busybox /bin/sh -c 'ls -l /opt/' total 0 This is caused by the following docker issue: https://github.com/moby/moby/issues/35991 There's an open PR to fix that, but it hasn't got much attention recently: https://github.com/moby/moby/pull/36258 We haven't seen this problem with our CI (in 4.x, which uses a recent version of cri-o), so maybe switching to cri-o could be an alternative. Since this is cause by Docker, assigning to Containers team. OCP 3.6-3.10 is no longer on full support [1]. Marking CLOSED DEFERRED. If you have a customer case with a support exception or have reproduced on 3.11+, please reopen and include those details. When reopening, please set the Target Release to the appropriate version where needed. [1]: https://access.redhat.com/support/policy/updates/openshift |