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

SRIOV NIC reattachement fails after memory HP migration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • CNV v4.20.0, 4.19
    • CNV Network
    • Quality / Stability / Reliability
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Important
    • Customer Escalated
    • None

      Following https://issues.redhat.com/browse/CNV-69778 a simple memory hotplug was performed to a VM with an SR-IOV interface.
      Memory was increased from 2G to 3G, migration was triggered and completed successfully, however target pod log shows failures during reattachment of NIC.

      {"component":"virt-launcher","level":"error","msg":"cannot limit locked memory of process 70 to 9663676416: Operation not permitted","pos":"virProcessSetMaxMemLock:917","subcomponent":"libvirt","thread":"29","timestamp":"2025-09-28T08:57:35.277000Z"}
      {"component":"virt-launcher","kind":"","level":"error","msg":"failed to hot-plug host-devices: failed to attach host-device <hostdev type=\"pci\" managed=\"no\"><source><address type=\"pci\" domain=\"0x0000\" bus=\"0x18\" slot=\"0x08\" function=\"0x5\"></address></source><alias name=\"ua-sriov-nic-harlequin-slug-68\"></alias></hostdev>, err: virError(Code=38, Domain=0, Message='cannot limit locked memory of process 70 to 9663676416: Operation not permitted')\n","name":"rhel8-chocolate-salmon-47","namespace":"default","pos":"manager.go:593","timestamp":"2025-09-28T08:57:35.277401Z","uid":"e6f10f87-b3ff-4f77-bac4-096274ca29b0"}
      

      MustGather https://drive.google.com/file/d/1LmJ4L5N0qCT2c546MeOMJOVSvMeFknLK/view?usp=sharing

       

        1. vmim.yaml
          2 kB
        2. vmi.yaml
          5 kB
        3. vm.yaml
          4 kB
        4. target.pod.log
          66 kB
        5. src.pod.log
          2.67 MB

              phoracek@redhat.com Petr Horacek
              rh-ee-ndothan Nir Dothan
              Yossi Segev Yossi Segev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: