Bug 1492617
| Summary: | [starter][pro][dedicated] User is presented options to select PVC Access Modes that are invalid for Storage Class in web console | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Will Gordon <wgordon> |
| Component: | Unknown | Assignee: | Zac Herman <zherman> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | yasun |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 3.x | CC: | aos-bugs, hekumar, jokerman, mmccomas, spadgett, yufchang, zherman |
| Target Milestone: | --- | Keywords: | OnlinePro, OnlineStarter |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://github.com/openshift/origin-web-console/pull/2797 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-07-30 15:38:18 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
Will Gordon
2017-09-18 10:21:07 UTC
Sam: Is there a way to restrict these access mode options? Is this a configuration setting for the storage class or something in the UI? There's no way currently to restrict these options in the UI. If the storage class was somehow annotated with the valid choices, we could restrict it, but as far as I know, there's no way for us to tell what options are valid. I have opened a trello card for Storage team - https://trello.com/c/NNjFExmr/579-rfe-allow-users-to-know-accessmodes-supported-by-volume-type . We will try and see if we can come to a consensus about this. Created PR 2797: https://github.com/openshift/origin-web-console/pull/2797 for this issue. This uses annotations as suggested and will have to work for now until we can architect a more robust solution. The access-mode annotation of the default storageclass has been configured. But the another storageclass gp2 is not configured, and still has the issue. For the storageclass gp2 is a backup storageclass for Ops, we only concern the default storageclass on online. The fix has been deployed on Online, could this bug be moved to ON_QA? The bug is verified on Online clusters. |