Aria Automation Orchestrator workflows that uses vCenter plugin fails with the error: Java Runtime Exception:com.vmware.vim.vmomi.client.exception.
search cancel

Aria Automation Orchestrator workflows that uses vCenter plugin fails with the error: Java Runtime Exception:com.vmware.vim.vmomi.client.exception.

book

Article ID: 383660

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

Aria Automation Orchestrator workflow fails to run any workflow to vCenter Server.

Symptoms:

  • The workflow failures are observed soon after the vCenter certificates are renewed with Error:
    Java Runtime Exception:com.vmware.vim.vmomi.client.exception
  • vco-app.log
    com.vmware.o11n.plugin.vsphere.connect.SessionWrapper - Error occurred when constructing host session for:xxxxxxxxxxxxxxxxxx PBM
    java.lang.RuntimeException: com.vmware.vim.vmomi.client.exception.SslException: com.vmware.vim.vmomi.core.exception.CertificateValidationException: Server certificate chain is not trusted and thumbprint doesn't match
  • vCenter Plugin in error state: unusable: java.lang.reflect.invocationTargetException

Environment

Aria Automation Orchestrator 8.x

Cause

 The thumbprint of the new vCenter certificate doesn't match with the certificate of vCenter stored in the trusted store of Aria Automation Orchestrator.

Resolution

To resolve the issue, update vCenter server endpoint using 'Update a vCenter Server instance' workflow to accept the new certificate of vCenter server:

  1. Login to Aria Orchestrator client.
  2. Select 'Workflows' from left pane and navigate to 'Update a vCenter Server instance' workflow under vCenter --> Configuration and click Run.
  3. Select the affected vCenter server instance and click the Update the log-in properties tab. (Select the check box to accept the new certificate and silently accept it)
  4. Uncheck the Update the method to manage user access to the vCenter Server system. If you select No, Orchestrator will create only one connection to vCenter Server (the method is share a unique session) checkbox.
  5. Update the user name and password and click Run.

The endpoint is updated.