Bug 1563329
Summary: | Mounting socket files from subPaths fail | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Hemant Kumar <hekumar> |
Component: | Storage | Assignee: | Hemant Kumar <hekumar> |
Status: | CLOSED ERRATA | QA Contact: | Chao Yang <chaoyang> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.5.1 | CC: | aos-bugs, aos-storage-staff, bchilds, hekumar, piqin, smunilla |
Target Milestone: | --- | Keywords: | NeedsTestCase |
Target Release: | 3.5.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1558564 | Environment: | |
Last Closed: | 2018-12-03 17:35:00 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: | 1558564, 1563336 | ||
Bug Blocks: | 1560710, 1563317 |
Description
Hemant Kumar
2018-04-03 15:35:35 UTC
This is failed on oc v3.5.5.31.67 kubernetes v1.5.2+43a9be4 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://ip-172-18-6-183.ec2.internal:8443 openshift v3.5.5.31.67 kubernetes v1.5.2+43a9be4 oc get pods testpod 0/1 RunContainerError 0 1m test file is kind: Pod apiVersion: v1 metadata: name: testpod spec: containers: - name: testpod image: aosqe/hello-openshift ports: - containerPort: 80 name: "http-server" volumeMounts: - mountPath: "/mnt/run/docker.sock" subPath: "run/docker.sock" name: file volumes: - name: file hostPath: path: "/" Moving the BZ to modified state because the problem that the fix was not picked in the build isn't something storage team controls. The BZ should not have moved to ON_QA. Verified in OCP oc v3.5.5.31.80 kubernetes v1.5.2+43a9be4 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://ip-172-18-13-123.ec2.internal:8443 openshift v3.5.5.31.80 kubernetes v1.5.2+43a9be4 1.Create pod using kind: Pod apiVersion: v1 metadata: name: sock-pod spec: containers: - name: sockfile image: aosqe/hello-openshift ports: - containerPort: 80 name: "http-server" volumeMounts: - mountPath: "/mnt/run/docker.sock" subPath: "run/docker.sock" name: file volumes: - name: file hostPath: path: "/" 2.Pod is running 3.oc exec sock-pod -- ls /mnt/run/docker.sock -l srw-rw---- 1 root root 0 Nov 16 08:33 /mnt/run/docker.sock 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/RHSA-2018:3624 |