Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-198

MTC upgrade path will be affected by changed labelselectors on operands

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • OADP 1.0.1
    • None
    • None
    • None
    • OADP Sprint 204
    • 1
    • 0
    • 0
    • 0
    • Untriaged
    • None

      Here is the upgrade error

      ```
      2022-01-12T17:19:30.731Z    ERROR    controller.dataprotectionapplication    Reconciler error    {"reconciler group": "oadp.openshift.io", "reconciler kind": "DataProtectionApplication", "name": "velero", "namespace": "openshift-migration", "error": "Deployment.apps \"velero\" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string

      {\"app.kubernetes.io/component\":\"server\", \"app.kubernetes.io/instance\":\"velero\", \"app.kubernetes.io/managed-by\":\"oadp-operator\", \"app.kubernetes.io/name\":\"velero\", \"openshift.io/oadp\":\"True\"}

      , MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable"}
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
          /go/src/github.com/openshift/oadp-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227
      2022-01-12T17:20:11.692Z    INFO    controller.dataprotectionapplication    got provider secret name: cloud-credentials    {"reconciler group": "oadp.openshift.io", "reconciler kind": "DataProtectionApplication", "name": "velero", "namespace": "openshift-migration"}
      2022-01-12T17:20:11.692Z    INFO    controller.dataprotectionapplication    got provider secret name: cloud-credentials-gcp    {"reconciler group": "oadp.openshift.io", "reconciler kind": "DataProtectionApplication", "name": "velero", "namespace": "openshift-migration"}
      2022-01-12T17:20:11.692Z    INFO    controller.dataprotectionapplication    got provider secret name: cloud-credentials-azure    {"reconciler group": "oadp.openshift.io", "reconciler kind": "DataProtectionApplication", "name": "velero", "namespace": "openshift-migration"}
      2022-01-12T17:20:11.711Z    ERROR    controller.dataprotectionapplication    Reconciler error    {"reconciler group": "oadp.openshift.io", "reconciler kind": "DataProtectionApplication", "name": "velero", "namespace": "openshift-migration", "error": "Deployment.apps \"velero\" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string

      {\"app.kubernetes.io/component\":\"server\", \"app.kubernetes.io/instance\":\"velero\", \"app.kubernetes.io/managed-by\":\"oadp-operator\", \"app.kubernetes.io/name\":\"velero\", \"openshift.io/oadp\":\"True\"}

      , MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable"}
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
          /go/src/github.com/openshift/oadp-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227
      ```

              rhn-engineering-dymurray Dylan Murray
              rhn-engineering-dymurray Dylan Murray
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: