-
Bug
-
Resolution: Done
-
Low
-
Beijing Release
-
None
-
ONAP deployment using Kubernetes.
I am trying to launch SDC from the Portal after deploying the ONAP components using K8s, but I am getting HTTP 500 Error. This was working earlier but now this issues is seen with the latest images. SDC health check is failing and below errors are seen ::
2017-10-06 09:45:37.711:WARN:oejs.HttpChannel:qtp142638629-11792: //sdc-be.onap-sdc:8080/sdc2/rest/healthCheck
Caused by:
java.lang.NullPointerException
at org.openecomp.sdc.be.components.impl.ResponseFormatManager.getResponseFormat(ResponseFormatManager.java:61)
at org.openecomp.sdc.be.impl.ComponentsUtils.getResponseFormat(ComponentsUtils.java:160)
at org.openecomp.sdc.be.servlets.BeMonitoringServlet.getHealthCheck_aroundBody0(BeMonitoringServlet.java:104)
at org.openecomp.sdc.be.servlets.BeMonitoringServlet$AjcClosure1.run(BeMonitoringServlet.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
at com.jcabi.aspects.aj.MethodLogger.wrap(MethodLogger.java:212)
at com.jcabi.aspects.aj.MethodLogger.ajc$inlineAccessMethod$com_jcabi_aspects_aj_MethodLogger$com_jcabi_aspects_aj_MethodLogger$wrap(MethodLogger.jav
a:1)
And from error.log :
2017-10-06T15:24:17.709Z [qtp142638629-259254] ERROR o.o.s.c.config.EcompErrorLogUtil alarmSeverity=CRITICAL serviceInstanceID=null userI
d=null localAddr=10.42.134.3 uuid=670ebf41-6141-49d9-b79a-be4e1473ac4b remoteAddr=10.42.84.195 ETYPE = "SYSTEM_ERROR" ENAME = "BeHealthCheckError
" ECODE = "ASDC200E" ECONTEXT = "BeHealthCheck" EDESC = "ASDC Backend probably lost connectivity to either one of the following components: Titan DB, Cassand
ra, Onboarding, UEB Cluster. Please check the logs for more information."
2017-10-06T15:24:17.709Z [qtp142638629-259254] ERROR o.o.s*.b.servlets.BeMonitoringServlet* serviceInstanceID=null userId=null localAddr=10.
42.134.3 uuid=670ebf41-6141-49d9-b79a-be4e1473ac4b remoteAddr=10.42.84.195 #getHealthCheck('Request(GET //sdc-be.onap-sdc:8080/sdc2/rest/healthCheck)
@5cb103c8'): thrown java.lang.NullPointerException out of org.openecomp.sdc.be.components.impl.ResponseFormatManager#getResponseFormat[61] in 436µs
2017-10-06T15:24:17.995Z [qtp142638629-256970] INFO o.o.sdc.be.filters.BeServletFilter serviceInstanceID=null userId=null localAddr=10.
42.134.3 uuid=3fa5c362-d694-4fcf-aef9-5705fe199301 remoteAddr=10.42.20.75 GET /sdc/v1/distributionUebCluster HTTP/1.1
2017-10-06T15:24:17.995Z [qtp142638629-256970] ERROR o.o.s.b.m.o.impl.ConsumerOperation serviceInstanceID=null userId=null localAddr=10.
42.134.3 uuid=3fa5c362-d694-4fcf-aef9-5705fe199301 remoteAddr=10.42.20.75 Error returned after get Consumer Data node aai. status returned is NOT_FOUND