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

Sync VMI loop on VMs with 2+ secondary networks

XMLWordPrintable

    • Quality / Stability / Reliability
    • 4
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Important
    • Customer Reported
    • None

      Description of problem:

      When the VM has 2+ secondary networks, SyncVMI is done continuously in a loop and the VMI object status is updated continuously with IP address changes (add/remove/add/remove...)
      
      The UI slows down because of this as well, too many updates.

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

      CNV 4.19.8

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create a VM with 2+ secondary networks
      
      spec:
        domain:
          devices:
            interfaces:
              - bridge: {}
                macAddress: "52:54:00:00:09:06"
                model: virtio
                name: nic
              - macAddress: 02:67:fe:00:00:02
                masquerade: {}
                model: virtio
                name: nic-chocolate-skink-72
                state: up
              - bridge: {}
                macAddress: 02:67:fe:00:00:05
                model: virtio
                name: nic-violet-salmon-34
                state: up
        networks:
          - multus:
              networkName: virt
            name: nic
          - name: nic-chocolate-skink-72
            pod: {}
          - multus:
              networkName: shift
            name: nic-violet-salmon-34
      
      2. Start the VM
      

      Actual results:

      SyncVMI looping many times a second, IP address being updated endlessly in the VMI object.
      
      # oc get vmi rhel-96 -w
      NAME      AGE     PHASE     IP             NODENAME                READY
      rhel-96   4m27s   Running   192.168.2.84   white.shift.home.arpa   True
      rhel-96   4m27s   Running                  white.shift.home.arpa   True
      rhel-96   4m27s   Running   192.168.2.84   white.shift.home.arpa   True
      rhel-96   4m27s   Running                  white.shift.home.arpa   True
      rhel-96   4m27s   Running   192.168.2.84   white.shift.home.arpa   True
      rhel-96   4m27s   Running                  white.shift.home.arpa   True
      rhel-96   4m27s   Running   192.168.2.84   white.shift.home.arpa   True
      rhel-96   4m27s   Running                  white.shift.home.arpa   True
      rhel-96   4m27s   Running   192.168.2.84   white.shift.home.arpa   True
      rhel-96   4m27s   Running                  white.shift.home.arpa   True
      rhel-96   4m28s   Running   192.168.2.84   white.shift.home.arpa   True
      rhel-96   4m28s   Running                  white.shift.home.arpa   True
      rhel-96   4m28s   Running   192.168.2.84   white.shift.home.arpa   True
      rhel-96   4m28s   Running                  white.shift.home.arpa   True
      rhel-96   4m28s   Running   192.168.2.84   white.shift.home.arpa   True
      rhel-96   4m28s   Running                  white.shift.home.arpa   True
      rhel-96   4m28s   Running   192.168.2.84   white.shift.home.arpa   True
      rhel-96   4m28s   Running                  white.shift.home.arpa   True
      
      
      {"component":"virt-launcher","kind":"","level":"info","msg":"Synced vmi","name":"rhel-96","namespace":"homelab","pos":"server.go:208","timestamp":"2025-09-16T01:38:35.979577Z","uid":"177ad70b-5539-45d8-a2a2-34c947a3f1d4"}{"component":"virt-launcher","kind":"","level":"info","msg":"Synced vmi","name":"rhel-96","namespace":"homelab","pos":"server.go:208","timestamp":"2025-09-16T01:38:35.996711Z","uid":"177ad70b-5539-45d8-a2a2-34c947a3f1d4"}{"component":"virt-launcher","kind":"","level":"info","msg":"Synced vmi","name":"rhel-96","namespace":"homelab","pos":"server.go:208","timestamp":"2025-09-16T01:38:36.179636Z","uid":"177ad70b-5539-45d8-a2a2-34c947a3f1d4"}{"component":"virt-launcher","kind":"","level":"info","msg":"Synced vmi","name":"rhel-96","namespace":"homelab","pos":"server.go:208","timestamp":"2025-09-16T01:38:36.197512Z","uid":"177ad70b-5539-45d8-a2a2-34c947a3f1d4"}{"component":"virt-launcher","kind":"","level":"info","msg":"Synced vmi","name":"rhel-96","namespace":"homelab","pos":"server.go:208","timestamp":"2025-09-16T01:38:36.378210Z","uid":"177ad70b-5539-45d8-a2a2-34c947a3f1d4"}{"component":"virt-launcher","kind":"","level":"info","msg":"Synced vmi","name":"rhel-96","namespace":"homelab","pos":"server.go:208","timestamp":"2025-09-16T01:38:36.394401Z","uid":"177ad70b-5539-45d8-a2a2-34c947a3f1d4"}{"component":"virt-launcher","kind":"","level":"info","msg":"Synced vmi","name":"rhel-96","namespace":"homelab","pos":"server.go:208","timestamp":"2025-09-16T01:38:36.580610Z","uid":"177ad70b-5539-45d8-a2a2-34c947a3f1d4"}{"component":"virt-launcher","kind":"","level":"info","msg":"Synced vmi","name":"rhel-96","namespace":"homelab","pos":"server.go:208","timestamp":"2025-09-16T01:38:36.597274Z","uid":"177ad70b-5539-45d8-a2a2-34c947a3f1d4"}{"component":"virt-launcher","kind":"","level":"info","msg":"Synced vmi","name":"rhel-96","namespace":"homelab","pos":"server.go:208","timestamp":"2025-09-16T01:38:36.779068Z","uid":"177ad70b-5539-45d8-a2a2-34c947a3f1d4"}{"component":"virt-launcher","kind":"","level":"info","msg":"Synced vmi","name":"rhel-96","namespace":"homelab","pos":"server.go:208","timestamp":"2025-09-16T01:38:36.795814Z","uid":"177ad70b-5539-45d8-a2a2-34c947a3f1d4"}{"component":"virt-launcher","kind":"","level":"info","msg":"Synced vmi","name":"rhel-96","namespace":"homelab","pos":"server.go:208","timestamp":"2025-09-16T01:38:36.979971Z","uid":"177ad70b-5539-45d8-a2a2-34c947a3f1d4"}{"component":"virt-launcher","kind":"","level":"info","msg":"Synced vmi","name":"rhel-96","namespace":"homelab","pos":"server.go:208","timestamp":"2025-09-16T01:38:36.997183Z","uid":"177ad70b-5539-45d8-a2a2-34c947a3f1d4"}{"component":"virt-launcher","kind":"","level":"info","msg":"Synced vmi","name":"rhel-96","namespace":"homelab","pos":"server.go:208","timestamp":"2025-09-16T01:38:37.178693Z","uid":"177ad70b-5539-45d8-a2a2-34c947a3f1d4"}{"component":"virt-launcher","kind":"","level":"info","msg":"Synced vmi","name":"rhel-96","namespace":"homelab","pos":"server.go:208","timestamp":"2025-09-16T01:38:37.195548Z","uid":"177ad70b-5539-45d8-a2a2-34c947a3f1d4"}{"component":"virt-launcher","kind":"","level":"info","msg":"Synced vmi","name":"rhel-96","namespace":"homelab","pos":"server.go:208","timestamp":"2025-09-16T01:38:37.380939Z","uid":"177ad70b-5539-45d8-a2a2-34c947a3f1d4"}{"component":"virt-launcher","kind":"","level":"info","msg":"Synced vmi","name":"rhel-96","namespace":"homelab","pos":"server.go:208","timestamp":"2025-09-16T01:38:37.397666Z","uid":"177ad70b-5539-45d8-a2a2-34c947a3f1d4"}{"component":"virt-launcher","kind":"","level":"info","msg":"Synced vmi","name":"rhel-96","namespace":"homelab","pos":"server.go:208","timestamp":"2025-09-16T01:38:37.578681Z","uid":"177ad70b-5539-45d8-a2a2-34c947a3f1d4"}{"component":"virt-launcher","kind":"","level":"info","msg":"Synced vmi","name":"rhel-96","namespace":"homelab","pos":"server.go:208","timestamp":"2025-09-16T01:38:37.594417Z","uid":"177ad70b-5539-45d8-a2a2-34c947a3f1d4"}{"component":"virt-launcher","kind":"","level":"info","msg":"Synced vmi","name":"rhel-96","namespace":"homelab","pos":"server.go:208","timestamp":"2025-09-16T01:38:37.779614Z","uid":"177ad70b-5539-45d8-a2a2-34c947a3f1d4"}{"component":"virt-launcher","kind":"","level":"info","msg":"Synced vmi","name":"rhel-96","namespace":"homelab","pos":"server.go:208","timestamp":"2025-09-16T01:38:37.797509Z","uid":"177ad70b-5539-45d8-a2a2-34c947a3f1d4"}

              omisan@redhat.com Orel Misan
              rhn-support-gveitmic Germano Veit Michel
              Yoss Segev Yoss Segev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: