nubomedia / bugtracker

NUBOMEDIA bugtracker project
0 stars 0 forks source link

Issue:Error "Staus is 422" in Nubomedia PaaS #2

Open bao2516090 opened 7 years ago

bao2516090 commented 7 years ago

I was building nubomedia according to Autonomous Installer (http://nubomedia.readthedocs.io/en/latest/tools/autonomous-installer/) I prepared three machines:

Done the above preparation,I modified the variables.py file and run the python main.py command on the third machine(10.200.12.209) to automate the installation of nubomedia. Afterwards three instance is started like this: image

But I cannot createapp in nubomedia pass by click createApp Button,show me "Status is 422" image image

Has anyone ever encountered this situation? I will appreciate if someone can give me some guidance!

xiaobao

gc4rella commented 7 years ago

@bao2516090 could you please provide logs of the nubomedia-paas component? You should be able to gather them access the VM names nubomedia-controller

bao2516090 commented 7 years ago

@gc4rella Thank you for you reply! I found nubomedia-pass(10.200.12.190) logs in /var/log/nubomedia/nubomedia-pass.log,The following figure is the contents of the log: image image image

I must be where the configuration is wrong! Thanks again for your attention!

gc4rella commented 7 years ago

Could you please provide logs of the openbaton components? They should be located under /var/log/openbaton. If possible provide the full log file and not screenshots.

alincalinciuc commented 7 years ago

@bao2516090 please also try to restart the nubomedia_controller instance.

bao2516090 commented 7 years ago

@gc4rella Thanks for your reply! In image_configuations.py Kurento_image value is the default docker format, but I do not upload docker format mirror into openstack(I just uploaded the kurento kvm type of mirror), so I pull nubomedia/kurento-media-server-dev from docker hub and upload to openstack. The original 422 error is gone. But when I try again, The dashbord reported a new error names 404,like this:

image

so I went to see the openBaton log, show me is: ERROR:2576 Media-server is not registered or not enable or not active. The detailed information for this /var/log/openbaton.log is shown below

2017-02-20 12:32:26.454  INFO 2576 --- [http-nio-8080-exec-3]n.c.a.NetworkServiceDescriptorManagement : Staring onboarding process for NSD: magic-mirror-e67fe64c8
2017-02-20 12:32:26.456  INFO 2576 --- [http-nio-8080-exec-3] n.c.a.NetworkServiceDescriptorManagement : Checking if Vnfm is running...
2017-02-20 12:32:26.458 DEBUG 2576 --- [http-nio-8080-exec-3] org.openbaton.nfvo.core.utils.NSDUtils   : generic == media-server
2017-02-20 12:32:26.460 ERROR 2576 --- [http-nio-8080-exec-3] o.o.n.a.e.GlobalExceptionHandler         : Exception was thrown -> Return message: VNFManager with endpoint: media-server is not registered or not enable or not active.

org.openbaton.exceptions.NotFoundException: VNFManager with endpoint: media-server is not registered or not enable or not active.
        at org.openbaton.nfvo.core.utils.NSDUtils.checkEndpoint(NSDUtils.java:92)
        at org.openbaton.nfvo.core.api.NetworkServiceDescriptorManagement.onboard(NetworkServiceDescriptorManagement.java:137)
        at org.openbaton.nfvo.api.RestNetworkServiceDescriptor.create(RestNetworkServiceDescriptor.java:87)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:776)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:705)
        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:869)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:843)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.boot.actuate.autoconfigure.EndpointWebMvcAutoConfiguration$ApplicationContextHeaderFilter.doFilterInternal(EndpointWebMvcAutoConfiguration.java:295)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
       at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationProcessingFilter.doFilter(OAuth2AuthenticationProcessingFilter.java:176)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:102)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:68)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.openbaton.nfvo.security.authentication.SimpleCorsFilter.doFilter(SimpleCorsFilter.java:49)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.openbaton.nfvo.security.authentication.SimpleCorsFilter.doFilter(SimpleCorsFilter.java:49)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)

2017-02-20 12:32:26.470 ERROR 2576 --- [http-nio-8080-exec-3] .m.m.a.ExceptionHandlerExceptionResolver : Failed to invoke @ExceptionHandler method: protected org.springframework.http.ResponseEntity<java.lang.Object> org.openbaton.nfvo.api.exceptions.GlobalExceptionHandler.handleNotFoundException(java.lang.Exception,org.springframework.web.context.request.WebRequest)

