Testing horizon adapter instance results in the error Failed to Test adapter instance. Reason - Invalid Credentials or Expired Horizon Connection Server Certificate
search cancel

Testing horizon adapter instance results in the error Failed to Test adapter instance. Reason - Invalid Credentials or Expired Horizon Connection Server Certificate

book

Article ID: 324151

calendar_today

Updated On: 10-11-2024

Products

VMware Aria Suite

Issue/Introduction

The purpose of this article is to provide steps to resolve Horizon Adapter connection error Failed to Test adapter instance. Reason - Invalid Credentials or Expired Horizon Connection Server Certificate triggers


Symptoms:
  • After upgrading management pack for horizon the adapter instance is in warning state
  • When testing the adapter instance the error Failed to Test adapter instance. Reason - Invalid Credentials or Expired Horizon Connection Server Certificate triggers

 

Environment

Aria Operations 8.x
Aria Operations 8.18

Resolution

Important: Take snapshots of each of the Aria Operations nodes before applying any of the steps below How to take a Snapshot of Aria Operations.

 

Before attempting the resolution below verify the interoperability between your version of Aria Operations and the installed version of Horizon management pack.

It is recommended to upgrade the management pack. Note: version 2.7.0 is recommended at this time due to an issue in version 2.7.1

 

Continue with the below steps if upgrading to the latest version of the management pack has not resolved the issue.

 

Add the horizon connection server to the /etc/hosts file

  1. Open ssh session to all the Aria Operations nodes.
  2. Edit the /etc/hosts file to add an entry for the horizon connection server.
    • The entry needs to be in the <ipAddress><space><FQDN> format
    • Where ipAddress is the ipv4 address of the connection server and FQDN is the fully qualified domain name of the connection server
  3. Import horizon server root certificate into vROPs
    1. In Chrome or Mozilla sign into the Horizon Administration Interface and download the root certificate .pem file of the connection server
    2. Sign into the Aria Operations product UI interface
    3. Navigate to Administration -> Certificates and delete the respective connection server certificate(s)
    4. Click on the Import button in the Administration -> Certificates window. It will prompt to Import CA Certificate(s). Please browse to the download location of the .pem cert file downloaded in step 1 and click on the Import button in the window

Additional Information

Impact/Risks:

Horizon adapter instance was not collecting data

URL for 2.7.0 Provided below:

VMware Aria Operations Management Pack for VMware Horizon 2.7