【发布时间】:2016-11-20 23:10:14
【问题描述】:
我过去曾成功使用此秘诀迁移包括附加 VM 的虚拟网络:https://docs.microsoft.com/en-us/azure/virtual-machines/virtual-machines-linux-cli-migration-classic-resource-manager
但是今天,以及上周我尝试的时候,无论重启多少次,我都会收到此错误(Azure CLI):
> azure network vnet prepare-migration "<RG-NAME>"
info: Executing command network vnet prepare-migration
error: BadRequest : Migration is not allowed for HostedService
<CLOUD-SERVICE> because it has VM <VM-NAME> in State :
RoleStateUnknown. Migration is allowed only when the VM is in one of the
following states - Running, Stopped, Stopped Deallocated.
虚拟机实际上运行平稳,Azure 门户也是如此。 那么有什么办法可以摆脱这个烂摊子吗?
【问题讨论】:
标签: azure azure-virtual-machine azure-resource-manager azure-virtual-network