org.apache.catalina.connector.ClientAbortException: java.io.IOException: Connection reset by peer
        at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:393)
        at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:426)
        at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:342)
        at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:295)
        at org.apache.catalina.connector.CoyoteOutputStream.close(CoyoteOutputStream.java:151)
        at org.springframework.security.web.context.SaveContextOnUpdateOrErrorResponseWrapper$SaveContextServletOutputStream.close(SaveContextOnUpdateOrErrorResponseWrapper.java:381)
        at sun.nio.cs.StreamEncoder.implClose(StreamEncoder.java:320)
        at sun.nio.cs.StreamEncoder.close(StreamEncoder.java:149)
        at java.io.OutputStreamWriter.close(OutputStreamWriter.java:233)
        at org.springframework.http.converter.json.GsonHttpMessageConverter.writeInternal(GsonHttpMessageConverter.java:205)
        at org.springframework.http.converter.AbstractHttpMessageConverter.write(AbstractHttpMessageConverter.java:208)
        at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:161)
        at org.springframework.web.servlet.mvc.method.annotation.HttpEntityMethodProcessor.handleReturnValue(HttpEntityMethodProcessor.java:146)
        at org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:71)
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:126)
        at org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver.doResolveHandlerMethodException(ExceptionHandlerExceptionResolver.java:362)
        at org.springframework.web.servlet.handler.AbstractHandlerMethodExceptionResolver.doResolveException(AbstractHandlerMethodExceptionResolver.java:60)
        at org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver.resolveException(AbstractHandlerExceptionResolver.java:138)
        at org.springframework.web.servlet.handler.AbstractHandlerMethodExceptionResolver.doResolveException(AbstractHandlerMethodExceptionResolver.java:60)
        at org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver.resolveException(AbstractHandlerExceptionResolver.java:138)
        at org.springframework.web.servlet.handler.HandlerExceptionResolverComposite.resolveException(HandlerExceptionResolverComposite.java:74)
        at org.springframework.web.servlet.DispatcherServlet.processHandlerException(DispatcherServlet.java:1183)
        at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1020)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:971)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:869)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:843)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.boot.actuate.autoconfigure.EndpointWebMvcAutoConfiguration$ApplicationContextHeaderFilter.doFilterInternal(EndpointWebMvcAutoConfiguration.java:295)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationProcessingFilter.doFilter(OAuth2AuthenticationProcessingFilter.java:176)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)
       at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:102)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:68)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.openbaton.nfvo.security.authentication.SimpleCorsFilter.doFilter(SimpleCorsFilter.java:49)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Connection reset by peer
        at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
        at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
        at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
        at sun.nio.ch.IOUtil.write(IOUtil.java:65)
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
        at org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:127)
        at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:101)
        at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:173)
        at org.apache.coyote.http11.InternalNioOutputBuffer.writeToSocket(InternalNioOutputBuffer.java:139)
        at org.apache.coyote.http11.InternalNioOutputBuffer.addToBB(InternalNioOutputBuffer.java:197)
        at org.apache.coyote.http11.InternalNioOutputBuffer.access$000(InternalNioOutputBuffer.java:41)
        at org.apache.coyote.http11.InternalNioOutputBuffer$SocketOutputBuffer.doWrite(InternalNioOutputBuffer.java:320)
        at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:84)
        at org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:256)
        at org.apache.coyote.Response.doWrite(Response.java:503)
        at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:388)
        ... 97 common frames omitted
bao2516090 commented 7 years ago

