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

Incorrect output notes after orchestrator-infra chart is run

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Release Note Not Required

      Description of problem:

      After installing the orchestrator-infra Helm chart, there is the following output in notes:

      NOTES:
      Helm Release my-orchestrator-infra installed in namespace sonataflow-infra.
      Components                         Installed   Namespace
      ====================================================================
      Red Hat Serverless Operator         YES      openshift-serverless
      Red Hat Serverless Logic Operator   YES     openshift-serverless-logic
      ====================================================================
      
      To manually approve the openshift-serverless InstallPlan:
      
      OS_PLAN=$(oc get installplan -n openshift-serverless)
      oc patch installplan $OS_PLAN -n openshift-serverless --type merge --patch '{"spec":{"approved":true}}'
      
      To manually approve the openshift-serverless-logic InstallPlan:
      
      OSL_PLAN=$(oc get installplan -n openshift-serverless)
      oc patch installplan $OSL_PLAN -n openshift-serverless --type merge --patch '{"spec":{"approved":true}}'
       

      The command for getting the installplan name is incorrect. It should be:

      OS_PLAN=$(oc get installplan -n openshift-serverless -o name) 

       and the follow up command should be:

      oc patch $OS_PLAN -n openshift-serverless --type merge --patch '{"spec":{"approved":true}}' 

      The same should be done for the section that retrives and patches the serverless-logic installplan.

      In addition, the second section should use the openshift-serverless-logic namespace, and not openshift-serverless.

      Steps to Reproduce

      1. Install the orchestrator-infra Helm chart.
      2. Try to follow the instructions outputted in the notes.

      Actual results:
      oc patch will fails as the oc get installplan command generates incorrect output.

      Expected results: 
      Commands should generate desired output

      Reproducibility (Always/Intermittent/Only Once): Always

              rhn-support-kavverma Kavya Verma
              yfirst Yona First
              RHIDP - Install
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: