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

[upgrade] Reconciler error on openshift-gitops-applicationset-controller

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Blocker Blocker
    • 1.2
    • None
    • None
    • None
    • False
    • False
    • Undefined
    • GITOPS Sprint 204

      While upgrading the operator from v1.1.2 to v1.2, I noticed a Reconciler error on openshift-gitops-applicationset-controller. This does not allow the operator to reconcile any other resources/workloads ordered after applicationsets in the reconcile workflow. 

      Example: SSO feature cannot be enabled due to the reconciler error.

      Error log:
      ```

      {"level":"error","ts":1626957487.1035492,"logger":"controller-runtime.controller","msg":"Reconciler error","controller":"argocd-controller","request":"openshift-gitops/openshift-gitops","error":"Deployment.apps \"openshift-gitops-applicationset-controller\" is invalid: [spec.template.spec.containers[0].volumeMounts[0].name: Not found: \"ssh-known-hosts\", spec.template.spec.containers[0].volumeMounts[1].name: Not found: \"tls-certs\", spec.template.spec.containers[0].volumeMounts[2].name: Not found: \"gpg-keys\", spec.template.spec.containers[0].volumeMounts[3].name: Not found: \"gpg-keyring\", spec.template.spec.containers[0].volumeMounts[4].name: Not found: \"argocd-repo-server-tls\"]","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/go/src/github.com/redhat-developer/gitops-operator/vendor/github.com/go-logr/zapr/zapr.go:128\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/src/github.com/redhat-developer/gitops-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:258\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/src/github.com/redhat-developer/gitops-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:232\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\t/go/src/github.com/redhat-developer/gitops-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:211\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1\n\t/go/src/github.com/redhat-developer/gitops-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:155\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil\n\t/go/src/github.com/redhat-developer/gitops-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:156\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/go/src/github.com/redhat-developer/gitops-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/go/src/github.com/redhat-developer/gitops-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:90"}

      ```

      Steps to reproduce:
      Upgrade the operator to v1.2
      Update the ArgoCD CR to make any changes like Enable HA, Enable SSO.

       

      Acceptance Criteria:
      No reconciler error should be seen on the operator during upgrade.

              jgwest Jonathan West
              aveerama@redhat.com Abhishek Veeramalla
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: