Bug 2135834
| Summary: | For any unacceptable values updation in rook-ceph-config configmap no error logs are provided | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Amrita Mahapatra <ammahapa> |
| Component: | rook | Assignee: | Travis Nielsen <tnielsen> |
| Status: | CLOSED WONTFIX | QA Contact: | Neha Berry <nberry> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 4.12 | CC: | madam, mrajanna, ocs-bugs, odf-bz-bot |
| 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: | 2022-10-18 18:06:12 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
Amrita Mahapatra
2022-10-18 14:22:30 UTC
The CRDs have a schema for validation, but this configmap is just a simple list of key-value pairs, with no schema attached. If wondering why a setting wasn't applied you anyway need to look in the operator log to see the value you set and compare it to the docs for what you should set. Yes, it would be better see an error in the log, but effectively implementing a schema for the configmap seems more effort than it's worth. (In reply to Travis Nielsen from comment #3) > The CRDs have a schema for validation, but this configmap is just a simple > list of key-value pairs, with no schema attached. > > If wondering why a setting wasn't applied you anyway need to look in the > operator log to see the value you set and compare it to the docs for what > you should set. Yes, it would be better see an error in the log, but > effectively implementing a schema for the configmap seems more effort than > it's worth. Yes having schema is not worth, but we an log and user can at-least see the error in the operation logs that should be fine in think. After discussing offline with Madhu we feel without a full schema we will have many corner cases that will be challenging to cover. Generally validating all of these settings is not a goal. But please reopen if you feel there is a common case that has been difficult to troubleshoot that really should be fixed. |