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

Failing commands in orchestrator-software-templates-infra chart notes

XMLWordPrintable

    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • Release Note Not Required

      Description of problem:
      After running the helm install command for the orchestrator-software-templates-infra, and executing the instructions in the generated notes, the instructions in the CLI fail:

      oc wait --for=condition=Ready pod --all -n orchestrator-gitops --timeout=120s
      error: no matching resources found
      

      However, when the following is run there are results:

      oc get pods -n openshift-gitops 
      NAME                                                          READY   STATUS    RESTARTS   AGE
      cluster-56f9cfbb5f-b9wkt                                      1/1     Running   0          84m
      gitops-plugin-84c548894f-jb27h                                1/1     Running   0          84m
      openshift-gitops-application-controller-0                     1/1     Running   0          83m
      openshift-gitops-applicationset-controller-5fb5cf7c4b-vmcjm   1/1     Running   0          83m
      openshift-gitops-dex-server-76dcb44d5d-b2zx9                  1/1     Running   0          83m
      openshift-gitops-redis-757445846c-z2jdb                       1/1     Running   0          83m
      openshift-gitops-repo-server-7f5bff8f5d-tj8p5                 1/1     Running   0          83m
      openshift-gitops-server-5ddbb9b9fb-v6bdz                      1/1     Running   0          83m
      

       

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Deploy the [orchestrator-software-templates-infra chart|orchestrator-software-templates-infra chart], using the folowing commands:

      helm repo add redhat-developer https://redhat-developer.github.io/rhdh-chart
      helm install my-orchestrator-software-templates-infra redhat-developer/orchestrator-software-templates-infra --version 0.2.4 

      2. Follow the instructions in the notes once the relevant namespaces have finished deploying.

      Actual results:

      See above.

      Expected results:

      Commands should execute normally

      Additional info (Such as Logs, Screenshots, etc):
      According to rh-ee-asoro :
      I was able to reproduce this. But it works correctly if I reinstall the orchestrator software templates infra chart again with "helm upgrade --install my-orchestrator-software-templates-infra redhat-developer/orchestrator-software-templates-infra --version 0.2.4"
      I think there might be a race condition when this line (https://github.com/redhat-developer/rhdh-chart/blob/main/charts/orchestrator-software-templates-infra/templates/openshift-gitops/argocd-cr.yaml#L1 ) checks if the ArgoCD CRDs are available, but they may not be installed yet.

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

                Created:
                Updated: