Unable to update Aria Config integration URL within Aria Automation
search cancel

Unable to update Aria Config integration URL within Aria Automation

book

Article ID: 417327

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • using the Aria Automation portal the URL for Aria Automation Config can not be changed
  • trying to delete the Integration failed, due to deployed SaltStack components

Environment

Aria Automation 8.18.x

Aria Automation Config 

Cause

The RaaS server address can not be changed as this requires a migration of the deployed Salt components to the new salt-master connected to the new RaaS server

Resolution

Unregister Deployments which are using the Salt component, then the Integration can be deleted & recreated. Afterwards VM's can be re-imported.

 

Workaround:

  1. Take a Backup
  2. Migrate deployed salt-minion's to the new salt-master server connected to the new RaaS server to be used.
  3. Use the Aria Automation API to update the Integration:
    1. To use the API generate a token, Get Your Access Token for the VMware Aria Automation API
    2. To identify the id of the integration for Aria Config, send a GET call to /iaas/api/integrations
    3. Get the details of the integration, we will use the response & modify it for the update call, send a GET call to /iaas/api/integrations/{id}
    4. Send a Patch call to /iaas/api/integrations/{id}
      1. Use the integrationProperties and also in customProperties from the response from Step 2.3 as body, we need to update each hostname reference in integrationProperties and also in customProperties
      2. the field privateKeyId can be moved to the root of the body (outside integrationProperties / customProperties) and also has to include the field privateKey containing the password for this account

        Example of modified body:
        {
            "privateKeyId": "###",  // RaaS Username
            "privateKey": "###",    // RaaS Password
            "customProperties": {
                "hostName": "raas.example.com"        
            },
            "integrationProperties": {
                "hostName": "raas.example.com"
            }
        }