problem
Live migration of SSVMs fails on KVM when the zone has a dedicated storage network IP range configured with a VLAN. The destination agent never creates the storage VLAN bridge during
PrepareForMigrationCommand, so libvirt cannot find the bridge from the source VM's XML and aborts
This is because the storage network is created with broadcast_domain_type: Native and broadcastUri: storage://<storage_vlan>
And In BridgeVifDriver.createStorageVnetBridgeIfNeeded():
if (!Networks.BroadcastDomainType.Storage.equals(nic.getBroadcastType()) || nic.getBroadcastUri() == null) {
return storageBrName; // exits early and bridge is never created
}
the above check causes it to exit early and never create the bridge on the destination host
versions
4.20.3 onward
The steps to reproduce the bug
Steps to Reproduce
- Create a zone with KVM hosts
- Add a pod management network IP range (untagged)
- Add a Storage Network IP Range to the pod with a non-zero VLAN ID (storage_vlan)
- Start the zone - system VMs are created; confirm br-<storage_vlan> exists on the source host
- Attempt live migration of the Secondary Storage VM to the other host
- Migration fails with Cannot get interface MTU on 'br-<storage_vlan>': No such device
What to do about it?
No response
problem
Live migration of SSVMs fails on KVM when the zone has a dedicated storage network IP range configured with a VLAN. The destination agent never creates the storage VLAN bridge during
PrepareForMigrationCommand, so libvirt cannot find the bridge from the source VM's XML and aborts
This is because the storage network is created with broadcast_domain_type: Native and broadcastUri: storage://<storage_vlan>
And In BridgeVifDriver.createStorageVnetBridgeIfNeeded():
the above check causes it to exit early and never create the bridge on the destination host
versions
4.20.3 onward
The steps to reproduce the bug
Steps to Reproduce
What to do about it?
No response