wxt9861 / esxi_stats

ESXi component for Home Assistant
MIT License
145 stars 40 forks source link

vim.fault.NoPermission #65

Closed Kedryn closed 2 years ago

Kedryn commented 2 years ago

Don't know is if it's a bug or my fault I added the ESXi Stats integration to my HA 2022.2.5 In the integration panel, i configured ESXi Stats with the ip of the vCenter, user and password (made a read only user for this integration, as i want only to read statistics), but i got some errors in the logs:

ERROR: (vim.fault.NoPermission) { dynamicType = , dynamicProperty = (vmodl.DynamicProperty) [], msg = '', faultCause = , faultMessage = (vmodl.LocalizableMessage) [], object = 'vim.LicenseManager:LicenseManager', privilegeId = 'Global.Licenses' }

WARNING: Config entry '10.1.101.31' for esxi_stats integration not ready yet: None; Retrying in background

This is the integration screenshot: image

I tested the credentials in vSphere 7.0 and were fine.

TheGabeMan commented 2 years ago

I know that to be able to read licenses, you need special permissions in vSphere. Maybe esxi_stats wants these permissions as well. Check this post: https://communities.vmware.com/t5/VMware-vSphere-Discussions/Global-Licenses-privilege-Info/td-p/2278456

Kedryn commented 2 years ago

You got it. Thanks