Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2479

Build Failure: Missing SonataFlowPlatform CRD during Helm installation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 1.9.0
    • Quality
    • False
    • Hide

      None

      Show
      None
    • False

      Issue Description: The build failed during the Helm chart installation for the `showcase-sanity-plugins` project.

      Failure Details: `Error: template: redhat-developer-hub/templates/sonataflows.yaml:2:33: executing "redhat-developer-hub/templates/sonataflows.yaml" at <lookup "sonataflow.org/v1alpha08" "SonataFlowPlatform" .Release.Namespace "sonataflow-platform">: error calling lookup: unable to get apiresource from unstructured: sonataflow.org/v1alpha08, Kind=SonataFlowPlatform: the server could not find the requested resource`

      Root Cause Analysis: The root cause of the build failure is the absence of the `SonataFlowPlatform` Custom Resource Definition (CRD) in the cluster. The Helm chart for `redhat-developer-hub` has a dependency on this CRD, and the `lookup` function in the Helm template is failing because it cannot find the required `sonataflow.org/v1alpha08` API resource. This indicates that the operator responsible for installing this CRD (likely the SonataFlow operator) did not install or start correctly. The build log confirms this with the errors `❌ Timed out after 300 seconds. Operator 'Crunchy Postgres for Kubernetes' did not reach 'Succeeded' phase.` and `❌ Error: Timed out waiting for tekton-pipelines-webhook endpoint creation.`, which point to a broader issue with operator installation and readiness in the test environment.

      Actionable Recommendations:
      1. Investigate why the dependent operators, such as the Crunchy Postgres and Tekton Pipelines operators, are failing to install or become ready in the test environment.
      2. Ensure that all required CRDs, including `SonataFlowPlatform`, are present in the cluster before attempting to install the `redhat-developer-hub` Helm chart.

              Unassigned Unassigned
              skhileri Subhash Khileri
              RHDH Install
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: