Solved

vmStatsProvider errors after VM migration

  • 15 March 2021
  • 1 reply
  • 1857 views

Userlevel 1
Badge +11

After converting a VM running Windows 2012 r2 from VMware to Nutanix using Move version 3.4.1, we are receiving event IDs 257 and 259 regularly as shown below.

Log Name:      Application
Source:        vmStatsProvider
Date:          3/15/2021 8:35:34 AM
Event ID:      257
Task Category: General
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      ServerA
Description:
The "vmStatsProvider" can not be initialized. "vmGuestLib" returns error "VMware Guest API is not running in a Virtual Machine" (2).
 

Log Name:      Application
Source:        vmStatsProvider
Date:          3/15/2021 8:35:34 AM
Event ID:      259
Task Category: Guest Library API
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      ServerA
Description:
Unable to start "vmGuestLibrary". Error: "VMware Guest API is not running in a Virtual Machine" (2).

VMware Tools is still installed on the server however it won’t uninstall cleanly after the migration so I’ve disabled all of the ‘VMware’ services instead;

“VMware Tools”
“VMware Snapshot Provider”
“VMware Alias Manager and Ticket Service”

However the errors continue to come in so I’m sure this is being generated by some type of dependency like WMI, etc.

icon

Best answer by Sudhir9 15 March 2021, 17:48

View original

This topic has been closed for comments

1 reply

Userlevel 2
Badge +4

Thank you for posting to Nutanix communities, these events will get generated when you have installed vmtools with perfmon component. It passes the VM performance stats back to the host. Its import we remove these services to clear these events, disabling it won’t help as it registers on WMI to query the performance stats. You can check our KB-10294 to uninstall the vmtools. It gives a step by step process to remove the vmtools after moving the VM to nutanix AHV.