"Authentication Failed: Bad Username or Credentials presented" in collector logs for VCF Operations for Networks
search cancel

"Authentication Failed: Bad Username or Credentials presented" in collector logs for VCF Operations for Networks

book

Article ID: 419786

calendar_today

Updated On:

Products

VCF Operations for Networks

Issue/Introduction

"Authentication Failed: Bad Username or Credentials presented" in collector logs for VCF Operations for Networks

You have NSX-T as a data source in VCF Operations for Networks and are getting an error that says the credentials are invalid.

NOTE:  VCF Operations for Networks was formerly named Aria Operations for Networks (AON), and prior to that was named vRealize Network Insight (vRNI).

Environment

VCF Operations for Networks

Cause

Detailed log sequence in the collector logs in /var/log/arkin/collector/ directory of the collector logs shows events like the following:

####-##-##T##:##:##.###Z ERROR dataprovider.utils.HttpUtils health-check-start-dp-exec-6 checkCodeAndThrow:53 Could not get response for /api/session/create, status 403

####-##-##T##:##:##.###Z ERROR dataprovider.utils.HttpUtils health-check-start-dp-exec-6 checkStatusAndThrow:41 API /api/session/create error response {"module_name":"common-service","error_message":"Authentication Failed: Bad Username or Credentials presented","error_code":98}

####-##-##T##:##:##.###Z WARN common.utils.CommonUtils health-check-start-dp-exec-6 logException:2678 Exception occurred while getting access token for dpId = NSXT_###.###.###.###.###

Resolution

If the events in the logs starting with the oldest log in the rotation do not show the very first occurrence of the event shown, it is not forensically possible to determine the date / time when the issue first occurred.  

To resolve the issue, delete the data source and then re-add it to VCF Operations for Networks.