-
Bug
-
Resolution: Done
-
Critical
-
1.5
-
False
-
-
False
-
-
Bug reported by customer: https://access.redhat.com/support/cases/#/case/04185008
Description of the problem:
When the orchestrator is installed on existing RHDH and helm chart is used deploy RHDH we get "error": "no matches for kind \"Backstage\" in version \"rhdh.redhat.com/v1alpha3\""
How reproducible:
Install RHDH using helm chart and add the orchestrator to existing RHDH.
Actual results:
The controller fails with:
2025-06-27T03:24:08Z ERROR Error occurred when listing RHDH CRs {"controller": "orchestrator", "controllerGroup": "rhdh.redhat.com", "controllerKind": "Orchestrator", "Orchestrator":
{"name":"orchestrator-sample","namespace":"cti-svcs-orion-177398"}, "namespace": "cti-svcs-orion-177398", "name": "orchestrator-sample", "reconcileID": "825ca875-ea87-4cb4-a32c-a11ea170ed54", "error": "no matches for kind \"Backstage\" in version \"rhdh.redhat.com/v1alpha3\""}
github.com/rhdhorchestrator/orchestrator-operator/internal/controller/rhdh.listBackstageCRs
/workspace/internal/controller/rhdh/backstage.go:300
github.com/rhdhorchestrator/orchestrator-operator/internal/controller/rhdh.HandleRHDHCleanUp
/workspace/internal/controller/rhdh/backstage.go:265
github.com/rhdhorchestrator/orchestrator-operator/internal/controller.(*OrchestratorReconciler).reconcileRHDH
/workspace/internal/controller/orchestrator_controller.go:345
github.com/rhdhorchestrator/orchestrator-operator/internal/controller.(*OrchestratorReconciler).Reconcile
/workspace/internal/controller/orchestrator_controller.go:193
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Reconcile
/cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.4/pkg/internal/controller/controller.go:116
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler
/cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.4/pkg/internal/controller/controller.go:303
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem
/cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.4/pkg/internal/controller/controller.go:263
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2
/cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.4/pkg/internal/controller/controller.go:224
2025-06-27T03:24:08Z ERROR Failed to list RHDH CRs or have no RHDH CRs created by Orchestrator Operator and cannot perform clean up process {"controller": "orchestrator", "controllerGroup": "rhdh.redhat.com", "controllerKind": "Orchestrator", "Orchestrator":
, "namespace": "cti-svcs-orion-177398", "name": "orchestrator-sample", "reconcileID": "825ca875-ea87-4cb4-a32c-a11ea170ed54", "error": "no matches for kind \"Backstage\" in version \"rhdh.redhat.com/v1alpha3\""}
github.com/rhdhorchestrator/orchestrator-operator/internal/controller/rhdh.HandleRHDHCleanUp
/workspace/internal/controller/rhdh/backstage.go:268
github.com/rhdhorchestrator/orchestrator-operator/internal/controller.(*OrchestratorReconciler).reconcileRHDH
/workspace/internal/controller/orchestrator_controller.go:345
github.com/rhdhorchestrator/orchestrator-operator/internal/controller.(*OrchestratorReconciler).Reconcile
/workspace/internal/controller/orchestrator_controller.go:193
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Reconcile
/cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.4/pkg/internal/controller/controller.go:116
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler
/cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.4/pkg/internal/controller/controller.go:303
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem
/cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.4/pkg/internal/controller/controller.go:263
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2
/cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.4/pkg/internal/controller/controller.go:224
Here is the CR:
apiVersion: rhdh.redhat.com/v1alpha3 kind: Orchestrator metadata: creationTimestamp: '2025-06-27T03:24:06Z' finalizers: - rhdh.redhat.com/orchestrator-cleanup generation: 3 managedFields: - apiVersion: rhdh.redhat.com/v1alpha3 fieldsType: FieldsV1 fieldsV1: 'f:metadata': 'f:finalizers': .: {} 'v:"rhdh.redhat.com/orchestrator-cleanup"': {} 'f:spec': 'f:platform': 'f:eventing': .: {} 'f:broker': {} 'f:monitoring': .: {} 'f:enabled': {} manager: manager operation: Update time: '2025-06-27T03:24:06Z' - apiVersion: rhdh.redhat.com/v1alpha3 fieldsType: FieldsV1 fieldsV1: 'f:status': .: {} 'f:conditions': {} 'f:phase': {} manager: manager operation: Update subresource: status time: '2025-06-27T03:24:08Z' - apiVersion: rhdh.redhat.com/v1alpha3 fieldsType: FieldsV1 fieldsV1: 'f:spec': .: {} 'f:argocd': .: {} 'f:enabled': {} 'f:platform': .: {} 'f:namespace': {} 'f:resources': .: {} 'f:limits': .: {} 'f:cpu': {} 'f:memory': {} 'f:requests': .: {} 'f:cpu': {} 'f:memory': {} 'f:postgres': .: {} 'f:authSecret': .: {} 'f:name': {} 'f:passwordKey': {} 'f:userKey': {} 'f:database': {} 'f:name': {} 'f:namespace': {} 'f:rhdh': .: {} 'f:devMode': {} 'f:installOperator': {} 'f:name': {} 'f:namespace': {} 'f:serverless': .: {} 'f:installOperator': {} 'f:serverlessLogic': .: {} 'f:installOperator': {} 'f:tekton': .: {} 'f:enabled': {} manager: Mozilla operation: Update time: '2025-06-27T13:41:43Z' name: orchestrator-sample namespace: cti-svcs-orion-177398 resourceVersion: '11761075' uid: 843447a2-58a9-4552-acfe-6925e6fbb34b spec: argocd: enabled: false platform: eventing: broker: {} monitoring: enabled: false namespace: sonataflow-infra resources: limits: cpu: 500m memory: 1Gi requests: cpu: 250m memory: 64Mi postgres: authSecret: name: sonataflow-psql-postgresql passwordKey: postgres-password userKey: postgres-username database: sonataflow name: sonataflow-psql-postgresql namespace: sonataflow-infra rhdh: devMode: false installOperator: false name: rhdh namespace: cti-svcs-orion-177398 serverless: installOperator: false serverlessLogic: installOperator: false tekton: enabled: false status: conditions: - lastTransitionTime: '2025-06-27T03:24:06Z' message: Starting Reconciliation reason: Reconciling status: Unknown type: Available - lastTransitionTime: '2025-06-27T03:24:08Z' message: no matches for kind "Backstage" in version "rhdh.redhat.com/v1alpha3" reason: ReconcilingRHDHResourcesFailed status: 'False' type: Degrading phase: Failed
Expected results:
The operator should work without any issues.
- is related to
-
FLPATH-2315 [go operator] When installing orchestrator without RHDH operator, orchestrator CR in failed state
-
- Closed
-
- links to