-
Bug
-
Resolution: Done
-
Critical
-
1.31.0, 1.32.0
-
None
-
False
-
None
-
False
-
-
-
When is deployed productised SonataFlow Operator (image openshift-serverless-1-tech-preview/logic-operator-rhel8) into the OCP cluster using the OpenShift catalog, then builder is failing with following error message:
E1128 21:17:48.494139 1 config.go:65] "fetching configmap" err="ConfigMap \"sonataflow-operator-builder-config\" not found" name="sonataflow-operator-builder-config" E1128 21:17:48.494192 1 builder.go:55] "Failed to get common configMap for Workflow Builder. Make sure that sonataflow-operator-builder-config is present in the operator namespace." err="ConfigMap \"sonataflow-operator-builder-config\" not found" E1128 21:17:48.494207 1 sonataflowbuild_controller.go:81] "Failed to get create a build manager to handle the workflow build" err="ConfigMap \"sonataflow-operator-builder-config\" not found" E1128 21:17:48.494281 1 controller.go:324] sonataflow-manager "msg"="Reconciler error" "error"="ConfigMap \"sonataflow-operator-builder-config\" not found" "SonataFlowBuild"={"name":"greeting","namespace":"usecase1"} "controller"="sonataflowbuild" "controllerGroup"="sonataflow.org" "controllerKind"="SonataFlowBuild" "name"="greeting" "namespace"="usecase1" "reconcileID"="47a9b890-e471-4edb-94d1-442989d9efee"
The logic-operator deployed from catalog creates the ConfigMap, but the name is different than expected. This because the ConfigMap name is set as constant in the operator. See this line in builder/config.go.
ConfigMap created by bundle:
`logic-operator-rhel8-builder-config`
Expected ConfigMap by operator:
`sonataflow-operator-builder-config`
Fix proposal:
serverless logic-operator should expect the productised version of ConfigMap, the constant for ConfigMap name needs to be change for the product build of operator.
- is related to
-
SRVLOGIC-270 Servlerless Logic Operator is picking the wrong builder image
- Closed