Bug 2131220
| Summary: | setting tolerations for non-ocs taint on toolbox pod is not working | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Bipin Kunal <bkunal> |
| Component: | ocs-operator | Assignee: | Malay Kumar parida <mparida> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Vishakha Kathole <vkathole> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.11 | CC: | kramdoss, mparida, muagarwa, nigoyal, ocs-bugs, odf-bz-bot, sostapov, tdesala |
| Target Milestone: | --- | Keywords: | Regression |
| Target Release: | ODF 4.12.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 4.12.0-79 | Doc Type: | Bug Fix |
| Doc Text: |
Previously, in 4.11, the handling of the ceph toolbox was moved from `ocsinitialization` to the `storagecluster` controller. The old way of enabling the toolbox from the `ocsinitialization cr` was kept as-is and did not account for the scenario when someone tries to add tolerations to the toolbox from the `ocsinitialization cr`. So, when someone tries to add tolerations to the toolbox by adding the tolerations to the `ocsinitialization cr`, they don't take effect. With this update, tolerations can now be added from the `ocsinitialization cr`, as well as the `storagecluster cr`, as intended. For example, with this fix, you can add tolerations without any issue when there is a taint on the node using the `ocsinitialization cr` even if the toolbox pod is not running.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-02-08 14:06:28 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2132693 | ||
|
Comment 3
Malay Kumar parida
2022-09-30 11:50:08 UTC
Ack, Agreed there is too much variation. Will keep it in mind. If possible in 4.13 I will try to align the toleration of all the resources to a similar structure. It can be in 4.12, But I think it will require a good amount of effort, so it's difficult to commit to 4.12. I will keep this in mind for 4.12 for now though. Hi Bipin, Working on it. PR will be up today PR is up, I have made it such that the old way of adding tolerations via the ocsinitialization still works & the new way of adding via the storagecluster is now structured Spec->Placement->Tolerations. In 4.11 when we moved the toolbox logic from ocsinitilization to storagecluster, it was a design decision. The toolbox should have been associated with the storagecluster itself from the beginning as it's unique to each cephcluster. So we are trying to move all the enable/disable, and reconcile logic to the storagecluster now but still keeping backward compatibility. The plan is in the future somewhere the compatibility with ocsinitialization would be removed & storagecluster would be the only place for anything related to the ceph toolbox. |