Symptoms:
- HA environment contains 3 nodes.
- HA deployment fails on initialization step (stage nine) with the following error:
Issue - Error Code: LCMVRAVACONFIG590003
Cluster initialization failed on vRA.
vRA va initialize failed on : xxxx-xxxx-xxxx,
Please login to the vRA and check /var/log/deploy.log file for more information on failure. If its a vRA HA and to reset the load balancer, set the 'isLBRetry' to 'true' and enter a valid load balancer hostname.
- In the install-rpms.log, vco-controlcenter-app.previous.log or in vco-controlcenter-app.log, you see similar to:
2020-06-19 18:13:33,993 [ERROR] Failed to create the initial configuration data. Reason: query did not return a unique result: 2; nested exception is javax.persistence.NonUniqueResultException: query did not return a unique result: 2
Failed to update database configuration with local changes.
java.lang.RuntimeException: Failed to create the initial configuration data.
at com.vmware.o11n.settings.proxies.DbConfigurationInitializator.run(DbConfigurationInitializator.java:53) ~[o11n-configuration-services-8.1.0.jar:?]
at com.vmware.o11n.cli.configuration.commands.sync.SyncLocalCommand.updateDbConfiguration(SyncLocalCommand.java:28) ~[o11n-commandline-configuration-8.1.0.jar:?]
at com.vmware.o11n.cli.configuration.commands.ConfigurationCommand.updateDbConfiguration(ConfigurationCommand.java:133) [o11n-commandline-configuration-8.1.0.jar:?]
at com.vmware.o11n.cli.configuration.commands.ConfigurationCommand.executeCmd(ConfigurationCommand.java:122) [o11n-commandline-configuration-8.1.0.jar:?]
at com.vmware.o11n.cli.configuration.ConfigurationCli.executeCommand(ConfigurationCli.java:123) [o11n-commandline-configuration-8.1.0.jar:?]
at com.vmware.o11n.cli.configuration.ConfigurationCli.main(ConfigurationCli.java:99) [o11n-commandline-configuration-8.1.0.jar:?]