Bug 1572514
Summary: | [CRI-O] /dev/shm can not be automatically shared among all the pod's containers | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | weiwei jiang <wjiang> |
Component: | Containers | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED ERRATA | QA Contact: | DeShuai Ma <dma> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.10.0 | CC: | amurdaca, aos-bugs, dwalsh, jhonce, jokerman, mmccomas, mpatel |
Target Milestone: | --- | ||
Target Release: | 3.10.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-07-30 19:14:14 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: |
Description
weiwei jiang
2018-04-27 08:03:56 UTC
Weird, If containers are sharing the IPC Namespace they should be sharing shm. I know we put a patch in for podman to handle this, I also thought we had something in CRI-O for this. (I thought we first did it for CRI-O) https://github.com/kubernetes-incubator/cri-o/pull/1545 Fixes this issue. Fixed in cri-o-1.10.1 Checked with # oc version oc v3.10.0-0.58.0 kubernetes v1.10.0+b81c8f8 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://ip-172-18-4-200.ec2.internal:8443 openshift v3.10.0-0.58.0 kubernetes v1.10.0+b81c8f8 # oc get nodes -o wide NAME STATUS ROLES AGE VERSION EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME ip-172-18-4-200.ec2.internal Ready master 43m v1.10.0+b81c8f8 54.152.136.226 Red Hat Enterprise Linux Server 7.5 (Maipo) 3.10.0-862.3.2.el7.x86_64 cri-o://1.10.2-dev ip-172-18-8-253.ec2.internal Ready compute 38m v1.10.0+b81c8f8 34.207.142.98 Red Hat Enterprise Linux Server 7.5 (Maipo) 3.10.0-862.3.2.el7.x86_64 cri-o://1.10.2-dev # oc exec -c hello-openshift doublecontainers -- sh -c "echo hi > /dev/shm/c1" # oc exec -c hello-openshift doublecontainers -- sh -c "cat /dev/shm/c1" hi # oc exec -c hello-openshift-fedora doublecontainers -- sh -c "cat /dev/shm/c1" hi Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:1816 |