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

[operator 1.4 rc build] Orchestrator resource install fails if rhdh_operator is disabled but no subscription is passed

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Description of the problem:
      Creating the orchestrator CR in 1.4-rc2 with rhdhOperator.enabled: false and not defining rhdhOperator.subscription.sourceName fails with the following error:

      - lastTransitionTime: '2025-01-02T11:50:51Z'      
        message: |        
      failed to install release: values don't meet the specifications of the schema(s) in the following chart(s):        
      orchestrator:        
      - rhdhOperator.subscription: sourceName is required      
      reason: InstallError      
      status: 'True'      
      type: ReleaseFailed 

       If rhdhOperator.enabled is set to false, it does not make sense that defining the other variables under rhdhOperator should be mandatory. This a regression as well - it worked for milestone 3.

      How reproducible: 100%

      Steps to reproduce:

      1. Deploy RHDH 1.4

      2. Deploy Orchestrator operator 1.4-rc2, and create an orchestrator resource with only the following under rhdhOperator:

        rhdhOperator:
          enabled: false 

      3. Check the orchestrator's status 

      Actual results:
      Orchestrator installment fails:

      NAMESPACE      NAME           READY   REASON
      orchestrator   orchestrator   True    InstallError 

      with the error reported above.

      Expected results:
      Orchestrator should be able to be installed with only rhdhOperator.enabled: false. Other fields, like the sonataflow operators, can be disabled and not need other sub-fields set for the orchestrator  resource to be installed.

              jubah@redhat.com Jennifer Ubah
              yfirst Yona First
              Yona First Yona First
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: