Bug 1938078
| Summary: | [RFE] UI deployer would search for a pre-existing configmap and if present set the parameters to "ignore"(continuation from bug 1914475#c22) | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Neha Berry <nberry> |
| Component: | management-console | Assignee: | Sanjal Katiyar <skatiyar> |
| Status: | CLOSED WONTFIX | QA Contact: | Elad <ebenahar> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 4.7 | CC: | etamir, gshanmug, jefbrown, jrivera, madam, muagarwa, nthomas, ocs-bugs, odf-bz-bot, omitrani, sostapov, ygalanti |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | Flags: | etamir:
needinfo+
afrahman: needinfo? (ygalanti) |
| 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: | 2022-05-25 06:27:45 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
Neha Berry
2021-03-12 05:50:14 UTC
*** Bug 1938079 has been marked as a duplicate of this bug. *** @etamir , thoughts? We have two options on how we can do it from the UI perpective: 1) External CLI creation of the config then go back to UI 2) Build an option into the UI so the UI creates the config For now the UI simply overwrites what we have set into the config. Will retest with RC when it comes to confirm behavior. To the best of my knowledge as long as we do not have the easy 2 worker node deployment option from the UI and the otehr things that we have discussed here and there this customization will mainly be needed from the CLI anyway. I agree with Eran's point. Also, What is the case if backend configuration is created after the cluster creation from UI? the issue still remains. I don't think UI is a correct service to keep tracking of backend configurations and updating YAML. As Eran suggested once deployment started in CLI, it is better to follow the full CLI deployment. It is still possible to change the flag in YAML using CLI. @nberry Webhooks are not part of 4.9 The following line says that if we do find any extant ConfigMap and it does not have our expected configuration or OwnerReference we override the contents: https://github.com/red-hat-storage/ocs-operator/blob/main/controllers/storagecluster/cephconfig.go#L96 So I'll just confirm JC's initial request that the proper way to fix this would be to have the UI have an option to set the following in its StorageCluster definition: cephConfig: reconcileStrategy: ignore Still, this is mostly a nice-to-have for deployment scenarios that fall outside our officially supported use cases. It would still be a *good* thing to have, but not required for ODF 4.10 at this point. Moving to ODF 4.11 and changing components to the management console. |