summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorReshmasree <reshmasree.chamarthi2@wipro.com>2019-05-16 21:30:50 +0530
committerReshmasree <reshmasree.chamarthi2@wipro.com>2019-05-16 21:34:05 +0530
commita85f6ad92bd74475b56e5465d188ac2b38d63f35 (patch)
treec298f42ef83690220462433e73225e9c7b86b7bf /docs
parent3b9a50e63c746502008e309dbf7f1b7f93b13455 (diff)
Update to troubleshooting in son-handler
Change-Id: I49306d9cd9c5ac649eafe527207eab3b943996da Issue-ID: DCAEGEN2-1504 Signed-off-by: Reshmasree <reshmasree.chamarthi2@wipro.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/sections/services/son-handler/son_handler_troubleshooting.rst23
1 files changed, 20 insertions, 3 deletions
diff --git a/docs/sections/services/son-handler/son_handler_troubleshooting.rst b/docs/sections/services/son-handler/son_handler_troubleshooting.rst
index 55e34b47..98dde1d1 100644
--- a/docs/sections/services/son-handler/son_handler_troubleshooting.rst
+++ b/docs/sections/services/son-handler/son_handler_troubleshooting.rst
@@ -6,9 +6,26 @@ Troubleshooting steps
Possible reasons & Solutions:
1. Microservice is not registered with the consul
- Check the consul if the microservice is registered with it and the MS is able to fetch the app config from the CBS. Check if CBS and consul are deployed properly and try to redeploy the MS
- 2. DMAAP topics are not created
- - Check the message router if the neccessary dmaap topics are present in the list of topics. Create the topics if not present.
- List of topics can be queried from message router using the url "http://<host>:<port>/topics"
+ The below logs will be seen if CBS is not reachable by the MS
+
+ 15:14:13.861 [main] WARN org.postgresql.Driver - JDBC URL port: 0 not valid (1:65535)
+ 15:14:13.862 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in org.onap.dcaegen2.services.sonhms.Application: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.jdbc.DataSourceInitializerInvoker': Invocation of init method failed; nested exception is org.springframework.jdbc.datasource.init.UncategorizedScriptException: Failed to execute database script; nested exception is java.lang.RuntimeException: Driver org.postgresql.Driver claims to not accept jdbcUrl, jdbc:postgresql://null:0/sonhms
+ 15:14:13.865 [main] INFO o.a.catalina.core.StandardService - Stopping service [Tomcat]
+ 15:14:13.877 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener - Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
+ 15:14:13.880 [main] ERROR o.s.boot.SpringApplication - Application run failed
+ 2. MS is not able to fetch the config policies from the policy handler.
+ - Check if the config policy for the MS is created and pushed into the policy module. The below logs will be seen if the config policies are not available.
+
+ 2019-05-16 14:48:48.651 LOG <sonhms> [son_policy_widelm.create] INFO: latest policy for policy_id(com.Config_PCIMS_CONFIG_POLICY.1.xml) status(404) response: {}
+ 2019-05-16 14:48:49.661 LOG <sonhms> [son_policy_widelm.create] INFO: exit policy_get
+ 2019-05-16 14:48:49.661 LOG <sonhms> [son_policy_widelm.create] INFO: policy not found for policy_id com.Config_PCIMS_CONFIG_POLICY.1.xml
+ 2019-05-16 14:48:49.456 CFY <sonhms> [son_policy_widelm.create] Task succeeded 'dcaepolicyplugin.policy_get'
+ 2019-05-16 14:48:50.283 CFY <sonhms> [son_policy_widelm] Configuring node
+ 2019-05-16 14:48:50.283 CFY <sonhms> [son_policy_widelm] Configuring node
+ 2019-05-16 14:48:51.333 CFY <sonhms> [son_policy_widelm] Starting node
+ 2019-05-16 14:50:02.996 LOG <sonhms> [pgaasvm_fb20w3.create] WARNING: All done
+ 2019-05-16 14:50:02.902 CFY <sonhms> [pgaasvm_fb20w3.create] Task succeeded 'pgaas.pgaas_plugin.create_database'
+
Logging