VMware Cloud Community
hanish
Contributor
Contributor

vim.fault.InvalidLogin while querying kernel modules

I'm using VI API to query kernel modules of all the hosts (using "queryModules" method). But for some hosts it throws "javax.xml.ws.soap.SOAPFaultException: vim.fault.InvalidLogin" . Why authentication error happens only for few hosts?

0 Kudos
3 Replies
grace27
Enthusiast
Enthusiast

Hi

Welcome to communities.

Is this AD & SSO intigrated environment if so please go through below

http://blogs.vmware.com/vsphere/2012/09/joining-vsphere-hosts-to-active-directory.html.

0 Kudos
hanish
Contributor
Contributor

Hi,

This not an AD integrated environment. Direct authentication with vCenter.


0 Kudos
Froggiz
Contributor
Contributor

it can be linked to snapshots

i got the same error on Esxi 5.5 when i try to execute

vim-cmd vmsvc/snapshot.create {VM}.vmx "{TITLE}" "{DETAIL}" 0

when i allready got a snapshot

if i remove the snaphot before launching the command, the error is gone

vim-cmd vmsvc/snapshot.removeall {VM}.vmx

vim-cmd vmsvc/snapshot.create {VM}.vmx "{TITLE}" "{DETAIL}" 0

wiki.frogg.fr
0 Kudos