跳转到主内容

由于 VI SDK 调用异常, SCV 备份作业失败,并显示 " 无法暂停 SCV "

Views:
20
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx<a>2008587031</a>
Last Updated:

适用场景

适用于 VMware vSphere 的 SnapCenter 插件( SCV ) 4.3.1

问题描述

  • SCV 备份作业失败,并显示消息 "Unable to quiesce on SCV" 。

Task 'Quiescing Applications' failed with error: Unable to quiesce on SCV: Exception occurred when quiescing virtual machines: <VM_NAME>.

  • vmcontrol_<JOB_ID>.log 显示 CreateSnapshot_Task 检测到异常 ""VI SDK invoke exception:java.net.SocketTimeoutException: connect timed out

DEBUG <HOST> --- [ol-114-thread-1] c.n.a.b.QuiesceManager           : Getting VM Snapshot Name: <VM_SNAPSHOT_NAME>
DEBUG <HOST> --- [ol-114-thread-1] c.n.a.b.QuiesceManager           : VM [<VM_NAME>] is powered ON. Taking VMware snapshot with name: <VM_SNAPSHOT_NAME>
DEBUG <HOST> --- [ol-114-thread-1] c.n.a.v.VsphereInventoryService      : Looking for VM with instance UUID <UUID>
DEBUG <HOST> --- [ol-114-thread-1] c.n.a.v.VsphereService           : [JobId:<JOB_ID>] Connecting to vSphere with session <SESSION_ID>
DEBUG <HOST> --- [ol-114-thread-1] c.n.a.v.VsphereInventoryService      : [JobId:<JOB_ID>] found the VM <VM_NAME> VirtualMachine:vm-XXXX @ https://<VCENTER_HOST>:443/sdkwith instance uuid found <UUID>
DEBUG <HOST> --- [ol-114-thread-1] c.n.a.v.VsphereService           : VsphereUtils: Monitoring Task CreateSnapshot_Task
 WARN <HOST> --- [ol-114-thread-1] c.n.a.v.VsphereSnapshotService       : [JobId:<JOB_ID>] Got Exception while creating snapshot '<VM_SNAPSHOT_NAME>' : java.rmi.RemoteException: VI SDK invoke exception:java.net.SocketTimeoutException: connect timed out

  • 也可以VI SDK invoke exception:java.net.SocketTimeoutException: connect timed outvmcontrol_jetty_server.log中看到异常 "" 。

INFO  SCV root java.lang.RuntimeException: java.rmi.RemoteException: VI SDK invoke exception:java.net.SocketTimeoutException: connect timed out
INFO  SCV root    at com.vmware.vijava.vim25.mo.ManagedObject.retrieveObjectProperties(ManagedObject.java:158)
INFO  SCV root    at com.vmware.vijava.vim25.mo.ManagedObject.getCurrentProperty(ManagedObject.java:179)
INFO  SCV root    at com.vmware.vijava.vim25.mo.Task.getTaskInfo(Task.java:62)
INFO  SCV root    at com.netapp.aegis.vsphere.VsphereService.waitForTaskCompletion(VsphereService.java:149)
INFO  SCV root    at com.netapp.aegis.vsphere.VsphereSnapshotService.createSnapshot(VsphereSnapshotService.java:48)
INFO  SCV root    at com.netapp.aegis.backup.QuiesceManager.quiesceVM(QuiesceManager.java:205)
INFO  SCV root    at com.netapp.aegis.backup.QuiesceManager$1.run(QuiesceManager.java:122)
INFO  SCV root    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
INFO  SCV root    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
INFO  SCV root    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
INFO  SCV root    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
INFO  SCV root    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
INFO  SCV root    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
INFO  SCV root    at java.lang.Thread.run(Thread.java:748)
INFO  SCV root Caused by: java.rmi.RemoteException: VI SDK invoke exception:java.net.SocketTimeoutException: connect timed out
INFO  SCV root    at com.vmware.vijava.vim25.ws.WSClient.invoke(WSClient.java:101)
INFO  SCV root    at com.vmware.vijava.vim25.ws.VimStub.retrieveProperties(VimStub.java:73)
INFO  SCV root    at com.vmware.vijava.vim25.mo.PropertyCollector.retrieveProperties(PropertyCollector.java:107)
INFO  SCV root    at com.vmware.vijava.vim25.mo.ManagedObject.retrieveObjectProperties(ManagedObject.java:155)
INFO  SCV root    ... 13 more

  • Unable to quiesce on SCVwfe_<JOB_ID>.log中找到错误消息 " " 。

DEBUG <HOST> --- [    Thread-111] c.n.w.u.LogHelper             : Starting Quiesce activity
DEBUG <HOST> --- [    Thread-111] c.n.w.r.SCVBackupServiceImpl        : Quiesce on SCV
DEBUG <HOST> --- [    Thread-111] c.n.w.r.u.RestClientUtil          : Connecting to scv url: https://localhost:8144/scbr/smcoreplugin/quiesce
ERROR <HOST> --- [    Thread-111] c.n.w.r.SCVBackupServiceImpl        : Unable to quiesce on SCV: Exception occurred when quiescing virtual machines: <VM_NAME>.Please check 'Create virtual machine snapshot' task on vSphere Web Client or SnapCenter Plug-in for VMware vSphere logs for detailed error message.

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.