Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-44864

Fix warning in vsphere-syncer when CSI migration is disabled in multi-VC clusters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • 4.18.0
    • 4.18.0
    • Storage / Operators
    • None
    • None
    • False
    • Hide

      None

      Show
      None

      When CSI migration is disabled in multi-VC clusters, it logs these warnings in syncer logs:

      2024-11-21T04:09:36.594959602Z syncer/metadatasyncer.go:1853 podAdded: failed to get migration service. Err: volume-migration feature is not supported on Multi-vCenter deployment
      sigs.k8s.io/vsphere-csi-driver/v3/pkg/syncer.podAdded
              /go/src/github.com/kubernetes-sigs/vsphere-csi-driver/pkg/syncer/metadatasyncer.go:1853
      sigs.k8s.io/vsphere-csi-driver/v3/pkg/syncer.InitMetadataSyncer.func7
              /go/src/github.com/kubernetes-sigs/vsphere-csi-driver/pkg/syncer/metadatasyncer.go:530
      k8s.io/client-go/tools/cache.ResourceEventHandlerFuncs.OnAdd
              /go/src/github.com/kubernetes-sigs/vsphere-csi-driver/vendor/k8s.io/client-go/tools/cache/controller.go:243
      k8s.io/client-go/tools/cache.(*processorListener).run.func1
              /go/src/github.com/kubernetes-sigs/vsphere-csi-driver/vendor/k8s.io/client-go/tools/cache/shared_informer.go:973
      k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1
              /go/src/github.com/kubernetes-sigs/vsphere-csi-driver/vendor/k8s.io/apimachinery/pkg/util/wait/backoff.go:226
      k8s.io/apimachinery/pkg/util/wait.BackoffUntil
              /go/src/github.com/kubernetes-sigs/vsphere-csi-driver/vendor/k8s.io/apimachinery/pkg/util/wait/backoff.go:227
      k8s.io/apimachinery/pkg/util/wait.JitterUntil
              /go/src/github.com/kubernetes-sigs/vsphere-csi-driver/vendor/k8s.io/apimachinery/pkg/util/wait/backoff.go:204
      k8s.io/apimachinery/pkg/util/wait.Until
              /go/src/github.com/kubernetes-sigs/vsphere-csi-driver/vendor/k8s.io/apimachinery/pkg/util/wait/backoff.go:161
      k8s.io/client-go/tools/cache.(*processorListener).run
              /go/src/github.com/kubernetes-sigs/vsphere-csi-driver/vendor/k8s.io/client-go/tools/cache/shared_informer.go:967
      k8s.io/apimachinery/pkg/util/wait.(*Group).Start.func1
              /go/src/github.com/kubernetes-sigs/vsphere-csi-driver/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:72
      

      We should stop this from happening.

              hekumar@redhat.com Hemant Kumar
              hekumar@redhat.com Hemant Kumar
              Wei Duan Wei Duan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: