Upgrading to vRA 8.4.1 fails during deploy.sh with errors similar to Unable to read vRA certificate configuration for 'lb'
search cancel

Upgrading to vRA 8.4.1 fails during deploy.sh with errors similar to Unable to read vRA certificate configuration for 'lb'

book

Article ID: 325946

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • Upgrading to vRA 8.4.1 fails during deploy.sh with errors similar to
    Unable to read vRA certificate configuration for 'lb'
  • deploy.log contains errors similar to
    curl: (22) The requested URL returned error: 400
    Failed to update existing vRO config. Will retry in 5 seconds...
    curl: (22) The requested URL returned error: 400
    Failed to update existing vRO config. Will retry in 15 seconds...
    curl: (22) The requested URL returned error: 400
    Failed to update existing vRO config. Will retry in 45 seconds...
    curl: (22) The requested URL returned error: 400
    ...
    ...
    Registering embedded vRO 
    ========================= 
    + set +x 
    Unable to read vRA certificate configuration for 'lb': Missing certificate configuration for lb
    


Environment

VMware vRealize Automation 8.4.x

Cause

This issue occurs when two json objects are found during the register_vro_endpoint.sh endpoint fetching process.

In vRA 8.1, it was possible to add the embedded vRO multiple times from the user interface.

Resolution

This issue is resolved in VMware vRealize Automation 8.2.

Workaround:
  1. Login to https://vRSLCMFQDN/lcm/cms/endpoints/manage/list
  2. Isolate the entries that are duplicate with the same endpoint name and FQDN.
  3. Choose the entry that is in a Warning / Error state.
  4. Select the ellipsis for the chosen endpoint.
  5. Select Delete.
  6. Re-attempt the upgrade.
Note: This workaround can be applied to more than one duplication if necessary.
Note: If necessary, all endpoints can be removed and recreated.