Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-3838

[RDR] Installation of Gitops op. is stuck on passive hub after performing hub recovery

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 1.11.0
    • Operator
    • True
    • Without Gitops operator, failover/relocate operation on DR protected workloads wouldn't complete.
    • False
    • Important

      Description of problem:

      While testing hub recovery for Regional DR (ODF) solution, before moving to passive hub, I forgot to install the Gitops operator on it which is a pre-req. Afterwards, when I tried installing the operator, it remains stuck forever.

      This is what I see on the console:
      `RequirementsNotMet one or more requirements couldn't be found`

      Under Subscription:
      InstallComponentFailed

      error validating existing CRs against new CRD's schema for "argocds.argoproj.io": error listing resources in GroupVersionResource schema.GroupVersionResource

      {Group:"argoproj.io", Version:"v1alpha1", Resource:"argocds"}

      : conversion webhook for argoproj.io/v1beta1, Kind=ArgoCD failed: Post "https://openshift-gitops-operator-controller-manager-service.openshift-gitops-operator.svc:443/convert?timeout=30s": service "openshift-gitops-operator-controller-manager-service" not found

      Workaround Not aware of any

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

      Openshift gitops 1.11.0
      OCP 4.15.0-0.nightly-2024-01-03-015912
      ACM GA'ed 2.9.1
      ODF 4.15.0-104
      ceph version 17.2.6-167.el9cp (5ef1496ea3e9daaa9788809a172bd5a1c3192cf7) quincy (stable)

      Steps to Reproduce

      1. Configure a Regional DR (ODF) setup and perform hub recovery by ensuring that Gitops operator is missing from the passive hub at the time of hub recovery.
      After hub recovery is complete and passive hub becomes active, try installing Gitops operator and check it's status.

      This internal QE doc. could be followed to bring up the setup (just for reference, however it's always recommended to follow the official docs.).

       

      Actual results: Installation of Gitops op. is stuck on passive hub after performing hub recovery

      Expected results: Installation of Gitops op. should be successful on passive hub even after performing hub recovery

      Reproducibility (Always/Intermittent/Only Once): Should be always, haven't tried more than once

      Acceptance criteria:  Installation of Gitops op. should be successful on passive hub even after performing hub recovery

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

              Unassigned Unassigned
              amagrawa@redhat.com Aman Agrawal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: