Uploaded image for project: 'Logging analytics'
  1. Logging analytics
  2. LOG-965

pomba-networkdiscovery crashes on start

XMLWordPrintable

      I'm deploying ONAP with OOM master and docker from Integration team staging version (https://git.onap.org/integration/plain/version-manifest/src/main/resources/docker-manifest-staging.csv).

      So it's deploying 'onap/network-discovery:1.4.2' version. Contrary to 4 other pomba images, it's using OOM value and not docker-staging values as this image is not present.

      for information, as it may be relevant, here are the version of pomba images in the file:

      onap/pomba-aai-context-builder,1.3.3-SNAPSHOT-latest
      onap/pomba-context-aggregator,1.3.5-SNAPSHOT-latest
      onap/pomba-network-discovery-context-builder,1.3.2-SNAPSHOT-latest
      onap/pomba-sdc-context-builder,1.3.3-SNAPSHOT-latest
      

      At the end of the deployment, Pomba networkdiscovery is crashing:

      kubectl logs -fn onap onap-pomba-pomba-networkdiscovery-5fdb88f4cc-cmgmb pomba-networkdiscovery  .   ____          _            __ _ _
       /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
      ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
       \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
        '  |____| .__|_| |_|_| |_\__, | / / / /
       =========|_|==============|___/=/_/_/_/
       :: Spring Boot ::       (v1.5.17.RELEASE)2019-02-08T08:50:06.250Z	main	INFO	org.onap.sdnc.apps.pomba.networkdiscovery.Application		Starting Application on onap-pomba-pomba-networkdiscovery-5fdb88f4cc-cmgmb with PID 7 (/opt/app/lib/network-discovery.jar started by root in /opt/app)
      2019-02-08T08:50:06.255Z	main	INFO	org.onap.sdnc.apps.pomba.networkdiscovery.Application		No active profile set, falling back to default profiles: default
      2019-02-08T08:50:06.343Z	main	INFO	org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext		Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@7dc5e7b4: startup date [Fri Feb 08 08:50:06 GMT 2019]; root of context hierarchy
      2019-02-08T08:50:06.612Z	background-preinit	INFO	org.hibernate.validator.internal.util.Version		HV000001: Hibernate Validator 5.3.6.Final
      2019-02-08T08:50:07.350Z	main	INFO	org.springframework.beans.factory.support.DefaultListableBeanFactory		Overriding bean definition for bean 'requestContextFilter' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.jersey.JerseyAutoConfiguration; factoryMethodName=requestContextFilter; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/jersey/JerseyAutoConfiguration.class]] with [Root bean: class [org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=requestContextFilter; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/web/WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter.class]]
      2019-02-08T08:50:07.812Z	main	INFO	org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor		JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
      2019-02-08T08:50:08.270Z	main	INFO	org.eclipse.jetty.util.log		Logging initialized @3272ms to org.eclipse.jetty.util.log.Slf4jLog
      2019-02-08T08:50:08.409Z	main	INFO	org.springframework.boot.context.embedded.jetty.JettyEmbeddedServletContainerFactory		Server initialized with port: 8443
      2019-02-08T08:50:08.421Z	main	INFO	org.eclipse.jetty.server.Server		jetty-9.4.12.v20180830; built: 2018-08-30T13:59:14.071Z; git: 27208684755d94a92186989f695db2d7b21ebc51; jvm 1.8.0_92-b14
      2019-02-08T08:50:08.546Z	main	INFO	org.eclipse.jetty.server.session		DefaultSessionIdManager workerName=node0
      2019-02-08T08:50:08.546Z	main	INFO	org.eclipse.jetty.server.session		No SessionScavenger set, using defaults
      2019-02-08T08:50:08.547Z	main	INFO	org.eclipse.jetty.server.session		node0 Scavenging every 600000ms
      2019-02-08T08:50:08.553Z	main	INFO	org.eclipse.jetty.server.handler.ContextHandler.application		Initializing Spring embedded WebApplicationContext
      2019-02-08T08:50:08.554Z	main	INFO	org.springframework.web.context.ContextLoader		Root WebApplicationContext: initialization completed in 2216 ms
      2019-02-08T08:50:09.099Z	main	INFO	org.springframework.boot.web.servlet.FilterRegistrationBean		Mapping filter: 'metricsFilter' to: [/*]
      2019-02-08T08:50:09.099Z	main	INFO	org.springframework.boot.web.servlet.FilterRegistrationBean		Mapping filter: 'characterEncodingFilter' to: [/*]
      2019-02-08T08:50:09.100Z	main	INFO	org.springframework.boot.web.servlet.FilterRegistrationBean		Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
      2019-02-08T08:50:09.100Z	main	INFO	org.springframework.boot.web.servlet.FilterRegistrationBean		Mapping filter: 'httpPutFormContentFilter' to: [/*]
      2019-02-08T08:50:09.100Z	main	INFO	org.springframework.boot.web.servlet.FilterRegistrationBean		Mapping filter: 'requestContextFilter' to: [/*]
      2019-02-08T08:50:09.100Z	main	INFO	org.springframework.boot.web.servlet.FilterRegistrationBean		Mapping filter: 'jerseyFilter' to urls: [/*]
      2019-02-08T08:50:09.100Z	main	INFO	org.springframework.boot.web.servlet.FilterRegistrationBean		Mapping filter: 'webRequestLoggingFilter' to: [/*]
      2019-02-08T08:50:09.101Z	main	INFO	org.springframework.boot.web.servlet.FilterRegistrationBean		Mapping filter: 'applicationContextIdFilter' to: [/*]
      2019-02-08T08:50:09.101Z	main	INFO	org.springframework.boot.web.servlet.ServletRegistrationBean		Mapping servlet: 'dispatcherServlet' to [/]
      2019-02-08T08:50:09.106Z	main	INFO	org.eclipse.jetty.server.handler.ContextHandler		Started o.s.b.c.e.j.JettyEmbeddedWebAppContext@70e8f8e{application,/,[file:///tmp/jetty-docbase.2142023908684808543.8443/],AVAILABLE}
      2019-02-08T08:50:09.107Z	main	INFO	org.eclipse.jetty.server.Server		Started @4110ms
      2019-02-08T08:50:09.137Z	main	WARN	org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext		Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'enricherConfiguration': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'enricher.attributeNameMappingList' in value "${enricher.attributeNameMappingList}"
      2019-02-08T08:50:09.141Z	main	INFO	org.eclipse.jetty.server.session		node0 Stopped scavenging
      2019-02-08T08:50:09.165Z	main	INFO	org.eclipse.jetty.server.handler.ContextHandler		Stopped o.s.b.c.e.j.JettyEmbeddedWebAppContext@70e8f8e{application,/,[file:///tmp/jetty-docbase.2142023908684808543.8443/],UNAVAILABLE}
      2019-02-08T08:50:09.205Z	main	INFO	org.springframework.boot.autoconfigure.logging.AutoConfigurationReportLoggingInitializer		\n\nError starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
      2019-02-08T08:50:09.211Z	main	ERROR	org.springframework.boot.SpringApplication		Application startup failed	java.lang.IllegalArgumentException: Could not resolve placeholder 'enricher.attributeNameMappingList' in value "${enricher.attributeNameMappingList}"\n\tat org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174)\n\tat org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126)\n\tat org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:236)\n\tat org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:210)\n\tat org.springframework.context.support.PropertySourcesPlaceholderConfigurer$2.resolveStringValue(PropertySourcesPlaceholderConfigurer.java:172)\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.resolveEmbeddedValue(AbstractBeanFactory.java:837)\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1084)\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1064)\n\tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:583)\n\tat org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)\n\tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:364)\n\t... 25 common frames omitted\nWrapped by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'enricherConfiguration': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'enricher.attributeNameMappingList' in value "${enricher.attributeNameMappingList}"\n\tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:370)\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1269)\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:551)\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)\n\tat org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)\n\tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)\n\tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)\n\tat org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:303)\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)\n\tat org.onap.sdnc.apps.pomba.networkdiscovery.Application.main(Application.java:42)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:498)\n\tat org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)\n\tat org.springframework.boot.loader.Launcher.launch(Launcher.java:87)\n\tat org.springframework.boot.loader.Launcher.launch(Launcher.java:50)\n\tat org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)\n
      

            jbalasub jbalasub
            sdesbure sdesbure
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: