Hot Migration Error Messages and Solutions

Error MessageCauseSolution
cannot migrate VMI which does not use masquerade, bridge with <annotation> VM annotation or a migratable plugin to connect to the pod networkThe network configuration of the virtual machine does not support hot migration.Please check the following configurations:
  • Check the CNI network plugin used by the current cluster; Kube-OVN is recommended.
  • Check whether the "kubevirt.io/allow-pod-bridge-network-live-migration": "true" annotation exists in the metadata.annotations and spec.template.metadata.annotations fields of the corresponding YAML file of the virtual machine; if not, please add it manually.
  • cannot migrate VMI: Unable to determine if PVC <pvc name> is shared, live migration requires that all PVCs must be shared (using ReadWriteMany access mode)
  • cannot migrate VMI: PVC <pvc name> is not shared, live migration requires that all PVCs must be shared (using ReadWriteMany access mode)
  • cannot migrate VMI: Backend storage PVC is not RWX
  • cannot migrate VMI with non-shared HostDisk
The storage type of the virtual machine does not support multi-node read-write (RWX) access mode.The parameters related to the virtual machine cannot be modified after creation. Therefore, please recreate the virtual machine and select a storage type that supports multi-node read-write (RWX); CephRBD block storage is recommended. If issues persist after recreation, please contact the relevant personnel for assistance.
Other error messagesThe virtual machine does not support hot migration.Please contact the relevant personnel for assistance.