Results

By type

          2021-11-10 10:04:57.142  INFO 1 --- [           main] o.o.dcae.analytics.tca.web.TcaAppMain    : Starting TcaAppMain v1.3.1 using Java 11.0.9.1 on dcae-tcagen2 with PID 1 (/opt/dcae-analytics-tca-web-1.3.1.jar started by tca-gen2 in /opt)
2021-11-10 10:04:57.146 DEBUG 1 --- [           main] o.o.dcae.analytics.tca.web.TcaAppMain    : Running with Spring Boot v2.4.4, Spring v5.3.5
2021-11-10 10:04:57.147  INFO 1 --- [           main] o.o.dcae.analytics.tca.web.TcaAppMain    : The following profiles are active: configBindingService,dmaap,mongo
2021-11-10 10:04:59.321  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data MongoDB repositories in DEFAULT mode.
2021-11-10 10:04:59.456  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 127 ms. Found 1 MongoDB repository interfaces.
2021-11-10 10:05:00.619  INFO 1 --- [           main] faultConfiguringBeanFactoryPostProcessor : No bean named 'taskScheduler' has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created.
2021-11-10 10:05:00.631  INFO 1 --- [           main] faultConfiguringBeanFactoryPostProcessor : No bean named 'integrationHeaderChannelRegistry' has been explicitly defined. Therefore, a default DefaultHeaderChannelRegistry will be created.
2021-11-10 10:05:00.680  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'configurationPropertiesValidator' of type [org.onap.dcae.analytics.tca.web.validation.TcaAppPropertiesValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-11-10 10:05:00.962  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'integrationChannelResolver' of type [org.springframework.integration.support.channel.BeanFactoryChannelResolver] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-11-10 10:05:00.964  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'integrationDisposableAutoCreatedBeans' of type [org.springframework.integration.config.annotation.Disposables] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-11-10 10:05:00.997  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.integration.config.IntegrationManagementConfiguration' of type [org.springframework.integration.config.IntegrationManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-11-10 10:05:01.495 DEBUG 1 --- [           main] org.jboss.logging                        : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2021-11-10 10:05:01.571  INFO 1 --- [           main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext
2021-11-10 10:05:01.573  INFO 1 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 4341 ms
2021-11-10 10:05:01.690 DEBUG 1 --- [           main] i.m.c.u.i.logging.InternalLoggerFactory  : Using SLF4J as the default logging framework
2021-11-10 10:05:02.789 DEBUG 1 --- [           main] _.s.web.servlet.HandlerMapping.Mappings  : 
	s.d.s.w.Swagger2ControllerWebMvc:
	{GET [/v2/api-docs], produces [application/json || application/hal+json]}: getDocumentation(String,HttpServletRequest)
2021-11-10 10:05:02.794 DEBUG 1 --- [           main] _.s.web.servlet.HandlerMapping.Mappings  : 
	s.d.s.w.ApiResourceController:
	{GET [/swagger-resources/configuration/ui], produces [application/json]}: uiConfiguration()
	{GET [/swagger-resources/configuration/security], produces [application/json]}: securityConfiguration()
	{GET [/swagger-resources], produces [application/json]}: swaggerResources()
2021-11-10 10:05:02.807 DEBUG 1 --- [           main] _.s.web.servlet.HandlerMapping.Mappings  : 
	o.o.d.a.t.w.c.TcaRestController:
	{GET [/api/v1/tca/policy], produces [application/json]}: getTcaPolicy()
	{POST [/api/v1/tca/policy], consumes [application/json], produces [application/json]}: setTcaPolicy(TcaPolicy)
	{POST [/api/v1/tca/execute], consumes [application/json], produces [application/json]}: execute(TcaExecutionRequest)
2021-11-10 10:05:02.817 DEBUG 1 --- [           main] _.s.web.servlet.HandlerMapping.Mappings  : 
	o.s.b.a.w.s.e.BasicErrorController:
	{ [/error], produces [text/html]}: errorHtml(HttpServletRequest,HttpServletResponse)
	{ [/error]}: error(HttpServletRequest)
2021-11-10 10:05:03.218  INFO 1 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 16 endpoint(s) beneath base path '/actuator'
2021-11-10 10:05:03.294  INFO 1 --- [           main] f.TcaAppPropsToMrSubscriberPrefsFunction : Creating DMaaP MR Subscriber from config properties key: tca_handle_in, props: BaseConfigBindingServiceProperties.SubscriberDetails(super=BaseConfigBindingServiceProperties.PubSubCommonDetails(type=message_router, aafUsername=null, dmaapInfo=BaseConfigBindingServiceProperties.DmaapInfo(clientRole=null, clientId=null, location=null, topicUrl=http://message-router:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT), proxyUrl=null, ignoreSSLValidation=null), consumerGroup=cg1, consumerIds=[c0, c1], messageLimit=50000, timeout=-1, polling=BaseConfigBindingServiceProperties.Polling(fixedRate=0, autoAdjusting=BaseConfigBindingServiceProperties.AutoAdjusting(min=30000, stepUp=10000, max=60000, stepDown=30000)))
2021-11-10 10:05:03.360  INFO 1 --- [           main] f.TcaAppPropsToMrSubscriberPrefsFunction : Selecting Auto Adjusting polling rate for DMaaP MR Subscriber: tca_handle_in
2021-11-10 10:05:03.649  INFO 1 --- [           main] org.mongodb.driver.cluster               : Cluster created with settings {hosts=[dcae-mongohost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms'}
2021-11-10 10:05:03.751  INFO 1 --- [mongohost:27017] org.mongodb.driver.cluster               : Exception in monitor thread while connecting to server dcae-mongohost:27017

com.mongodb.MongoSocketException: dcae-mongohost
	at com.mongodb.ServerAddress.getSocketAddresses(ServerAddress.java:211)
	at com.mongodb.internal.connection.SocketStream.initializeSocket(SocketStream.java:75)
	at com.mongodb.internal.connection.SocketStream.open(SocketStream.java:65)
	at com.mongodb.internal.connection.InternalStreamConnection.open(InternalStreamConnection.java:143)
	at com.mongodb.internal.connection.DefaultServerMonitor$ServerMonitorRunnable.lookupServerDescription(DefaultServerMonitor.java:188)
	at com.mongodb.internal.connection.DefaultServerMonitor$ServerMonitorRunnable.run(DefaultServerMonitor.java:144)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.UnknownHostException: dcae-mongohost
	at java.base/java.net.InetAddress$CachedAddresses.get(Unknown Source)
	at java.base/java.net.InetAddress$NameServiceAddresses.get(Unknown Source)
	at java.base/java.net.InetAddress.getAllByName0(Unknown Source)
	at java.base/java.net.InetAddress.getAllByName(Unknown Source)
	at java.base/java.net.InetAddress.getAllByName(Unknown Source)
	at com.mongodb.ServerAddress.getSocketAddresses(ServerAddress.java:203)
	... 6 common frames omitted

2021-11-10 10:05:03.942  WARN 1 --- [           main] o.s.data.convert.CustomConversions       : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type! You might want to check your annotation setup at the converter implementation.
2021-11-10 10:05:04.163  WARN 1 --- [           main] o.s.data.convert.CustomConversions       : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type! You might want to check your annotation setup at the converter implementation.
2021-11-10 10:05:04.247  INFO 1 --- [           main] org.mongodb.driver.cluster               : Cluster description not yet available. Waiting for 30000 ms before timing out
2021-11-10 10:05:34.252  WARN 1 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mongoMessageGroupStore' defined in org.onap.dcae.analytics.web.config.MessageStoreConfig: Invocation of init method failed; nested exception is org.springframework.dao.DataAccessResourceFailureException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=dcae-mongohost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketException: dcae-mongohost}, caused by {java.net.UnknownHostException: dcae-mongohost}}]; nested exception is com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=dcae-mongohost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketException: dcae-mongohost}, caused by {java.net.UnknownHostException: dcae-mongohost}}]
2021-11-10 10:05:34.296  INFO 1 --- [           main] ConditionEvaluationReportLoggingListener : 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-11-10 10:05:34.346 ERROR 1 --- [           main] o.s.boot.SpringApplication               : Application run failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mongoMessageGroupStore' defined in org.onap.dcae.analytics.web.config.MessageStoreConfig: Invocation of init method failed; nested exception is org.springframework.dao.DataAccessResourceFailureException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=dcae-mongohost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketException: dcae-mongohost}, caused by {java.net.UnknownHostException: dcae-mongohost}}]; nested exception is com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=dcae-mongohost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketException: dcae-mongohost}, caused by {java.net.UnknownHostException: dcae-mongohost}}]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1786)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:602)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:524)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:769)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:326)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1313)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1302)
	at org.onap.dcae.analytics.tca.web.TcaAppMain.main(TcaAppMain.java:39)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:107)
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
Caused by: org.springframework.dao.DataAccessResourceFailureException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=dcae-mongohost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketException: dcae-mongohost}, caused by {java.net.UnknownHostException: dcae-mongohost}}]; nested exception is com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=dcae-mongohost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketException: dcae-mongohost}, caused by {java.net.UnknownHostException: dcae-mongohost}}]
	at org.springframework.data.mongodb.core.MongoExceptionTranslator.translateExceptionIfPossible(MongoExceptionTranslator.java:95)
	at org.springframework.data.mongodb.core.MongoTemplate.potentiallyConvertRuntimeException(MongoTemplate.java:2881)
	at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:563)
	at org.springframework.data.mongodb.core.DefaultIndexOperations.execute(DefaultIndexOperations.java:214)
	at org.springframework.data.mongodb.core.DefaultIndexOperations.ensureIndex(DefaultIndexOperations.java:121)
	at org.springframework.integration.mongodb.store.AbstractConfigurableMongoDbMessageStore.afterPropertiesSet(AbstractConfigurableMongoDbMessageStore.java:151)
	at org.springframework.integration.mongodb.store.MongoDbChannelMessageStore.afterPropertiesSet(MongoDbChannelMessageStore.java:98)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1845)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1782)
	... 25 common frames omitted
