migrate for计算引擎不能为从VMware迁移过来的虚拟机挂载网卡



我已经迁移了一个大小为7TB的虚拟机,分布在18个磁盘上,在迁移中没有记录错误,但是当测试克隆作业执行时,它不能附加网卡,机器的屏幕截图,可以观察到操作系统启动没有问题,但由于它没有网卡,因此无法访问。

所使用的计算引擎的迁移是版本5要迁移的操作系统是Windows server 2012 R2

Serial port 1 output for svr-gcp-sysdb-02
[2J[01;01H[=3h[2J[01;01HCSM BBS Table full.
UEFI: Failed to load image.
Description: UEFI Google PersistentDisk 
FilePath: PciRoot(0x0)/Pci(0x3,0x0)/Scsi(0x1,0x0)
OptionNumber: 1.
Status: Not Found.
BdsDxe: failed to load Boot0001 "UEFI Google PersistentDisk " from PciRoot(0x0)/Pci(0x3,0x0)/Scsi(0x1,0x0): Not Found
UEFI: Failed to load image.
Description: UEFI Google PersistentDisk  2
FilePath: PciRoot(0x0)/Pci(0x3,0x0)/Scsi(0x2,0x0)
OptionNumber: 2.
Status: Not Found.
BdsDxe: failed to load Boot0002 "UEFI Google PersistentDisk  2" from PciRoot(0x0)/Pci(0x3,0x0)/Scsi(0x2,0x0): Not Found
BdsDxe: loading Boot0003 "UEFI Google PersistentDisk  3" from PciRoot(0x0)/Pci(0x3,0x0)/Scsi(0x3,0x0)
BdsDxe: starting Boot0003 "UEFI Google PersistentDisk  3" from PciRoot(0x0)/Pci(0x3,0x0)/Scsi(0x3,0x0)
UEFI: Attempting to start image.
Description: UEFI Google PersistentDisk  3
FilePath: PciRoot(0x0)/Pci(0x3,0x0)/Scsi(0x3,0x0)
OptionNumber: 3.
[1m[37m[40m[01;01H[2J[01;01H[2J[01;01H[=3h[2J[01;01HCSM BBS Table full.
UEFI: Failed to load image.
Description: UEFI Google PersistentDisk 
FilePath: PciRoot(0x0)/Pci(0x3,0x0)/Scsi(0x1,0x0)
OptionNumber: 1.
Status: Not Found.
BdsDxe: failed to load Boot0001 "UEFI Google PersistentDisk " from PciRoot(0x0)/Pci(0x3,0x0)/Scsi(0x1,0x0): Not Found
UEFI: Failed to load image.
Description: UEFI Google PersistentDisk  2
FilePath: PciRoot(0x0)/Pci(0x3,0x0)/Scsi(0x2,0x0)
OptionNumber: 2.
Status: Not Found.
BdsDxe: failed to load Boot0002 "UEFI Google PersistentDisk  2" from PciRoot(0x0)/Pci(0x3,0x0)/Scsi(0x2,0x0): Not Found
BdsDxe: loading Boot0003 "UEFI Google PersistentDisk  3" from PciRoot(0x0)/Pci(0x3,0x0)/Scsi(0x3,0x0)
BdsDxe: starting Boot0003 "UEFI Google PersistentDisk  3" from PciRoot(0x0)/Pci(0x3,0x0)/Scsi(0x3,0x0)
UEFI: Attempting to start image.
Description: UEFI Google PersistentDisk  3
FilePath: PciRoot(0x0)/Pci(0x3,0x0)/Scsi(0x3,0x0)
OptionNumber: 3.
[1m[37m[40m[01;01H[2J[01;01H[2J[01;01H[=3h[2J[01;01HCSM BBS Table full.
BdsDxe: loading Boot0025 "Windows Boot Manager" from HD(2,GPT,F8D89693-113C-47C3-8450-A857FE031087,0x96800,0x31800)/EFIMicrosoftBootbootmgfw.efi
BdsDxe: starting Boot0025 "Windows Boot Manager" from HD(2,GPT,F8D89693-113C-47C3-8450-A857FE031087,0x96800,0x31800)/EFIMicrosoftBootbootmgfw.efi
UEFI: Attempting to start image.
Description: Windows Boot Manager
FilePath: HD(2,GPT,F8D89693-113C-47C3-8450-A857FE031087,0x96800,0x31800)/EFIMicrosoftBootbootmgfw.efi
OptionNumber: 37.
[1m[37m[40m[01;01H[2J[01;01H
Starting firstboot script
PSVersion: 3.0
PID: 2204
Running the following scripts (in order):
* 00_configure_network.ps1
* 01_install_googet_packages.ps1
* 02_activate_instance.ps1
* 03_uninstall_vmware_tools.ps1
Running 00_configure_network.ps1...
Timed out waiting for netkvm device after 600 seconds 
Attempting to repair network settings...
584 
Clean remove returned NO_ERROR
Exception deleting key + System.NullReferenceException: Object reference not set to an instance of an object. 
at Win32.ResetDevice.DeleteKey(String devicePath) in c:WindowsTempn23ykcju.0.cs:line 282 (GetLastError: 122)
DeleteKey returned FAILED_TO_DELETE_SUBEKEY
Failed waiting for installation end. WaitResult=4294967295 (GetLastError: 2)
Reinstall returned FAILED_WAITING_FOR_PNP
FAILED_WAITING_FOR_PNP
Network Adapter not found - skipping network configuration 
At C:GoogleMigrateFirstbootscripts0_configure_network.ps1:45 char:9
throw 'Network Adapter not found - skipping network configuration'

CategoryInfo          : OperationStopped: (Network Adapter...k configuration:String) [], RuntimeException FullyQualifiedErrorId : Network Adapter not found - skipping network con figuration 

有人知道错误是什么吗?

日志提示加载映像时出现问题,因为无法找到引导磁盘的选项:

UEFI: Failed to load image.
Description: UEFI Google PersistentDisk 
FilePath: PciRoot(0x0)/Pci(0x3,0x0)/Scsi(0x1,0x0)
OptionNumber: 1.
Status: Not Found.
UEFI: Failed to load image. 
Description: UEFI Google PersistentDisk 2 
FilePath: PciRoot(0x0)/Pci(0x3,0x0)/Scsi(0x2,0x0) 
OptionNumber: 2. 
Status: Not Found.

如果没有GCP端的日志,则很难排除此故障。最好的方法是从VM收集诊断信息,然后通过支持中心向Google打开一个案例。

问题是由于:

HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet DeviceInstall 参数 服务DeviceInstallDisabled

被设置。

之后,PNP超时,需要增加:

HKEY_LOCAL_MACHINE 微软软件政策 Windows DeviceInstall 环境 InstallTimeout

最新更新