TCA Management Pack “Test Connection” Fails Due to Incorrect Account Configuration
search cancel

TCA Management Pack “Test Connection” Fails Due to Incorrect Account Configuration

book

Article ID: 405725

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

The VMware Aria Operations for TCA management pack is showing a warning status. The “Test Connection” fails even though the same user ID and password work when logging into TCA Manager.

Environment

Aria Ops. 8.18.3

TCP 5.0

TCA 3.3

Management pack for Aria Ops. 1.1.0

Cause

The TCA was configured to use a different account than the one originally set up. The log entry Collect threw an exception: "status code: 403 does not match expected status code 200" confirms that it is an authorization issue. The old account was still active and had valid access, but a configuration mismatch led to the validation failure.

longrun-###############-TelcoCloudPlatform_######.log

##-##-##T##:##:##,###+#### ERROR [Collector worker thread 9] (######) com.integrien.alive.common.adapter3.AdapterBase.collect - Collect threw an exception: status code:403 does not match expected status code 200 java.lang.RuntimeException: status code:403 does not match expected status code 200
        at com.vmware.vcops.adapter.telcocloudplatform.util.HttpHelper.validateStatusCode(HttpHelper.java:219) ~[TelcoCloudPlatform.jar:?]
        at com.vmware.vcops.adapter.telcocloudplatform.util.HttpHelper.handlePost(HttpHelper.java:211) ~[TelcoCloudPlatform.jar:?]
        at com.vmware.vcops.adapter.telcocloudplatform.util.HttpHelper.executeRequest(HttpHelper.java:121) ~[TelcoCloudPlatform.jar:?]
        at com.vmware.vcops.adapter.telcocloudplatform.util.HttpHelper.executePost(HttpHelper.java:239) ~[TelcoCloudPlatform.jar:?]
        at com.vmware.vcops.adapter.telcocloudplatform.auth.AuthHandler.getTcaCookieAndSetEndpoint(AuthHandler.java:85) ~[TelcoCloudPlatform.jar:?]
        at com.vmware.vcops.adapter.telcocloudplatform.util.TelcoCloudPlatformApiHelper.validateTcaCredentials(TelcoCloudPlatformApiHelper.java:211) ~[TelcoCloudPlatform.jar:?]
        at com.vmware.vcops.adapter.telcocloudplatform.datacollector.TcaDataCollector.collectTcaData(TcaDataCollector.java:114) ~[TelcoCloudPlatform.jar:?]
        at com.vmware.vcops.adapter.telcocloudplatform.TelcoCloudPlatform.onCollect(TelcoCloudPlatform.java:129) ~[TelcoCloudPlatform.jar:?]
        at com.integrien.alive.common.adapter3.AdapterBase.collectBase(AdapterBase.java:776) ~[vrops-adapters-sdk.jar:?]
        at com.integrien.alive.common.adapter3.AdapterBase.collect(AdapterBase.java:548) ~[vrops-adapters-sdk.jar:?]
        at com.integrien.alive.collector.CollectorWorkItem3.run(CollectorWorkItem3.java:45) ~[vcops-collector-1.0-SNAPSHOT.jar:?]
        at com.integrien.alive.common.util.ThreadPool$WorkerItem.run(ThreadPool.java:275) ~[vrops-adapters-sdk.jar:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
        at java.lang.Thread.run(Unknown Source) ~[?:?]

 

Resolution

Update the TCA configuration to use the correct account with the required permissions. Remove any unused or outdated accounts from TCA to prevent conflicts. After updating the configuration, run the “Test Connection” to confirm successful authentication. This resolves the warning in the management pack.