| Summary: | EBS PV's are not given the right permissions when being used in Openshift 3.1 | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Matt Woodson <mwoodson> |
| Component: | Storage | Assignee: | Paul Morie <pmorie> |
| Status: | CLOSED NOTABUG | QA Contact: | Jianwei Hou <jhou> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.1.0 | CC: | aos-bugs, pmorie |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-23 20:49:24 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: | |
|
Description
Matt Woodson
2016-03-17 18:12:42 UTC
Matt, what SCC is your pod being matched against? FSGroup should be set by default in the restricted and hostns SCCs now, but you will need to specify it for other SCCs. I talked to Matt yesterday on IRC and we established that his pod is being matched against the 'restricted' SCC. He had to run, but we need to understand what the state of the SCC is as a next step. In 3.1, the default "fsGroup" setting in the restricted Security Context needs to be changed to "MustRunAs" in order to allow Openshift to format and set the right permissions.
This can be done with the following command and will be incorporated into our config changes:
oc patch scc/restricted -p '{"fsGroup": {"type": "MustRunAs"}}'
Closing since this is the expected behavior of 3.1 |