克隆虚拟机失败并显示错误:A general system error occurred:在 PreCloneCheckCallback 过程中出现 PBM 错误
search cancel

克隆虚拟机失败并显示错误:A general system error occurred:在 PreCloneCheckCallback 过程中出现 PBM 错误

book

Article ID: 336181

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
免责声明:本文为 Cloning a virtual machine fails with the error:A general system error occurred:PBM error occurred during PreCloneCheckCallback (2118557) 的翻译版本。尽管我们会不断努力为本文提供最佳翻译版本,但本地化的内容可能会过时。有关最新内容,请参见英文版本。


  • 从模板中克隆虚拟机或部署虚拟机失败并显示错误:
出现了常规系统错误:在 PreCloneCheckCallback 过程中出现 PBM 错误: vmodl.fault.systemerror ( A general system error occurred: PBM error occurred during PreCloneCheckCallback: vmodl.fault.systemerror)
  • C:\ProgramData\VMware\vCenterServer\logs\vmware-vpx\vpxd.log 文件中,显示类似以下内容的条目:
注意:在 vCenter Server Appliance 中,此日志位于 /var/log/vmware/vpxd/vpxd.log 文件中。

<YYYY-MM-DD>T<time> warning vpxd[7F22254CB700] [Originator@6876 sub=Default] Failed to connect socket; <io_obj p:0x00007f223e0fff00, h:21, <TCP '0.0.0.0:0'>, <TCP '127.0.0.1:8190'>>, e: system:111(Connection refused)
<YYYY-MM-DD>T<time> warning vpxd[7F222503A700] [Originator@6876 sub=Default] Failed to connect socket; <io_obj p:0x00007f223f354be0, h:21, <TCP '0.0.0.0:0'>, <TCP '10.27.45.75:8190'>>, e: system:111(Connection refused)</time>
<YYYY-MM-DD>T<time> error vpxd[7F222503A700] [Originator@6876 sub=HttpConnectionPool-000057] [ConnectComplete] Connect failed to <cs p:00007f221d44ffa0, TCP:localhost:8190>; cnx: (null), error: N7Vmacore15SystemExceptionE(Connection refused)</time>
<YYYY-MM-DD>T<time> info vpxd[7F2224BD8700] [Originator@6876 sub=pbm opID=FE46CD39-0000065A-e1-5] PBMCallback: HasUserDefinedPolicies: PBM error occurred during QueryProfile: Connection refused</time>
<YYYY-MM-DD>T<time> info vpxd[7F2224BD8700] [Originator@6876 sub=pbm opID=FE46CD39-0000065A-e1-5] PBMCallback: ~PbmFunctionTracer: Leaving HasUserDefinedPolicies</time>
<YYYY-MM-DD>T<time> error vpxd[7F2224BD8700] [Originator@6876 sub=pbm opID=FE46CD39-0000065A-e1-5] PBMCallback: HandleInternalFaultMessage: PBM error occurred during PreCloneCheckCallback: vmodl.fault.SystemError</time>
<YYYY-MM-DD>T<time> info vpxd[7F2224BD8700] [Originator@6876 sub=pbm opID=FE46CD39-0000065A-e1-5] PBMCallback: ~PbmFunctionTracer: Leaving PreCloneCheckCallback</time>
<YYYY-MM-DD>T<time> error vpxd[7F2224BD8700] [Originator@6876 sub=VmProv opID=FE46CD39-0000065A-e1-5] [CallbackManager] Got exception while invoking precheck on PbmCallBack: vmodl.fault.SystemError</time>
-->
--> [backtrace begin] product: VMware VirtualCenter, version: 6.0.0, build: build-2559267, tag: vpxd
--> backtrace[00] libvmacore.so[0x003C0094]: Vmacore::System::Stacktrace::CaptureWork(unsigned int)
--> backtrace[01] libvmacore.so[0x001EDBA3]: Vmacore::System::SystemFactoryImpl::CreateQuickBacktrace(Vmacore::Ref<Vmacore::System::Backtrace>&)
--> backtrace[02] libvmacore.so[0x001988AD]: Vmacore::Throwable::Throwable(std::string const&)
--> backtrace[03] vpxd[0x00BD070E]: Vmomi::Fault::SystemError::Exception::Exception(std::string const&)
--> backtrace[04] vpxd[0x01799FAA]: PbmService::HandleInternalFaultMessage(Vmacore::Exception*, std::string const&, Vpx::Vmprov::Context*) const
--> backtrace[05] vpxd[0x01792D63]
--> backtrace[06] vpxd[0x01CDD99B]
--> backtrace[07] vpxd[0x01D47F16]
--> backtrace[08] vpxd[0x01D5E00D]
</time>


Environment

VMware vCenter Server 6.0.x

Cause

当 Profile-Driven Storage Service 未在运行或不授受连接时,会出现此错误。

注意:此服务也称为基于策略的管理 (PBM)。

Resolution

要解决此问题,请确保 Profile-Driven Storage Service 正在运行。

对于 vCenter Server Appliance,请执行以下操作

  1. 运行以下命令检查该服务的状态:

    service vmware-sps status

  2. 运行以下命令启动 vmware-sps 服务:

    service vmware-sps start

  3. 运行以下命令重新启动 vmware-sps 服务:

    service vmware-sps restart

对于 vCenter Server,请执行以下操作

  1. 以管理员身份登录到运行 vCenter Server 的服务器。
  2. 单击开始 > 运行,键入 services.msc,然后按 Enter
  3. 在服务列表中,检查 Profile-Driven Storage Service 的状态。


Additional Information

Cloning a virtual machine fails with the error: A general system error occurred: PBM error occurred during PreCloneCheckCallback