Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-75298

[SCMIG] Got error in kubevirt-migration-controller

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • CNV v4.21.0
    • CNV v4.21.0
    • Storage Platform
    • None
    • Quality / Stability / Reliability
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • CNV Storage Sprint 281
    • None

      Description of problem:

      Got error in kubevirt-migration-controller

      Version-Release number of selected component (if applicable):

      CNV-v4.21.0.rhel9-83

      How reproducible:

      Always

      Steps to Reproduce:

      1. Setup 4.21 cluster
      2. Manually deploy the migcontroller CR in openshift-cnv ns: https://github.com/kubevirt/kubevirt-migration-operator/releases/download/v0.0.5/migrations_v1alpha1_migcontroller.yaml 
      3. Create a VM 
      4. Create a VirtualMachineStorageMigrationPlan
      5. Create a VirtualMachineStorageMigration to start the migration
      6. Check the log in kubevirt-migration-controller pod 

      Actual results:

      2025-12-18T04:51:12Z	INFO	storagemig-controller	Updating VM for storage migration	{"vm": "vm-cirros-source-ocs"}
      E1218 04:51:12.402728       1 reflector.go:205] "Failed to watch" err="failed to list *v1.ConfigMap: configmaps is forbidden: User \"system:serviceaccount:openshift-cnv:kubevirt-migration-sa\" cannot list resource \"configmaps\" in API group \"\" at the cluster scope" logger="UnhandledError" reflector="sigs.k8s.io/controller-runtime/pkg/cache/internal/informers.go:108" type="*v1.ConfigMap"
      E1218 04:51:13.329166       1 reflector.go:205] "Failed to watch" err="failed to list *v1.ConfigMap: configmaps is forbidden: User \"system:serviceaccount:openshift-cnv:kubevirt-migration-sa\" cannot list resource \"configmaps\" in API group \"\" at the cluster scope" logger="UnhandledError" reflector="sigs.k8s.io/controller-runtime/pkg/cache/internal/informers.go:108" type="*v1.ConfigMap"
      E1218 04:51:16.373993       1 reflector.go:205] "Failed to watch" err="failed to list *v1.ConfigMap: configmaps is forbidden: User \"system:serviceaccount:openshift-cnv:kubevirt-migration-sa\" cannot list resource \"configmaps\" in API group \"\" at the cluster scope" logger="UnhandledError" reflector="sigs.k8s.io/controller-runtime/pkg/cache/internal/informers.go:108" type="*v1.ConfigMap"
      E1218 04:51:21.599808       1 reflector.go:205] "Failed to watch" err="failed to list *v1.ConfigMap: configmaps is forbidden: User \"system:serviceaccount:openshift-cnv:kubevirt-migration-sa\" cannot list resource \"configmaps\" in API group \"\" at the cluster scope" logger="UnhandledError" reflector="sigs.k8s.io/controller-runtime/pkg/cache/internal/informers.go:108" type="*v1.ConfigMap"
      E1218 04:51:29.294259       1 reflector.go:205] "Failed to watch" err="failed to list *v1.ConfigMap: configmaps is forbidden: User \"system:serviceaccount:openshift-cnv:kubevirt-migration-sa\" cannot list resource \"configmaps\" in API group \"\" at the cluster scope" logger="UnhandledError" reflector="sigs.k8s.io/controller-runtime/pkg/cache/internal/informers.go:108" type="*v1.ConfigMap"
      E1218 04:51:50.744646       1 reflector.go:205] "Failed to watch" err="failed to list *v1.ConfigMap: configmaps is forbidden: User \"system:serviceaccount:openshift-cnv:kubevirt-migration-sa\" cannot list resource \"configmaps\" in API group \"\" at the cluster scope" logger="UnhandledError" reflector="sigs.k8s.io/controller-runtime/pkg/cache/internal/informers.go:108" type="*v1.ConfigMap"

      Expected results:

      Should not show these errors. 

      Additional info:

       

              akalenyu Alex Kalenyuk
              yadu1@redhat.com Yan Du
              Natalie Gavrielov Natalie Gavrielov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: