summaryrefslogtreecommitdiffstats
path: root/docs/sections/services/slice-analysis-ms/slice_analysis_ms_troubleshooting.rst
diff options
context:
space:
mode:
authorHansen, Tony (th1395) <th1395@att.com>2023-05-23 21:27:17 +0000
committerHansen, Tony (th1395) <th1395@att.com>2023-05-31 21:01:29 +0000
commit663df2c1b8d9176094a62b00b7e80de096180621 (patch)
tree849841dc428fcfba07d9c39494f95ccd1f25da8a /docs/sections/services/slice-analysis-ms/slice_analysis_ms_troubleshooting.rst
parentbcd436a1be4fbe2c8ad7ce074d86b94b8ff44f4e (diff)
clean up some sphinx warnings
Change-Id: I8c2d925e8b27b4740227af0be3ab5d6f7153ec38 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue-ID: DCAEGEN2-3399 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
Diffstat (limited to 'docs/sections/services/slice-analysis-ms/slice_analysis_ms_troubleshooting.rst')
-rw-r--r--docs/sections/services/slice-analysis-ms/slice_analysis_ms_troubleshooting.rst14
1 files changed, 9 insertions, 5 deletions
diff --git a/docs/sections/services/slice-analysis-ms/slice_analysis_ms_troubleshooting.rst b/docs/sections/services/slice-analysis-ms/slice_analysis_ms_troubleshooting.rst
index 66dee8c2..35f5202b 100644
--- a/docs/sections/services/slice-analysis-ms/slice_analysis_ms_troubleshooting.rst
+++ b/docs/sections/services/slice-analysis-ms/slice_analysis_ms_troubleshooting.rst
@@ -1,14 +1,18 @@
+.. This work is licensed under a
+ Creative Commons Attribution 4.0 International License.
+ http://creativecommons.org/licenses/by/4.0
+
Trouble shooting steps
----------------------
1. **Microservice stops and restarts during startup**
- Possible reason & Solution: Microservice is not registered with the consul
+ Possible reason & Solution: 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
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.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:
+ 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
@@ -26,7 +30,7 @@ Trouble shooting steps
2. **No PostgreSQL clusters have been deployed on this manager**
Solution:
-
+
kubectl exec -ti -n onap dev-dcaemod-db-primary-56ff585cf7-dxkkx bash
psql
ALTER ROLE "postgres" WITH PASSWORD 'onapdemodb';
@@ -43,4 +47,4 @@ Logging
Since the Slice Analysis MS is deployed as a pod in the kubernetes, we can check the logs by
using the following command:
- $ kubectl logs <pod-name> –namespace onap \ No newline at end of file
+ $ kubectl logs <pod-name> -namespace onap