Notifications

33 views

Description

vCenter Discovery shows warning in discovery log: "vCenter Message: This method requires authentication."

The warning is thrown by probe: "VMWare - vCenter VM Tags".

Cause

The probe "VMWare - vCenter VM Tags" is calling MID server script include: VMWarevCenterVMTagsProbe, which is then calling function getTagsForResources in MID server script include AVMWareProbe.

The function getTagsForResources is trying to make a post request to https://'+ 'vCenter IP' +'/rest/com/vmware/cis/session, using basic auth.

The detailed error is:

{"messages":[{"default_message":"Authentication required.","id":"com.vmware.vapi.endpoint.method.authentication.required","args":[]}]},"type":"com.vmware.vapi.std.errors.unauthenticated"


This error can be thrown if the user / password combo is incorrect / cannot authenticate.

However under vCenter discovery context (where the credential works for other probes), below is more likely to be the cause:

https://kb.vmware.com/s/article/67483



Resolution


Additional Information

Other resource that may help with troubleshooting:
https://communities.vmware.com/thread/586726

Article Information

Last Updated:2020-09-10 22:23:14
Published:2020-09-11