Caused by: com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=dcae-mongohost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketException: dcae-mongohost}, caused by {java.net.UnknownHostException: dcae-mongohost}}]
	at com.mongodb.internal.connection.BaseCluster.getDescription(BaseCluster.java:177)
	at com.mongodb.internal.connection.SingleServerCluster.getDescription(SingleServerCluster.java:42)
	at com.mongodb.client.internal.MongoClientDelegate.getConnectedClusterDescription(MongoClientDelegate.java:135)
	at com.mongodb.client.internal.MongoClientDelegate.createClientSession(MongoClientDelegate.java:95)
	at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.getClientSession(MongoClientDelegate.java:266)
	at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.execute(MongoClientDelegate.java:190)
	at com.mongodb.client.internal.MongoCollectionImpl.executeCreateIndexes(MongoCollectionImpl.java:847)
	at com.mongodb.client.internal.MongoCollectionImpl.createIndexes(MongoCollectionImpl.java:830)
	at com.mongodb.client.internal.MongoCollectionImpl.createIndexes(MongoCollectionImpl.java:825)
	at com.mongodb.client.internal.MongoCollectionImpl.createIndex(MongoCollectionImpl.java:810)
	at org.springframework.data.mongodb.core.DefaultIndexOperations.lambda$ensureIndex$0(DefaultIndexOperations.java:131)
	at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:561)
	... 31 common frames omitted


        
      
          2021-11-10 10:04:57.142  INFO 1 --- [           main] o.o.dcae.analytics.tca.web.TcaAppMain    : Starting TcaAppMain v1.3.1 using Java 11.0.9.1 on dcae-tcagen2 with PID 1 (/opt/dcae-analytics-tca-web-1.3.1.jar started by tca-gen2 in /opt)
