none
Capacity Planner Error

    Question

  • I am trying to use the Hyper-v Capacity Planner but keep getting an error. The Planner runs completely through and then errors out with "Errors occurred while collecting counters on primary. Check logs for more details." I check the logs and it has this error

    "Exception recvd. at CollectPrimaryCounters One or more errors occurred.    at Microsoft.Virtualization.HVRCapacityPlanner.CalculateCapacity.CollectPrimaryCounters(Int32 MachineIndex)
       at Microsoft.Virtualization.HVRCapacityPlanner.CalculateCapacity.<>c__DisplayClass1.<CalculateCapacityInternalStep1>b__0(Int32 currentCounterInfoList) Inner Exception: One or more errors occurred.    at Microsoft.Virtualization.HVRCapacityPlanner.Utilities.<>c__DisplayClasse.<CountersCalculation>b__c(Int32 line)".

    I have no idea what this is. All firewalls are off.


    Fred Wilburn

    Wednesday, August 27, 2014 7:50 PM

All replies

  • I have been able to reproduce same error testing on 6 hosts/33 VMs. I've posted the question to the authors and to Keith Mayer who's a great MS technologist and blogger...


    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable)

    • Marked as answer by Alex LvModerator Monday, September 08, 2014 8:27 AM
    • Unmarked as answer by fwilburn Monday, September 08, 2014 12:05 PM
    Wednesday, August 27, 2014 9:39 PM
  • This has not been answered. The problem has been reproduced but not answered

    Fred Wilburn

    Monday, September 08, 2014 12:06 PM
  • Any update on this issue?
    Tuesday, March 29, 2016 5:14 PM
  • Any updates ?

    Thanks,

    • Proposed as answer by OmarEhmidee Sunday, December 10, 2017 9:40 AM
    • Unproposed as answer by OmarEhmidee Sunday, December 10, 2017 9:40 AM
    Sunday, December 10, 2017 9:19 AM
  • Any updates ?
    Sunday, December 10, 2017 11:57 AM
  • I have this problem too:

    (sorry for the parts thar are in German language)

    02.05.2018 20:21:38 : Exception recvd. at CollectPrimaryCounters Mindestens ein Fehler ist aufgetreten.    bei Microsoft.Virtualization.HVRCapacityPlanner.CalculateCapacity.CollectPrimaryCounters(Int32 MachineIndex)
       bei Microsoft.Virtualization.HVRCapacityPlanner.CalculateCapacity.<>c__DisplayClass1.<CalculateCapacityInternalStep1>b__0(Int32 currentCounterInfoList) Inner Exception: Mindestens ein Fehler ist aufgetreten.    bei Microsoft.Virtualization.HVRCapacityPlanner.Utilities.<>c__DisplayClasse.<CountersCalculation>b__c(Int32 line)
       bei System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
       bei System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
       bei System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object )
    02.05.2018 20:21:38 : In CalculateSysCapbackgroundWorker_RunWorkerCompleted while cleanup VMError occured while collecting counters on primary. Check log for more details.    bei Microsoft.Virtualization.HVRCapacityPlanner.CalculateCapacity.CalculateCapacityInternalStep1()
       bei Microsoft.Virtualization.HVRCapacityPlanner.CalculateCapacity.CalculateSysCapbackgroundWorker_DoWork(Object sender, DoWorkEventArgs e)

    Wednesday, May 02, 2018 6:34 PM