Quantcast
Channel: Virtual Machine Manager – General forum
Viewing all articles
Browse latest Browse all 2770

Virtual Machine Manager crashes running powershell script to revert VMs to checkpoint

$
0
0

Hi,

A different Admin setup this environment and then left the company and now I'm trying to get it working for a few of our Devs.  We have two 2012 Hyper-V servers Clustered with shared storage and when he runs a powershell script to revert around 15 VMs back to a checkpoint it crashes Virtual Machine Manager.  I setup a new box and clean install of VMM and had him test with this with the same results.  If he tries his script on one machine it will work fine, but I am assuming this should work on multiple VMs at the same time.  All the testing is automated so this is a roadblock for him.  Here are some of the errors in the event viewer:

Fault bucket , type 0
Event Name: VMM20
Response: Not available
Cab Id: 0

Problem signature:
P1: vmmservice
P2: 3.1.6020.0
P3: Utils
P4: 3.1.6020.0
P5: M.V.U.ImgLibCatalog.GetAppLock
P6: M.V.DB.NonFatalDbException
P7: 3729
P8: 
P9: 
P10: 

Attached files:
C:\Windows\Temp\SCVMM.ec555ef4-efa9-487e-a178-0479c46ede66\report.txt

These files may be available here:

Analysis symbol: 
Rechecking for solution: 0
Report Id: ae89b161-c3bf-11e2-93f0-0050569f5b82
Report Status: 262144
Hashed bucket: 

Application: vmmservice.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: Microsoft.VirtualManager.DB.NonFatalDbException
Stack:
   at Microsoft.VirtualManager.Utils.ImgLibCatalog.GetAppLock(System.String)
   at Microsoft.VirtualManager.Engine.ImageLibrary.LibObjectBase.GetResourceAppLock(Microsoft.VirtualManager.Utils.ImgLibCatalog)
   at Microsoft.VirtualManager.Engine.ImageLibrary.LibObjectBase.UpdateDB(Microsoft.VirtualManager.Utils.ImgLibCatalog)
   at Microsoft.VirtualManager.Engine.ImageLibrary.SharableLibObject.UpdateDB(Microsoft.VirtualManager.Utils.ImgLibCatalog)
   at Microsoft.VirtualManager.Engine.ImageLibrary.LibObjectBase.UpdateChildObjects[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.List`1<System.Guid>, System.Collections.Generic.List`1<System.__Canon>, Microsoft.VirtualManager.Utils.ImgLibCatalog)
   at Microsoft.VirtualManager.Engine.ImageLibrary.VMBase.UpdateChildObjects(Microsoft.VirtualManager.Utils.ImgLibCatalog)
   at Microsoft.VirtualManager.Engine.ImageLibrary.CommonVMBase.AddOrUpdateObjectInDB(Microsoft.VirtualManager.Utils.ImgLibCatalog)
   at Microsoft.VirtualManager.Engine.ImageLibrary.VM.AddOrUpdateObjectInDB(Microsoft.VirtualManager.Utils.ImgLibCatalog)
   at Microsoft.VirtualManager.Engine.ImageLibrary.LibObjectBase.UpdateDB(Microsoft.VirtualManager.Utils.ImgLibCatalog)
   at Microsoft.VirtualManager.Engine.ImageLibrary.SharableLibObject.UpdateDB(Microsoft.VirtualManager.Utils.ImgLibCatalog)
   at Microsoft.VirtualManager.Engine.ImageLibrary.LibObjectBase.UpdateDB(Boolean)
   at Microsoft.VirtualManager.Engine.VmOperations.DeleteRestoreCheckpointSubtask.Recover(System.Collections.Generic.Stack`1<Microsoft.VirtualManager.Engine.ISubtask>)
   at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Recover(Microsoft.VirtualManager.Engine.ITaskContext, System.Collections.Generic.Stack`1<Microsoft.VirtualManager.Engine.ISubtask>)
   at Microsoft.VirtualManager.Engine.TaskRepository.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].RecoverLiveTask()
   at Microsoft.VirtualManager.Engine.TaskRepository.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SubtaskRun(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

Faulting application name: vmmservice.exe, version: 3.1.6011.0, time stamp: 0x50aaba3f
Faulting module name: KERNELBASE.dll, version: 6.2.9200.16451, time stamp: 0x50988aa6
Exception code: 0xe0434352
Fault offset: 0x000000000003811c
Faulting process id: 0x508
Faulting application start time: 0x01ce57c737fec14c
Faulting application path: C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\Bin\vmmservice.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: bd4ade63-c3bf-11e2-93f0-0050569f5b82
Faulting package full name: 
Faulting package-relative application ID: 

Any help is greatly appreciated!


Viewing all articles
Browse latest Browse all 2770

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>