-
Bug
-
Resolution: Done
-
High
-
None
-
El Alto Sprint 4
In gating, last tested patches report some errors regarding sdnc-cds pods
- onap-sdnc-cds-blueprints-processor-
- onap-sdnc-cds-command-executor-
- onap-sdnc-cds-sdc-listener-
are not started
onap-sdnc-cds-sdc-listener and onap-sdnc-cds-command-executor are waiting for onap-sdnc-cds-blueprints-processor
but onap-sdnc-cds-blueprints-processor is crashing
2019-08-30 07:15:03,019|||main||||WARN||||||| Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'primaryDatabaseConfiguration' defined in URL [jar:file:/opt/app/onap/lib/org.onap.ccsdk.cds.blueprintsprocessor-db-lib-0.5.1.jar!/org/onap/ccsdk/cds/blueprintsprocessor/db/primary/PrimaryDatabaseConfiguration.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'primary-database-properties' defined in class path resource [org/onap/ccsdk/cds/blueprintsprocessor/db/BluePrintDBLibConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.onap.ccsdk.cds.blueprintsprocessor.db.PrimaryDataSourceProperties]: Factory method 'getPrimaryProperties' threw exception; nested exception is java.util.NoSuchElementException: No value bound
2019-08-30 07:15:03,060|||main||||INFO|||||||
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-08-30 07:15:03,064|||main||||ERROR||||||| Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'primaryDatabaseConfiguration' defined in URL [jar:file:/opt/app/onap/lib/org.onap.ccsdk.cds.blueprintsprocessor-db-lib-0.5.1.jar!/org/onap/ccsdk/cds/blueprintsprocessor/db/primary/PrimaryDatabaseConfiguration.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'primary-database-properties' defined in class path resource [org/onap/ccsdk/cds/blueprintsprocessor/db/BluePrintDBLibConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.onap.ccsdk.cds.blueprintsprocessor.db.PrimaryDataSourceProperties]: Factory method 'getPrimaryProperties' threw exception; nested exception is java.util.NoSuchElementException: No value bound
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:769)
.....
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.onap.ccsdk.cds.blueprintsprocessor.db.PrimaryDataSourceProperties]: Factory method 'getPrimaryProperties' threw exception; nested exception is java.util.NoSuchElementException: No value bound
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:622)
... 42 common frames omitted
Caused by: java.util.NoSuchElementException: No value bound
at org.springframework.boot.context.properties.bind.BindResult.get(BindResult.java:56)
at org.onap.ccsdk.cds.blueprintsprocessor.core.BluePrintProperties.propertyBeanType(BluePrintProperties.kt:27)
ex (but same error in all the last gating attempts): https://orange-opensource.gitlab.io/lfn/onap/xtesting-onap-view/results/94613-1/k8s/onap-k8s.log
First occurence of the errors found in 94292-1 (2019-08-26 22:02:46,228)
and is now systematycally reproducible
no error on previous patchset 94288-1 (2019/08/26 19:43:42)