启用 Storage DRS 时虚拟机部署过程中出现 2400 秒超时错误
search cancel

启用 Storage DRS 时虚拟机部署过程中出现 2400 秒超时错误

book

Article ID: 301173

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
免责声明:本文为 2400 second timeout error during VM deployment when Storage DRS is enabled (2151094) 的翻译版本。尽管我们会不断努力为本文提供最佳翻译版本,但本地化的内容可能会过时。有关最新内容,请参见英文版本。
  • vSphere Web Client 中,如果在启用 Storage DRS 的情况下部署虚拟机,您将看到类似以下内容的错误:

    连接错误 (Connection Error)
    由于远程服务器“vcenter.example.com”响应时间过长,请求失败。(由于远程服务器响应时间过长,命令超时) (The request failed because the remote server 'vcenter.example.com' took too long to respond. (The command has timed out as the remote server is taking too long to respond))
    错误堆栈 (Error Stack)
    针对 vCenter Server“vcenter.example.com”上的对象“StorageResourceManager”调用“StorageResourceManager.RecommendDatastores”失败 (Call "StorageResourceManager.RecommendDatastores" for object "StorageResourceManager" on vCenter Server "vcenter.example.com" failed)
  •  C:/ProgramData/VMware/vCenterServer/logs/vmware-vpx/vpxd.log 文件中,您会看到类似以下内容的条目:

    2017-04-18T13:26:12.147+03:00 info vpxd[06688] [Originator@6876 sub=Drm opID=BBBD83DF-00000A71-b3-4d] [DrmExecute::ExecuteStoragePlacementAction] Placing VM vim.VirtualMachine:vm-459329 on datastore drs-tst succeeded.

    注意:存在 40 分钟延迟且在此期间未提及 opID

    2017-04-18T14:06:12.651+03:00 error vpxd[06688] [Originator@6876 sub=MoEvent opID=BBBD83DF-00000A71-b3-4d] [EventManagerMoImpl::EventBatchAppender::EventAppenderJob::PostJob] VirtualCenter did not respond to the request to append events after 2400 seconds
    2017-04-18T14:06:12.652+03:00 warning vpxd[06932] [Originator@6876 sub=vpxLro opID=BBBD83DF-00000A71-b3] [VpxTask] Still waiting on DrmExecute
    2017-04-18T14:06:12.653+03:00 warning vpxd[06688] [Originator@6876 sub=VpxProfiler opID=BBBD83DF-00000A71-b3-4d] VpxLro::LroMain [TotalTime] took 2400002 ms
    2017-04-18T14:06:12.653+03:00 error vpxd[06688] [Originator@6876 sub=vpxLro opID=BBBD83DF-00000A71-b3-4d] [VpxLRO] Unexpected Exception: vmodl.fault.UnexpectedFault
    2017-04-18T14:06:12.653+03:00 info vpxd[06688] [Originator@6876 sub=vpxLro opID=BBBD83DF-00000A71-b3-4d] [VpxLRO] -- FINISH task-internal-483679872
    2017-04-18T14:06:12.653+03:00 info vpxd[06688] [Originator@6876 sub=Default opID=BBBD83DF-00000A71-b3-4d] [VpxLRO] -- ERROR task-internal-483679872 -- -- DrmExecute: vmodl.fault.UnexpectedFault:
    --> Result:
    --> (vmodl.fault.UnexpectedFault) {
    --> faultCause = (vmodl.MethodFault) null,
    --> faultName = "vim.fault.Timedout",
    --> fault = (vmodl.MethodFault) null,
    --> msg = ""
    --> }
    --> Args:
    -->
注意:上述日志摘录仅为示例。日期、时间和环境变量可能会因环境而有所不同。

Environment

VMware vCenter Server Appliance 6.0.x
VMware vCenter Server Appliance 5.0
VMware vCenter Server 4.0.x
VMware vCenter Server 5.1 Extended Support
VMware vCenter Server 6.5.x
VMware vCenter Server Appliance 5.0.x
VMware vCenter Server Appliance 5.1.x
VMware vCenter Server Appliance 5.5.x
VMware vCenter Server 5.5.x
VMware vCenter Server 5.1.x
VMware vCenter Server 4.1.x
VMware vCenter Server 6.0.x
VMware vCenter Server 5.0 Beta
VMware vCenter Server 5.0.x
VMware vCenter Server 5.x - View

Cause

出现此问题的原因是,vCenter Server 子系统在 40 分钟超时后无法响应。
注意:如果不启用 Storage DRS,则不会出现此问题。

Resolution

此问题在 vCenter Server 6.5(可从 VMware Downloads 获得)中已得到解决。

此问题在 vCenter Server 6.0 U3c(可从 VMware Downloads 获得)中已得到解决。