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

Fix RHDH OCP Orchestrator Helm e2e job failures for 1.8 and main

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.8.0, 1.9.0
    • Quality, Test Framework
    • False
    • Hide

      None

      Show
      None
    • False

      The RHDH OCP Orchestrator Helm e2e jobs (e2e-ocp-helm) were failing due to multiple issues with the SonataFlow database creation and test infrastructure. The helm chart's create-sonataflow-database job does not include the PGSSLMODE environment variable, causing database creation to fail when connecting to external PostgreSQL instances that require SSL (Crunchy Data PostgreSQL). This resulted in CrashLoopBackOff errors for sonataflow-platform-jobs-service, greeting workflow, and other orchestrator components in the showcase-rbac namespace.

      Fixes include: adding manual SSL-enabled database creation as a workaround, improving database creation reliability with proper error handling and timeouts, removing readOnlyRootFilesystem restriction (psql needs /tmp write access for SSL), increasing the dynamic-plugins-root volume from 2Gi to 5Gi, adding --wait --timeout flags to helm install commands, increasing Keycloak login timeout to 30 seconds, and fixing E2E test selectors and helper methods for the orchestrator RBAC test suite.

              chadcrum Chad Crum
              chadcrum Chad Crum
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: