AVI adapter error HTTP error code : 301
search cancel

AVI adapter error HTTP error code : 301

book

Article ID: 415213

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

AVI adapter State is Collecting but Status is "No data receiving".

NSXLBAdvanced.log produces the following error.

Issue Verification: com.vmware.vcops.NSXAdvancedLBAdapter.getTenantSessionMapForUser - Exception while fetching sessions for tenants

java.io.IOException: Failed : HTTP error code : 301

 

Environment

Aria Operations 8.18.3

Cause

This is a defective with AVI adapter during the Validate Connection. Known impacted adapter version - Avi controllers (22.1.5 and 30.2.3)

Resolution

Integration: The AVI adapter controller URL must contain a valid FQDN. Even if the Connection Validation test is successful, no metric collection will occur.

 

Example.

ahost.mysite.com —> works

http://ahost.mysite.com, https://ahost.mysite.com, https://ahost.mysite.com:443 or ahost .. all of these will NOT worked, even though the Validate Connection is successful and will result in HTTP Error Code : 301 in the adapter’s NSXLBAdvanced.log.

 

Additional Information

The Validate Connection should have failed if the user has an unexpected Controller URL. This is a known issue. User needs to make sure to type in an exact fqdn.