Bug 2030840
| Summary: | When deploying simple-kmod, an additional special-resource-operator cluster operator is created | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Udi Kalifon <ukalifon> |
| Component: | Special Resource Operator | Assignee: | Quentin Barrand <quba> |
| Status: | CLOSED NOTABUG | QA Contact: | Walid A. <wabouham> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.9 | CC: | aos-bugs, bthurber, quba |
| Target Milestone: | --- | ||
| Target Release: | 4.11.0 | ||
| 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-03-03 14:50:25 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
Udi Kalifon
2021-12-09 20:44:10 UTC
Hi Udi, Constantin and I dug into this and here are our findings: - Operator objects are created by the OLM when installing an operator - ClusterOperator objects are created by operators themselves to report their status to Kubernetes. It is still unclear for me who consumes that data. There are two issues with the way SRO deals with its ClusterOperator object at the moment: - SRO only creates the ClusterOperator after the first reconciliation, while it should probably do it as soon as it's ready. That explains why the ClusterOperator object only show up after you install simple-kmod. - The Operator object is named openshift-special-resource-operator, while the ClusterOperator is named special-resource-operator. We should probably change this, but we should first understand if the ClusterOperator data is used by some component. This BZ is being worked on downstream. Some prior work is required to merge all upstream changes that did not make it to downstream. SRO is not a core operator, and as such it is not supposed to publish a ClusterOperator object. The corresponding code will be removed and no ClusterOperator will be created moving forward. |