Installing SDNC/R from startODL.sh script
Settings:
  SDNC_BIN=/opt/onap/sdnc/bin
  SDNC_HOME=/opt/onap/sdnc
  SDNC_DB_INIT=false
  ODL_CERT_DIR=
  ENABLE_ODL_CLUSTER=false
  ODL_REMOVEIDMDB=true
  SDNC_REPLICAS=
  ENABLE_OAUTH=false
  ENABLE_ODLUX_RBAC=false
  SDNRWT=false
  SDNRDM=false
  SDNRONLY=false
  SDNRINIT=true
  SDNRDBURL=http://sdnrdb.onap:9200
  SDNRDBUSERNAME=
  GEO_ENABLED=false
  IS_PRIMARY_CLUSTER=false
  MY_ODL_CLUSTER=127.0.0.1
  PEER_ODL_CLUSTER=
  SDNR_NORTHBOUND=false
  AAF_ENABLED=false
  SERVICE_NAME=
  NAMESPACE=
  SDNR_NETCONF_CALLHOME_ENABLED=false
SDN-R Database InitializationExecute: /opt/java/openjdk/bin/java -jar  /opt/opendaylight/current/system/org/onap/ccsdk/features/sdnr/wt/sdnr-wt-data-provider-setup/1.4.2/sdnr-wt-data-provider-setup-1.4.2.jar -c init -db http://sdnrdb.onap:9200 -dbt ELASTICSEARCH -dbu  -dbp  -k
2023-04-23 00:11:03,232 [ERROR|Program] Error during execution: {}
org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClientException: Can not reach database server. Client not started.
	at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.getClient(HtDatabaseClient.java:119)
	at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.getClient(HtDatabaseClient.java:95)
	at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.database.ElasticsearchDataMigrationProvider.<init>(ElasticsearchDataMigrationProvider.java:74)
	at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.DataMigrationProviderImpl.<init>(DataMigrationProviderImpl.java:37)
	at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program.cmd_init_db(Program.java:376)
	at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program.main2(Program.java:229)
	at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program.main(Program.java:128)
Caused by: org.elasticsearch.client.ResponseException: method [GET], host [http://sdnrdb.onap:9200], URI [/], status line [HTTP/1.1 502 Bad Gateway]
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx</center>
</body>
</html>

	at org.elasticsearch.client.RestClient.convertResponse(RestClient.java:326)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:296)
	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:270)
	at org.onap.ccsdk.features.sdnr.wt.common.database.ExtRestClient.getInfo(ExtRestClient.java:314)
	at org.onap.ccsdk.features.sdnr.wt.common.database.ExtRestClient.autoDetectVersion(ExtRestClient.java:164)
	at org.onap.ccsdk.features.sdnr.wt.common.database.ExtRestClient.<init>(ExtRestClient.java:153)
	at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.<init>(HtDatabaseClient.java:71)
	at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.getClient(HtDatabaseClient.java:106)
	... 6 more
2023-04-23 00:11:34,601 [INFO|ExtRestClient] working with sdnrdb version 7.9.3
2023-04-23 00:11:34,848 [INFO|ElasticsearchDataMigrationProvider] detected database version 7.9.3
2023-04-23 00:11:34,853 [INFO|ElasticsearchDataMigrationProvider] autodetect release jakarta-R1
2023-04-23 00:11:37,208 [WARN|RequestLogger] request [PUT http://sdnrdb.onap:9200/_cluster/settings] returned 1 warnings: [299 Elasticsearch-7.9.3-c4138e51121ef06a6404866cddc601906fe5c868 "[script.max_compilations_rate] setting was deprecated in Elasticsearch and will be removed in a future release! See the breaking changes documentation for the next major version."]
2023-04-23 00:11:37,231 [INFO|ElasticsearchDataMigrationProvider] creating index for faultlog
2023-04-23 00:11:59,339 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:11:59,340 [INFO|ElasticsearchDataMigrationProvider] creating alias for faultlog
2023-04-23 00:12:06,808 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:12:06,809 [INFO|ElasticsearchDataMigrationProvider] creating index for cmlog
2023-04-23 00:12:14,603 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:12:14,604 [INFO|ElasticsearchDataMigrationProvider] creating alias for cmlog
2023-04-23 00:12:17,223 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:12:17,224 [INFO|ElasticsearchDataMigrationProvider] creating index for maintenance
2023-04-23 00:12:23,303 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:12:23,304 [INFO|ElasticsearchDataMigrationProvider] creating alias for maintenance
2023-04-23 00:12:25,704 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:12:25,707 [INFO|ElasticsearchDataMigrationProvider] creating index for inventory
2023-04-23 00:12:34,633 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:12:34,634 [INFO|ElasticsearchDataMigrationProvider] creating alias for inventory
2023-04-23 00:12:37,503 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:12:37,504 [INFO|ElasticsearchDataMigrationProvider] creating index for guicutthrough
2023-04-23 00:12:44,010 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:12:44,010 [INFO|ElasticsearchDataMigrationProvider] creating alias for guicutthrough
2023-04-23 00:12:46,108 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:12:46,109 [INFO|ElasticsearchDataMigrationProvider] creating index for historicalperformance24h
2023-04-23 00:12:53,533 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:12:53,533 [INFO|ElasticsearchDataMigrationProvider] creating alias for historicalperformance24h
2023-04-23 00:12:55,334 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:12:55,335 [INFO|ElasticsearchDataMigrationProvider] creating index for eventlog
2023-04-23 00:13:00,673 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:13:00,673 [INFO|ElasticsearchDataMigrationProvider] creating alias for eventlog
2023-04-23 00:13:03,021 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:13:03,022 [INFO|ElasticsearchDataMigrationProvider] creating index for connectionlog
2023-04-23 00:13:08,218 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:13:08,219 [INFO|ElasticsearchDataMigrationProvider] creating alias for connectionlog
2023-04-23 00:13:10,231 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:13:10,232 [INFO|ElasticsearchDataMigrationProvider] creating index for mediator-server
2023-04-23 00:13:16,938 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:13:16,938 [INFO|ElasticsearchDataMigrationProvider] creating alias for mediator-server
2023-04-23 00:13:19,603 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:13:19,604 [INFO|ElasticsearchDataMigrationProvider] creating index for userdata
2023-04-23 00:13:24,344 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:13:24,345 [INFO|ElasticsearchDataMigrationProvider] creating alias for userdata
2023-04-23 00:13:26,405 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:13:26,405 [INFO|ElasticsearchDataMigrationProvider] creating index for required-networkelement
2023-04-23 00:13:32,005 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:13:32,005 [INFO|ElasticsearchDataMigrationProvider] creating alias for required-networkelement
2023-04-23 00:13:34,206 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:13:34,206 [INFO|ElasticsearchDataMigrationProvider] creating index for historicalperformance15m
2023-04-23 00:13:39,513 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:13:39,513 [INFO|ElasticsearchDataMigrationProvider] creating alias for historicalperformance15m
2023-04-23 00:13:42,340 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:13:42,341 [INFO|ElasticsearchDataMigrationProvider] creating index for faultcurrent
2023-04-23 00:13:48,178 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:13:48,178 [INFO|ElasticsearchDataMigrationProvider] creating alias for faultcurrent
2023-04-23 00:13:52,036 [INFO|ElasticsearchDataMigrationProvider] succeeded
2023-04-23 00:13:52,037 [INFO|Program] database init completed successfully
Result of init script: 0
