Bug 1419213
Summary: | [dev-preview-stg] Unable to perform 'oc run' on mysql-55-centos7 image in Online environment | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Chris Ryan <cryan> |
Component: | Image | Assignee: | Abhishek Gupta <abhgupta> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Wang Haoran <haowang> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 3.x | CC: | aos-bugs, ccoleman, jokerman, mmccomas |
Target Milestone: | --- | ||
Target Release: | --- | ||
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: | 2017-04-05 20:53:04 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
Chris Ryan
2017-02-03 23:43:16 UTC
working as designed as far as i know... the image defines a VOLUME and since you didn't map the volume to a real openshift volume, docker tried to create a local host volume which is forbidden in online. now i did think we were going to have a "better" solution in online so that such images would not just fail when used like this, but abhishek would have to speak to that if it ever happened. As Ben mentioned in the first part of his Comment 1, this is working as designed. With regards to the better solution, that is currently awaiting some fixes to the docker package that we ship. Once those changes go in, we should be able to allow such containers to be created and simply ignore the volumes. In such cases, the data being written to those directories (VOLUME paths) will be written to the container's top r/w layer (CoW). Thanks, I've updated our test case to reflect this, and uses 'oc new-app' instead of 'oc run' to use in the online environment. |