Uploaded image for project: 'FlightPath'
  1. FlightPath
  2. FLPATH-2641

dynamic-course-select workflow stuck in CLBO in 1.7

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Description of the problem: 
      Workflow pod is stuck in CLBO. Proxy, other config were deployed properly. Network policy was configured to allow pods access to others in the namespace.

      The following appear in the pod events:

      Startup probe failed: Get "http://10.129.0.98:8080/q/health/started": dial tcp 10.129.0.98:8080: connect: connection refused

       

       

      How reproducible: 100%

      Steps to reproduce:

      1. Deploy RHDH 1.7 with the orchestrator 1.7 plugins

      2. Deploy dynamic-course-select workflow with required config

      3. observe pod status

      Actual results: See above. This blocks testing dynamic UI changes

      Expected results: Pod should deploy normally

      Extra:
      pod status:

      oc get pods
      NAME                                                      READY   STATUS    RESTARTS       AGE
      backstage-backstage-6964cf87c6-vpzdf                      1/1     Running   0              76m
      backstage-psql-backstage-0                                1/1     Running   0              143m
      dynamic-course-select-67f56ffdbd-cbzsl                    0/1     Running   21 (94s ago)   77m
      greeting-7b67564584-67qv6                                 1/1     Running   0              138m
      mta-analysis-v7-74fcb8655d-57t5r                          1/1     Running   0              96m
      mytesthttpserver                                          1/1     Running   0              78m
      rhdh-operator-5cb6696c45-vndp6                            1/1     Running   0              144m
      sonataflow-platform-data-index-service-6664c4785c-prs8h   1/1     Running   0              141m
      sonataflow-platform-jobs-service-6845d9498d-m95s2         1/1     Running   0              141m
       

      workflow SF:

      apiVersion: sonataflow.org/v1alpha08
      kind: SonataFlow
      metadata:
        annotations:
          kubectl.kubernetes.io/last-applied-configuration: |
            {"apiVersion":"sonataflow.org/v1alpha08","kind":"SonataFlow","metadata":{"annotations":{"sonataflow.org/description":"Simple workflow demonstrating basics of using the orchestrator-form-widgets library. Requires corresponding HTTP endpoints to be up and proxy to be configured.","sonataflow.org/expressionLang":"jq","sonataflow.org/profile":"gitops","sonataflow.org/version":"1.0"},"creationTimestamp":null,"labels":{"app":"dynamic-course-select","sonataflow.org/workflow-app":"dynamic-course-select"},"name":"dynamic-course-select","namespace":"rhdh-operator"},"spec":{"flow":{"dataInputSchema":{"failOnValidationErrors":true,"schema":"schemas/dynamic-course-select__main-schema.json"},"functions":[{"name":"PrintSuccessData","operation":"{ \"result\": { \"message\": \"The workflow finished successfully.\", \"outputs\": [ { \"key\": \"resourceOne\", \"value\": $WORKFLOW.instanceId }, { \"key\": \"studentName\", \"value\": .studentName }, { \"key\": \"courseName\", \"value\": .courseName }, { \"key\": \"room\", \"value\": .courseDetails.room }, { \"key\": \"requestCertificate\", \"value\": .courseDetails.requestCertificate }, { \"key\": \"complimentaryDrinks\", \"value\": .complimentaryDrinks }, { \"key\": \"teacher\", \"value\": .preferredTeacher } ] } }","type":"expression"}],"start":{"stateName":"Start"},"states":[{"actionMode":"sequential","actions":[{"actionDataFilter":{"useResults":true},"functionRef":{"invoke":"sync","refName":"PrintSuccessData"},"name":"Fill progress data"}],"end":{"terminate":true},"name":"Start","type":"operation"}]},"persistence":{"postgresql":{"secretRef":{"name":"backstage-psql-secret-backstage","passwordKey":"POSTGRES_PASSWORD","userKey":"POSTGRES_USER"},"serviceRef":{"databaseName":"sonataflow","databaseSchema":"dynamic-course-select","name":"backstage-psql-backstage","namespace":"rhdh-operator"}}},"podTemplate":{"container":{"image":"quay.io/orchestrator/dynamic-course-demo-server:latest","resources":{}}},"resources":{"configMaps":[{"configMap":{"name":"01-dynamic-course-select-resources-schemas"},"workflowPath":"schemas"}]}},"status":{"address":{},"lastTimeRecoverAttempt":null}}
          sonataflow.org/description: Simple workflow demonstrating basics of using the
            orchestrator-form-widgets library. Requires corresponding HTTP endpoints to
            be up and proxy to be configured.
          sonataflow.org/expressionLang: jq
          sonataflow.org/profile: gitops
          sonataflow.org/version: "1.0"
        creationTimestamp: "2025-08-14T19:53:13Z"
        finalizers:
        - workflow-deletion
        generation: 1
        labels:
          app: dynamic-course-select
          sonataflow.org/workflow-app: dynamic-course-select
        name: dynamic-course-select
        namespace: rhdh-operator
        resourceVersion: "432451"
        uid: 79bcfc8f-ec62-4f2c-b2f9-621fa388b675
      spec:
        flow:
          dataInputSchema:
            failOnValidationErrors: true
            schema: schemas/dynamic-course-select__main-schema.json
          functions:
          - name: PrintSuccessData
            operation: '{ "result": { "message": "The workflow finished successfully.",
              "outputs": [ { "key": "resourceOne", "value": $WORKFLOW.instanceId }, { "key":
              "studentName", "value": .studentName }, { "key": "courseName", "value": .courseName
              }, { "key": "room", "value": .courseDetails.room }, { "key": "requestCertificate",
              "value": .courseDetails.requestCertificate }, { "key": "complimentaryDrinks",
              "value": .complimentaryDrinks }, { "key": "teacher", "value": .preferredTeacher
              } ] } }'
            type: expression
          start:
            stateName: Start
          states:
          - actionMode: sequential
            actions:
            - actionDataFilter:
                useResults: true
              functionRef:
                invoke: sync
                refName: PrintSuccessData
              name: Fill progress data
            end:
              terminate: true
            name: Start
            type: operation
        persistence:
          dbMigrationStrategy: service
          postgresql:
            secretRef:
              name: backstage-psql-secret-backstage
              passwordKey: POSTGRES_PASSWORD
              userKey: POSTGRES_USER
            serviceRef:
              databaseName: sonataflow
              databaseSchema: dynamic-course-select
              name: backstage-psql-backstage
              namespace: rhdh-operator
        podTemplate:
          container:
            image: quay.io/orchestrator/dynamic-course-demo-server:latest
            resources: {}
        resources:
          configMaps:
          - configMap:
              name: 01-dynamic-course-select-resources-schemas
            workflowPath: schemas
      status:
        address: {}
        conditions:
        - lastUpdateTime: "2025-08-14T19:53:24Z"
          reason: BuildSkipped
          status: "False"
          type: Built
        - lastUpdateTime: "2025-08-14T19:53:54Z"
          reason: WaitingForDeployment
          status: "False"
          type: Running
        flowCRC: 3683228306
        observedGeneration: 1
        platform:
          name: sonataflow-platform
          namespace: rhdh-operator
        services:
          dataIndexRef:
            url: http://sonataflow-platform-data-index-service.rhdh-operator
          jobServiceRef:
            url: http://sonataflow-platform-jobs-service.rhdh-operator
       

       

       

        1. image-2025-08-17-13-23-32-062.png
          179 kB
          Yona First
        2. sonataflow.txt
          8 kB
          Yona First

              rh-ee-eshalev Elai Shalev
              yfirst Yona First
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: