Skip to main content
NetApp Knowledge Base

Restoring a VM to the original location fails with "VM not found"

Views:
109
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

Applies to

SnapCenter Plug-in for VMware vSphere (SCV)

Issue

  • SCV restore job for VM to its original location fails with error:
    Error: Exception while calling restore on SCV: Error occured while calling SCV: Server Error
  • vCenter task of SCV restore job gets stuck at 50%
  • vmcontrol_<JobID>.log reports VM not found
c.n.a.r.AbstractRestoreStrategy          : Registering the VM
...
 
c.n.a.v.VsphereService                   : [JobId:<JobID>] Connecting to vSphere with session XXXXXXXX
c.n.a.v.VsphereInventoryService          : vm is null; checking to see if it is a template:
c.n.a.v.VsphereInventoryService          : Searching all virtual machine managed entities
c.n.a.v.VsphereInventoryService          : [JobId:<JobID>] VM not found, setting as null
  • vpxd.log on vCenter reports error from ESXi host :

info vpxd[XXXXX] [Originator@XXXX sub=vpxLro opID=XXXXXXXX] [VpxLRO] -- BEGIN task-XXXX -- group-vXXXX -- vim.Folder.registerVm -- XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX(XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX)
info vpxd[XXXXX] [Originator@XXXX sub=VdbOpJournal opID=XXXXXXXX] Added new journal id=XXX type=1
info vpxd[XXXXX] [Originator@XXXX sub=vpxLro opID=XXXXXXXX-01] [VpxLRO] -- BEGIN lro-XXXXXXXX -- group-vXXXX -- vim.Folder.registerVm -- XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX(XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX)
warning vpxd[XXXXX] [Originator@XXXX sub=AuthorizeManager opID=XXXXXXXX] Privilege check for entity datacenter-XXXX, privilege System.Read made on null session. Backtrace N7Vmacore9ExceptionE(Privilege check in null session)
--> [context]XXXXXXXXXXX[/context]
info vpxd[XXXXX] [Originator@XXXX sub=Invt opID=XXXXXXXX-01-XXXXXXXX] Started call to update entity state moId on host; [vim.HostSystem:host-XXXX,<HOST_NAME>], store: (vm, 60), v: XXXXXXXX:vm-XXXX:XXXXXXXX, callId: 5
warning vpxd[XXXXX] [Originator@XXXX sub=vmmoVm opID=XXXXXXXX-01-XXXXXXXX] Setting VM [vim.VirtualMachine:vm-XXXX,<VM_NAME>] numCpu to default 1
warning vpxd[XXXXX] [Originator@XXXX sub=vmmoVm opID=XXXXXXXX-01-XXXXXXXX] Setting VM [vim.VirtualMachine:vm-XXXX,<VM_NAME> memory size to default 32MB
warning vpxd[XXXXX] [Originator@XXXX sub=vmomi.soapStub[XX] opID=TaskLoop-host-XXXX] SOAP request returned HTTP failure; <<io_obj p:0x00007fcedd02b5c8, h:35, <UNIX ''>, <UNIX '/var/run/envoy-hgw/hgw-pipe'>>, /hgw/host-XXXX/vpxa>, method: waitForUpdates; code: 500(Internal Server Error)
error vpxd[XXXXX] [Originator@XXXX sub=Invt opID=XXXXXXXX-01] Failed to update entity state moId on host; [vim.HostSystem:host-XXXX,<HOST_NAME>], store: (vm, 60), v: XXXXXXXX:vm-XXXX:XXXXXXXX, e: XXXXXXXX(Fault cause: vim.fault.InvalidState
--> )
--> [context]XXXXXXXXXXX[/context]

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.