@alincalinciuc Thanks for your advice . I will try! I have two questions:

  1. Openshift domain(I'm not configured) is not necessary to have?
  2. When is the kurento instance started? Is it started when the application is created? Or need to start manually before application created
gc4rella commented 7 years ago

@alincalinciuc please provide additional support as this seems to me a problem with the not started services in the nubomedia-controller machine

bao2516090 commented 7 years ago

@gc4rella I am in the nubomedia-controller to see the start of the service process.

ubuntu@nubomedia-controller:/var/log/openbaton$ ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 Feb20 ?        00:00:01 /sbin/init
root         2     0  0 Feb20 ?        00:00:00 [kthreadd]
root         3     2  0 Feb20 ?        00:00:00 [ksoftirqd/0]
root         5     2  0 Feb20 ?        00:00:00 [kworker/0:0H]
root         6     2  0 Feb20 ?        00:00:03 [kworker/u4:0]
root         7     2  0 Feb20 ?        00:00:07 [rcu_sched]
root         8     2  0 Feb20 ?        00:00:03 [rcuos/0]
root         9     2  0 Feb20 ?        00:00:03 [rcuos/1]
root        10     2  0 Feb20 ?        00:00:00 [rcu_bh]
root        11     2  0 Feb20 ?        00:00:00 [rcuob/0]
root        12     2  0 Feb20 ?        00:00:00 [rcuob/1]
root        13     2  0 Feb20 ?        00:00:00 [migration/0]
root        14     2  0 Feb20 ?        00:00:00 [watchdog/0]
root        15     2  0 Feb20 ?        00:00:00 [watchdog/1]
root        16     2  0 Feb20 ?        00:00:00 [migration/1]
root        17     2  0 Feb20 ?        00:00:00 [ksoftirqd/1]
root        19     2  0 Feb20 ?        00:00:00 [kworker/1:0H]
root        20     2  0 Feb20 ?        00:00:00 [khelper]
root        21     2  0 Feb20 ?        00:00:00 [kdevtmpfs]
root        22     2  0 Feb20 ?        00:00:00 [netns]
root        23     2  0 Feb20 ?        00:00:00 [writeback]
root        24     2  0 Feb20 ?        00:00:00 [kintegrityd]
root        25     2  0 Feb20 ?        00:00:00 [bioset]
root        27     2  0 Feb20 ?        00:00:00 [kblockd]
root        28     2  0 Feb20 ?        00:00:00 [ata_sff]
root        29     2  0 Feb20 ?        00:00:00 [khubd]
root        30     2  0 Feb20 ?        00:00:00 [md]
root        31     2  0 Feb20 ?        00:00:00 [devfreq_wq]
root        32     2  0 Feb20 ?        00:00:02 [kworker/0:1]
root        33     2  0 Feb20 ?        00:00:02 [kworker/1:1]
root        35     2  0 Feb20 ?        00:00:00 [khungtaskd]
root        36     2  0 Feb20 ?        00:00:00 [kswapd0]
root        37     2  0 Feb20 ?        00:00:00 [ksmd]
root        38     2  0 Feb20 ?        00:00:01 [khugepaged]
root        39     2  0 Feb20 ?        00:00:00 [fsnotify_mark]
root        40     2  0 Feb20 ?        00:00:00 [ecryptfs-kthrea]
root        41     2  0 Feb20 ?        00:00:00 [crypto]
root        53     2  0 Feb20 ?        00:00:00 [kthrotld]
root        54     2  0 Feb20 ?        00:00:00 [kworker/u4:1]
root        55     2  0 Feb20 ?        00:00:12 [vballoon]
root        56     2  0 Feb20 ?        00:00:00 [scsi_eh_0]
root        57     2  0 Feb20 ?        00:00:00 [scsi_eh_1]
root        78     2  0 Feb20 ?        00:00:00 [deferwq]
root        79     2  0 Feb20 ?        00:00:00 [charger_manager]
root       122     2  0 Feb20 ?        00:00:00 [kpsmoused]
root       182     2  0 Feb20 ?        00:00:01 [jbd2/vda1-8]
root       183     2  0 Feb20 ?        00:00:00 [ext4-rsv-conver]
root       406     1  0 Feb20 ?        00:00:00 upstart-udev-bridge --daemon
root       431     1  0 Feb20 ?        00:00:00 /lib/systemd/systemd-udevd --daemon
root       507     1  0 Feb20 ?        00:00:00 upstart-socket-bridge --daemon
root       615     1  0 Feb20 ?        00:00:00 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0
root       903     1  0 Feb20 ?        00:00:00 upstart-file-bridge --daemon
message+   926     1  0 Feb20 ?        00:00:00 dbus-daemon --system --fork
syslog     969     1  0 Feb20 ?        00:00:00 rsyslogd
root       990     1  0 Feb20 ?        00:00:00 /lib/systemd/systemd-logind
root      1049     1  0 Feb20 tty4     00:00:00 /sbin/getty -8 38400 tty4
root      1052     1  0 Feb20 tty5     00:00:00 /sbin/getty -8 38400 tty5
root      1057     1  0 Feb20 tty2     00:00:00 /sbin/getty -8 38400 tty2
root      1059     1  0 Feb20 tty3     00:00:00 /sbin/getty -8 38400 tty3
root      1063     1  0 Feb20 tty6     00:00:00 /sbin/getty -8 38400 tty6
root      1082     1  0 Feb20 ?        00:00:00 /usr/sbin/sshd -D
root      1084     1  0 Feb20 ?        00:00:00 cron
daemon    1085     1  0 Feb20 ?        00:00:00 atd
root      1110     1  0 Feb20 ?        00:00:00 acpid -c /etc/acpi/events -s /var/run/acpid.socket
root      1130     1  0 Feb20 ?        00:00:06 /usr/sbin/irqbalance
root      1163     2  0 Feb20 ?        00:00:00 [kauditd]
mysql     1178     1  0 Feb20 ?        00:02:03 /usr/sbin/mysqld
rabbitmq  1190     1  0 Feb20 ?        00:00:01 /usr/lib/erlang/erts-5.10.4/bin/epmd -daemon
rabbitmq  1296     1  0 Feb20 ?        00:00:00 /bin/sh /usr/sbin/rabbitmq-server
rabbitmq  1335  1296  1 Feb20 ?        00:30:55 /usr/lib/erlang/erts-5.10.4/bin/beam.smp -W w -K true -A30 -P 1048576 -- -root /usr/lib/erlang -progname erl -- -home /var/lib/rabbitmq -- -pa /usr/lib/rabbitmq/lib/rabbitmq_server-3.2.4/s
rabbitmq  1556  1335  0 Feb20 ?        00:00:00 inet_gethost 4
rabbitmq  1557  1556  0 Feb20 ?        00:00:00 inet_gethost 4
root      1629     1  0 Feb20 tty1     00:00:00 /sbin/getty -8 38400 tty1
root      1636     1  0 Feb20 ttyS0    00:00:00 /sbin/getty -L ttyS0 115200 vt102
root      2574     1  0 Feb20 ?        00:00:00 SCREEN -c screenrc -d -m -S openbaton -t nfvo java -jar build/libs/openbaton-3.0.0.jar --spring.config.location=file:/etc/openbaton/openbaton.properties
root      2576  2574  0 Feb20 pts/0    00:05:27 java -jar build/libs/openbaton-3.0.0.jar --spring.config.location=file:/etc/openbaton/openbaton.properties
root      2691  2576  0 Feb20 pts/0    00:02:06 java -jar /opt/openbaton/NFVO/./plugins/openstack-plugin-3.0.1-SNAPSHOT.jar openstack localhost 5672 10 admin openbaton
root      2789  2574  0 Feb20 pts/2    00:02:38 java -jar /opt/openbaton/generic-vnfm/build/libs/generic-vnfm-3.0.0.jar
root      3186     1  0 Feb20 ?        00:00:00 SCREEN -c screenrc -d -m -S nubomedia -t nubomedia-paas java -jar /opt/nubomedia/nubomedia-paas/build/libs/nubomedia-paas-1.3.2-SNAPSHOT.jar -Xmx256m -Xms128m --spring.config.location=file
root      3188  3186  0 Feb20 pts/3    00:04:20 java -jar /opt/nubomedia/nubomedia-paas/build/libs/nubomedia-paas-1.3.2-SNAPSHOT.jar -Xmx256m -Xms128m --spring.config.location=file:/etc/nubomedia/paas.properties
root      5114     2  0 08:45 ?        00:00:00 [kworker/u5:2]
root      5640     2  0 09:19 ?        00:00:00 [kworker/u5:1]
ubuntu    5704 24601  0 09:23 pts/5    00:00:00 vim openbaton.log
ubuntu    5805 24601  0 09:30 pts/5    00:00:00 ps -ef
root     23771     2  0 Feb21 ?        00:00:00 [kworker/1:2]
root     24042     2  0 Feb21 ?        00:00:00 [kworker/0:2]
root     24111  1082  0 Feb21 ?        00:00:00 sshd: ubuntu [priv] 
ubuntu   24167 24111  0 Feb21 ?        00:00:00 sshd: ubuntu@pts/4  
ubuntu   24168 24167  0 Feb21 pts/4    00:00:00 -bash
ubuntu   24223 24168  0 Feb21 pts/4    00:00:00 vim openbaton.log
ubuntu   24281 24168  0 Feb21 pts/4    00:00:00 vim nubomedia-paas.log
ubuntu   24313 24168  0 Feb21 pts/4    00:00:00 vim openbaton.log
ubuntu   24344 24168  0 Feb21 pts/4    00:00:00 vim nubomedia-paas.log
ubuntu   24355 24168  0 Feb21 pts/4    00:00:00 vim nubomedia-paas.log
ubuntu   24383 24168  0 Feb21 pts/4    00:00:00 vim openbaton.log
ubuntu   24402 24168  0 Feb21 pts/4    00:00:00 vim nubomedia-
ubuntu   24413 24168  0 Feb21 pts/4    00:00:00 vim nubomedia-paas.log
root     24544  1082  0 Feb21 ?        00:00:00 sshd: ubuntu [priv] 
ubuntu   24600 24544  0 Feb21 ?        00:00:00 sshd: ubuntu@pts/5  
ubuntu   24601 24600  0 Feb21 pts/5    00:00:00 -bash
ubuntu   24821 24601  0 Feb21 pts/5    00:00:00 vim paas.properties

I was thinking about whether it was caused by two reasons, one is my openshift domain is not configured, the other is I do not know why kurento not instantiated in openstack? (I do not know When is the kurento instance started? Is it started when the application is created? Or need to start manually before application created ).

alincalinciuc commented 7 years ago

Hi @bao2516090, The instantiation of Kurento Media Server is not mandatory, but the configuration of a OpenShift domain with WildCard DNS record is mandatory. After configuring the OpenShift domain, please contact me on Skype, id : mosulica@hotmail.com so we can then debug if there are any other issues. Best regards, Alin