2021-11-10 10:04:57.146 DEBUG 1 --- [           main] o.o.dcae.analytics.tca.web.TcaAppMain    : Running with Spring Boot v2.4.4, Spring v5.3.5
2021-11-10 10:04:57.147  INFO 1 --- [           main] o.o.dcae.analytics.tca.web.TcaAppMain    : The following profiles are active: configBindingService,dmaap,mongo
2021-11-10 10:04:59.321  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data MongoDB repositories in DEFAULT mode.
2021-11-10 10:04:59.456  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 127 ms. Found 1 MongoDB repository interfaces.
2021-11-10 10:05:00.619  INFO 1 --- [           main] faultConfiguringBeanFactoryPostProcessor : No bean named 'taskScheduler' has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created.
2021-11-10 10:05:00.631  INFO 1 --- [           main] faultConfiguringBeanFactoryPostProcessor : No bean named 'integrationHeaderChannelRegistry' has been explicitly defined. Therefore, a default DefaultHeaderChannelRegistry will be created.
2021-11-10 10:05:00.680  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'configurationPropertiesValidator' of type [org.onap.dcae.analytics.tca.web.validation.TcaAppPropertiesValidator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-11-10 10:05:00.962  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'integrationChannelResolver' of type [org.springframework.integration.support.channel.BeanFactoryChannelResolver] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-11-10 10:05:00.964  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'integrationDisposableAutoCreatedBeans' of type [org.springframework.integration.config.annotation.Disposables] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-11-10 10:05:00.997  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.integration.config.IntegrationManagementConfiguration' of type [org.springframework.integration.config.IntegrationManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-11-10 10:05:01.495 DEBUG 1 --- [           main] org.jboss.logging                        : Logging Provider: org.jboss.logging.Log4j2LoggerProvider
2021-11-10 10:05:01.571  INFO 1 --- [           main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext
2021-11-10 10:05:01.573  INFO 1 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 4341 ms
2021-11-10 10:05:01.690 DEBUG 1 --- [           main] i.m.c.u.i.logging.InternalLoggerFactory  : Using SLF4J as the default logging framework
2021-11-10 10:05:02.789 DEBUG 1 --- [           main] _.s.web.servlet.HandlerMapping.Mappings  : 
	s.d.s.w.Swagger2ControllerWebMvc:
	{GET [/v2/api-docs], produces [application/json || application/hal+json]}: getDocumentation(String,HttpServletRequest)
2021-11-10 10:05:02.794 DEBUG 1 --- [           main] _.s.web.servlet.HandlerMapping.Mappings  : 
	s.d.s.w.ApiResourceController:
	{GET [/swagger-resources/configuration/ui], produces [application/json]}: uiConfiguration()
	{GET [/swagger-resources/configuration/security], produces [application/json]}: securityConfiguration()
	{GET [/swagger-resources], produces [application/json]}: swaggerResources()
2021-11-10 10:05:02.807 DEBUG 1 --- [           main] _.s.web.servlet.HandlerMapping.Mappings  : 
	o.o.d.a.t.w.c.TcaRestController:
	{GET [/api/v1/tca/policy], produces [application/json]}: getTcaPolicy()
	{POST [/api/v1/tca/policy], consumes [application/json], produces [application/json]}: setTcaPolicy(TcaPolicy)
	{POST [/api/v1/tca/execute], consumes [application/json], produces [application/json]}: execute(TcaExecutionRequest)
2021-11-10 10:05:02.817 DEBUG 1 --- [           main] _.s.web.servlet.HandlerMapping.Mappings  : 
	o.s.b.a.w.s.e.BasicErrorController:
	{ [/error], produces [text/html]}: errorHtml(HttpServletRequest,HttpServletResponse)
	{ [/error]}: error(HttpServletRequest)
2021-11-10 10:05:03.218  INFO 1 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 16 endpoint(s) beneath base path '/actuator'
2021-11-10 10:05:03.294  INFO 1 --- [           main] f.TcaAppPropsToMrSubscriberPrefsFunction : Creating DMaaP MR Subscriber from config properties key: tca_handle_in, props: BaseConfigBindingServiceProperties.SubscriberDetails(super=BaseConfigBindingServiceProperties.PubSubCommonDetails(type=message_router, aafUsername=null, dmaapInfo=BaseConfigBindingServiceProperties.DmaapInfo(clientRole=null, clientId=null, location=null, topicUrl=http://message-router:3904/events/unauthenticated.VES_MEASUREMENT_OUTPUT), proxyUrl=null, ignoreSSLValidation=null), consumerGroup=cg1, consumerIds=[c0, c1], messageLimit=50000, timeout=-1, polling=BaseConfigBindingServiceProperties.Polling(fixedRate=0, autoAdjusting=BaseConfigBindingServiceProperties.AutoAdjusting(min=30000, stepUp=10000, max=60000, stepDown=30000)))
2021-11-10 10:05:03.360  INFO 1 --- [           main] f.TcaAppPropsToMrSubscriberPrefsFunction : Selecting Auto Adjusting polling rate for DMaaP MR Subscriber: tca_handle_in
2021-11-10 10:05:03.649  INFO 1 --- [           main] org.mongodb.driver.cluster               : Cluster created with settings {hosts=[dcae-mongohost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms'}
2021-11-10 10:05:03.751  INFO 1 --- [mongohost:27017] org.mongodb.driver.cluster               : Exception in monitor thread while connecting to server dcae-mongohost:27017

com.mongodb.MongoSocketException: dcae-mongohost
	at com.mongodb.ServerAddress.getSocketAddresses(ServerAddress.java:211)
	at com.mongodb.internal.connection.SocketStream.initializeSocket(SocketStream.java:75)
	at com.mongodb.internal.connection.SocketStream.open(SocketStream.java:65)
	at com.mongodb.internal.connection.InternalStreamConnection.open(InternalStreamConnection.java:143)
	at com.mongodb.internal.connection.DefaultServerMonitor$ServerMonitorRunnable.lookupServerDescription(DefaultServerMonitor.java:188)
	at com.mongodb.internal.connection.DefaultServerMonitor$ServerMonitorRunnable.run(DefaultServerMonitor.java:144)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.net.UnknownHostException: dcae-mongohost
	at java.base/java.net.InetAddress$CachedAddresses.get(Unknown Source)
	at java.base/java.net.InetAddress$NameServiceAddresses.get(Unknown Source)
	at java.base/java.net.InetAddress.getAllByName0(Unknown Source)
	at java.base/java.net.InetAddress.getAllByName(Unknown Source)
	at java.base/java.net.InetAddress.getAllByName(Unknown Source)
	at com.mongodb.ServerAddress.getSocketAddresses(ServerAddress.java:203)
	... 6 common frames omitted

2021-11-10 10:05:03.942  WARN 1 --- [           main] o.s.data.convert.CustomConversions       : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type! You might want to check your annotation setup at the converter implementation.
2021-11-10 10:05:04.163  WARN 1 --- [           main] o.s.data.convert.CustomConversions       : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type! You might want to check your annotation setup at the converter implementation.
2021-11-10 10:05:04.247  INFO 1 --- [           main] org.mongodb.driver.cluster               : Cluster description not yet available. Waiting for 30000 ms before timing out
2021-11-10 10:05:34.252  WARN 1 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mongoMessageGroupStore' defined in org.onap.dcae.analytics.web.config.MessageStoreConfig: Invocation of init method failed; nested exception is org.springframework.dao.DataAccessResourceFailureException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=dcae-mongohost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketException: dcae-mongohost}, caused by {java.net.UnknownHostException: dcae-mongohost}}]; nested exception is com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=dcae-mongohost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketException: dcae-mongohost}, caused by {java.net.UnknownHostException: dcae-mongohost}}]
2021-11-10 10:05:34.296  INFO 1 --- [           main] ConditionEvaluationReportLoggingListener : 

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-11-10 10:05:34.346 ERROR 1 --- [           main] o.s.boot.SpringApplication               : Application run failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mongoMessageGroupStore' defined in org.onap.dcae.analytics.web.config.MessageStoreConfig: Invocation of init method failed; nested exception is org.springframework.dao.DataAccessResourceFailureException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=dcae-mongohost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketException: dcae-mongohost}, caused by {java.net.UnknownHostException: dcae-mongohost}}]; nested exception is com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=dcae-mongohost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketException: dcae-mongohost}, caused by {java.net.UnknownHostException: dcae-mongohost}}]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1786)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:602)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:524)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:769)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:326)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1313)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1302)
	at org.onap.dcae.analytics.tca.web.TcaAppMain.main(TcaAppMain.java:39)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:107)
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
Caused by: org.springframework.dao.DataAccessResourceFailureException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=dcae-mongohost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketException: dcae-mongohost}, caused by {java.net.UnknownHostException: dcae-mongohost}}]; nested exception is com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=dcae-mongohost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketException: dcae-mongohost}, caused by {java.net.UnknownHostException: dcae-mongohost}}]
	at org.springframework.data.mongodb.core.MongoExceptionTranslator.translateExceptionIfPossible(MongoExceptionTranslator.java:95)
	at org.springframework.data.mongodb.core.MongoTemplate.potentiallyConvertRuntimeException(MongoTemplate.java:2881)
	at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:563)
	at org.springframework.data.mongodb.core.DefaultIndexOperations.execute(DefaultIndexOperations.java:214)
	at org.springframework.data.mongodb.core.DefaultIndexOperations.ensureIndex(DefaultIndexOperations.java:121)
	at org.springframework.integration.mongodb.store.AbstractConfigurableMongoDbMessageStore.afterPropertiesSet(AbstractConfigurableMongoDbMessageStore.java:151)
	at org.springframework.integration.mongodb.store.MongoDbChannelMessageStore.afterPropertiesSet(MongoDbChannelMessageStore.java:98)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1845)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1782)
	... 25 common frames omitted
