SQL DB endpoint disappears from vRO inventory after running "Update Database" Workflow in Aria Automation
search cancel

SQL DB endpoint disappears from vRO inventory after running "Update Database" Workflow in Aria Automation

book

Article ID: 430050

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • SQL Database endpoints disappear from the Aria Orchestrator inventory immediately after running the "Update Database" workflow to update login credentials.

  • Logs on Aria Automation located at services-logs/prelude/vco-app/file-logs/vco-server-app.log shows entries similar to:

    YYYY-MM-DDThh:mm:ss INFO vco [host='vco-app' thread='http-nio-8280-exec-1430' user='<User Name>' org='<Org ID>' trace='<Trace ID>'] {} WorkflowEngine - Executing workflow 'Validate a database'
    .
    .
    YYYY-MM-DDThh:mm:ss WARN vco [host='vco-app' thread='WorkflowExecutorPool-Thread-41' user='<User Name>' org='<Org ID>' trace='<Trace ID>'] {|__SYSTEM|<User Name>:Validate a database:<DB ID>:token=<Token ID>:context=<Context ID>} ch.dunes.vso.sdk.WrappedJavaMethod - Invocation exception during 'public void com.vmware.o11n.plugin.database.model.DatabaseManager.validateDatabase(com.vmware.o11n.plugin.database.Database) throws com.vmware.o11n.plugin.database.DatabaseException' call on object 'com.vmware.o11n.plugin.database.model.DatabaseManager@5bc49de5'
    java.lang.reflect.InvocationTargetException: null
    .
    .
    Caused by: com.vmware.o11n.plugin.database.DatabaseException: com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user '<User Account>'. ClientConnectionId:<Client ID>
            at com.vmware.o11n.plugin.database.jdbc.DatabaseConnectionFactory.getConnection(DatabaseConnectionFactory.java:69) ~[o11nplugin-database-model-1.3.0.jar:?]
            at com.vmware.o11n.plugin.database.model.DatabaseManager.validateDatabase(DatabaseManager.java:191) ~[o11nplugin-database-core-1.3.0.jar:?]
    .

    .

    YYYY-MM-DDThh:mm:ss INFO vco [host='vco-app' thread='WorkflowExecutorPool-Thread-41' user='<User Name>' org='<Org ID>' trace='<Trace ID>'] {|__SYSTEM|<User Name>:Validate a database:<DB ID>:token=<Token ID>:context=<Context ID>} ch.dunes.workflow.engine.mbean.helper.WorkflowHandler - ******** Workflow 'Validate a database' (id: <DB ID>) has finished with status [ failed ]. Execution id: <Exex ID> **********

Environment

  • Aria Automation 8.18.x
  • Aria Automation Orchestrator 8.18.x

Cause

This issue occurs because the SQL connection becomes invalid during the password update process or due to a login failure.
By design in the current SQL plugin versions, invalid or unusable connections are hidden and not displayed in the vRO inventory, preventing users from seeing or editing the endpoint.

Resolution

Broadcom Engineering is aware of this issue and is currently working on a permanent fix.

Workaround:

Be aware that changing the configuration will trigger a service restart!

  1. Within the Orchestrator web client navigate to Assets -> Resources
  2. Change the view to Tree view (found at the right side at the end of the Filter.. line)
  3. Navigate to Library -> SQL -> Configurations
  4. Each database configuration is stored as an xml file
  5. Find the xml configuration for the changed database, search for url to find the connection string
  6. Export the configuration
  7. Either edit the configuration with the known changes like DNS or Port change or otherwise if not known delete the configuration from Orchestrator and re-add the database.
    * If editing the configuration is not possible then disable the SQL plugin in System Settings > Plug-ins, this will trigger a service restart! Once the edit is completed re-enable the plugin.