2021-11-10 04:22:08.282  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 04:22:08.286 DEBUG 1 --- [ main] o.o.dcae.analytics.tca.web.TcaAppMain  : Running with Spring Boot v2.4.4, Spring v5.3.5 2021-11-10 04:22:08.287  INFO 1 --- [ main] o.o.dcae.analytics.tca.web.TcaAppMain  : The following profiles are active: configBindingService,dmaap,mongo 2021-11-10 04:22:10.174  INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data MongoDB repositories in DEFAULT mode. 2021-11-10 04:22:10.275  INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 94 ms. Found 1 MongoDB repository interfaces. 2021-11-10 04:22:11.231  INFO 1 --- [ main] faultConfiguringBeanFactoryPostProcessor : No bean named 'taskScheduler' has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created. 2021-11-10 04:22:11.272  INFO 1 --- [ main] faultConfiguringBeanFactoryPostProcessor : No bean named 'integrationHeaderChannelRegistry' has been explicitly defined. Therefore, a default DefaultHeaderChannelRegistry will be created. 2021-11-10 04:22:11.310  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 04:22:11.526  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 04:22:11.528  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 04:22:11.591  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 04:22:12.044 DEBUG 1 --- [ main] org.jboss.logging  : Logging Provider: org.jboss.logging.Log4j2LoggerProvider 2021-11-10 04:22:12.147  INFO 1 --- [ main] io.undertow.servlet  : Initializing Spring embedded WebApplicationContext 2021-11-10 04:22:12.148  INFO 1 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3803 ms 2021-11-10 04:22:12.241 DEBUG 1 --- [ main] i.m.c.u.i.logging.InternalLoggerFactory  : Using SLF4J as the default logging framework 2021-11-10 04:22:13.121 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 04:22:13.125 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 04:22:13.137 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 04:22:13.145 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 04:22:13.514  INFO 1 --- [ main] o.s.b.a.e.web.EndpointLinksResolver  : Exposing 16 endpoint(s) beneath base path '/actuator' 2021-11-10 04:22:13.588  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 04:22:13.633  INFO 1 --- [ main] f.TcaAppPropsToMrSubscriberPrefsFunction : Selecting Auto Adjusting polling rate for DMaaP MR Subscriber: tca_handle_in 2021-11-10 04:22:13.928  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 04:22:14.009  INFO 1 --- [mongohost:27017] org.mongodb.driver.cluster  : Exception in monitor thread while connecting to server dcae-mongohost:27017 com.mongodb.MongoSocketException: dcae-mongohost: System error 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: System error at java.base/java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(Unknown Source) at java.base/java.net.InetAddress.getAddressesFromNameService(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 04:22:14.151  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 04:22:14.211  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 04:22:14.286  INFO 1 --- [ main] org.mongodb.driver.cluster  : Cluster description not yet available. Waiting for 30000 ms before timing out 2021-11-10 04:22:14.513  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.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 04:22:44.288  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 04:22:44.316  INFO 1 --- [ main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2021-11-10 04:22:44.345 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