Caused by: com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=dcae-mongohost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketException: dcae-mongohost}, caused by {java.net.UnknownHostException: dcae-mongohost}}]
	at com.mongodb.internal.connection.BaseCluster.getDescription(BaseCluster.java:177)
	at com.mongodb.internal.connection.SingleServerCluster.getDescription(SingleServerCluster.java:42)
	at com.mongodb.client.internal.MongoClientDelegate.getConnectedClusterDescription(MongoClientDelegate.java:135)
	at com.mongodb.client.internal.MongoClientDelegate.createClientSession(MongoClientDelegate.java:95)
	at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.getClientSession(MongoClientDelegate.java:266)
	at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.execute(MongoClientDelegate.java:190)
	at com.mongodb.client.internal.MongoCollectionImpl.executeCreateIndexes(MongoCollectionImpl.java:847)
	at com.mongodb.client.internal.MongoCollectionImpl.createIndexes(MongoCollectionImpl.java:830)
	at com.mongodb.client.internal.MongoCollectionImpl.createIndexes(MongoCollectionImpl.java:825)
	at com.mongodb.client.internal.MongoCollectionImpl.createIndex(MongoCollectionImpl.java:810)
	at org.springframework.data.mongodb.core.DefaultIndexOperations.lambda$ensureIndex$0(DefaultIndexOperations.java:131)
	at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:561)
	... 31 common frames omitted