VM Migration Failed. CloudStack 4.22.1.0+XCP-NG 8.2.1 #13728
problemPlease help me figure out the reason for the virtual machine migration error. The VM is started and it's connected to L2 network. When I try to migrate the VM to the another host of the pool I get an error "Unable to support this type of network broadcast domain: null". The same situation with some other VMs wich are connected to a VPC network. VM configuration: Network configuration: { Here is the ACS's log: 2026-07-24 12:39:25,033 DEBUG [c.c.a.t.Request] (Work-Job-Executor-133:[ctx-71b90daf, job-155111/job-155112, ctx-dbc25316]) (logid:cf26e16a) Seq 77361-801359258695256835: Executing: { Cmd , MgmtId: 108597816265214, via: 77361(xcp-test), Ver: v1, Flags: 100111, [{"com.cloud.agent.api.PrepareForMigrationCommand":{"vm":{"id":"9679","name":"i-222-2222-VM","bootloader":"PyGrub","state":"Running","type":"User","cpus":"8","minSpeed":"700","maxSpeed":"1000","minRam":"(6.00 GB) 6442450944","maxRam":"(12.00 GB) 12884901888","arch":"x86_64","os":"Other Linux (64-bit)","platformEmulator":"Other install media","bootArgs":"","enableHA":"true","limitCpuUse":"false","enableDynamicallyScaleVm":"false","details":{"cpuNumber":"8","memory":"12288","memoryOvercommitRatio":"2","Message.ReservedCapacityFreed.Flag":"false","hypervisortoolsversion":"xenserver56","cpuOvercommitRatio":"4","rootdisksize":"40","platform":"device-model:qemu-upstream-compat;apic:true;viridian:true;timeoffset:0;cores-per-socket:1;pae:true;acpi:1;hpet:true;secureboot:false;nx:true"},"uuid":"943abbd3-0fe1-4a8d-9103-b720df48c31b","enterHardwareSetup":"false","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"7db3b617-de76-47c4-806f-4f480dec55af","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"test","name":"test","id":"84","poolType":"PreSetup","host":"localhost","path":"/test","port":"0","url":"PreSetup://localhost/test/?ROLE=Primary&STOREUUID=test","isManaged":"false"}},"name":"ROOT-2222","size":"(40.00 GB) 42949672960","path":"22472c93-e335-4136-ad67-d7bc5eb18434","volumeId":"11120","vmName":"i-222-2222-VM","accountId":"222","format":"VHD","provisioningType":"THIN","poolId":"84","id":"11120","deviceId":"0","bytesReadRate":"(0 bytes) 0","bytesWriteRate":"(0 bytes) 0","iopsReadRate":"(0 bytes) 0","iopsWriteRate":"(0 bytes) 0","cacheMode":"NONE","hypervisorType":"XenServer","directDownload":"false","deployAsIs":"false","checkpointPaths":[],"checkpointImageStoreUrls":[],"followRedirects":"true"}},"diskSeq":"0","path":"22472c93-e335-4136-ad67-d7bc5eb18434","type":"ROOT","details":{"storageHost":"localhost","managed":"false","storagePort":"0","protocoltype":"PreSetup","storage.pool.disk.wait":"60","volumeSize":"(40.00 GB) 42949672960"}},{"data":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"id":"0","format":"ISO","accountId":"0","hvm":"false","bootable":"false","directDownload":"false","deployAsIs":"false","followRedirects":"false"}},"diskSeq":"3","type":"ISO"}],"nics":[{"deviceId":"0","networkRateMbps":"10000","defaultNic":"true","pxeDisable":"false","nicUuid":"413f962f-8c50-4960-be13-06f386740d39","details":{"PromiscuousMode":"false","ForgedTransmits":"true","MacLearning":"false","MacAddressChanges":"true"},"dpdkEnabled":"false","networkId":"1906","networkSegmentName":"D124-A229-Z7-S1906","uuid":"f004cc1c-dbc7-46e2-b68f-f94486f79580","mac":"02:07:07:72:00:15","dns1":"1.1.1.1","dns2":"8.8.8.8","broadcastType":"Vlan","type":"Guest","securityGroupEnabled":"false","name":"test"}],"vcpuMaxLimit":"32","configDriveLabel":"config-2","configDriveLocation":"SECONDARY","guestOsDetails":{},"extraConfig":{},"networkIdToNetworkNameMap":{"1906":"D124-A229-Z7-S1906"}},"rollback":"false","wait":"0","bypassHostMaintenance":"false"}}] } 2026-07-24 12:39:25,043 WARN [c.c.h.x.r.w.x.CitrixPrepareForMigrationCommandWrapper] (DirectAgent-188:[ctx-df8d7551]) (logid:cf26e16a) Catch Exception com.cloud.utils.exception.CloudRuntimeException prepare for migration failed due to com.cloud.utils.exception.CloudRuntimeException: Unable to support this type of network broadcast domain: null com.cloud.utils.exception.CloudRuntimeException: Unable to support this type of network broadcast domain: null 2026-07-24 12:39:25,043 DEBUG [c.c.a.m.D.Task] (DirectAgent-188:[ctx-df8d7551]) (logid:cf26e16a) Seq 77354-801359258695256835: Response Received: 2026-07-24 12:39:25,045 DEBUG [c.c.v.UserVmManagerImpl] (Work-Job-Executor-133:[ctx-71b90daf, job-155111/job-155112, ctx-dbc25316]) (logid:cf26e16a) Skipping PVLAN setup on host 77353 for NIC NicProfile {"broadca 2026-07-24 12:39:25,056 ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-133:[ctx-71b90daf, job-155111/job-155112, ctx-dbc25316]) (logid:cf26e16a) Invocation exception, caused by: com.cloud.exception.AgentU 2026-07-24 12:39:25,056 INFO [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-133:[ctx-71b90daf, job-155111/job-155112, ctx-dbc25316]) (logid:cf26e16a) Rethrow exception com.cloud.exception.AgentUnavailableExcep versionsCloudStack 4.22.1.0+XCP-NG 8.2.1 The steps to reproduce the bug
What to do about it?No response |
Replies: 3 comments 6 replies
|
ah, this is the same as #13691. It may make more sense as a Q&A discussion item until we have root cause and can produce a fix. I am not sure if cross-pool migration is supposed to be supported. |
|
the error occurs when migrating VMs within the same pool |
|
How can I add the broadcast URL to the nic record? |
there is a column named ‘broadcast_uri’ in the ‘nics’ table.