Details

    • Type: Bug
    • Status: Closed
    • Priority: Highest
    • Resolution: Done
    • Affects Version/s: Beijing Release
    • Fix Version/s: Beijing Release
    • Labels:
    • Environment:

      HEAT installation on Integration-SB-03

      Description

      Installed ONAP with HEAT. When using ESR EMS portal to register an EMS system, GUI doesn't return. There is some error message in ESR server log: 

      2018-04-23 03:44:37 677 INFO  [org.onap.aai.esr.resource.EmsManager][dw-14 - POST /api/aai-esr-server/v1/emses] - start add ems info:{"emsId":"","name":"Huawei ESR","vendor":"","version":"","resourceAddr":{"ftptype":"ftp","ip":"10.0.10.1","port":"1080","user":"root","password":"","remotepath":"/opt/Gcp/data/","passive":true},"performanceAddr":{"ftptype":"ftp","ip":"10.0.10.1","port":"1080","user":"root","password":"","remotepath":"","passive":true},"alarmAddr":{"ip":"10.0.10.1","port":"2000","user":"root","password":""}}

      2018-04-23 03:44:37 685 INFO  [org.glassfish.jersey.client.HttpUrlConnector][dw-14 - POST /api/aai-esr-server/v1/emses] - Restricted headers are not enabled using [sun.net.http.allowRestrictedHeaders] system property (setting only takes effect on connections created after the property has been set/changed).

      2018-04-23 03:44:37 685 INFO  [org.glassfish.jersey.process.internal.RequestExecutorFactory][dw-14 - POST /api/aai-esr-server/v1/emses] - "No custom request executor provider registrations found - using default: [org.glassfish.jersey.client.ClientAsyncExecutorFactory$1]."

      2018-04-23 03:44:37 691 INFO  [org.onap.aai.esr.externalservice.aai.EmsRegisterProvider][dw-14 - POST /api/aai-esr-server/v1/emses] - the param to register EMS input is:{"ems-id":"98d47d59-3ad0-47f5-8767-cd1d5e3cb877","esr-system-info-list":{"esr-system-info":[\{"esr-system-info-id":"7184403c-7ad6-42d3-a2a3-1fd23ed3a985","system-name":"Huawei ESR","type":"ftp","vendor":"","version":"","user-name":"root","password":"","system-type":"EMS_RESOUCE","ip-address":"10.0.10.1","port":"1080","passive":true,"remote-path":"/opt/Gcp/data/"},\{"esr-system-info-id":"42432ea8-d79a-468b-8aff-42e5d86951eb","system-name":"Huawei ESR","type":"ftp","vendor":"","version":"","user-name":"root","password":"","system-type":"EMS_PERFORMANCE","ip-address":"10.0.10.1","port":"1080","passive":true,"remote-path":""},\{"esr-system-info-id":"6e77b020-2b73-4c12-a171-535285e7ddba","system-name":"Huawei ESR","vendor":"","version":"","user-name":"root","password":"","system-type":"EMS_ALARM","ip-address":"10.0.10.1","port":"2000"}]}}

      2018-04-23 03:44:37 694 ERROR [org.onap.aai.esr.wrapper.EmsManagerWrapper][dw-14 - POST /api/aai-esr-server/v1/emses] - Register EMS failed !

      org.onap.aai.esr.exception.ExtsysException: PUT EMS to A&AI failed.

      at org.onap.aai.esr.externalservice.aai.ExternalSystemProxy.registerEms(ExternalSystemProxy.java:117)

      at org.onap.aai.esr.wrapper.EmsManagerWrapper.registerEms(EmsManagerWrapper.java:60)

      at org.onap.aai.esr.resource.EmsManager.registerEms(EmsManager.java:141)

      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.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)

      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:143)

      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:160)

      at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:158)

      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:97)

      at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)

      at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)

      at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)

      at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:303)

      at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)

      at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)

      at org.glassfish.jersey.internal.Errors.process(Errors.java:315)

      at org.glassfish.jersey.internal.Errors.process(Errors.java:297)

      at org.glassfish.jersey.internal.Errors.process(Errors.java:267)

      at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)

      at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:286)

      at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1072)

      at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:399)

      at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:381)

      at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:344)

      at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221)

      at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:49)

      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)

      at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:34)

      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)

      at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:45)

      at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:39)

      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)

      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)

      at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)

      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)

      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)

      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)

      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)

      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)

      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)

      at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:241)

      at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:38)

      at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:455)

      at io.dropwizard.jetty.BiDiGzipHandler.handle(BiDiGzipHandler.java:68)

      at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:56)

      at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:169)

      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)

      at org.eclipse.jetty.server.Server.handle(Server.java:561)

      at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334)

      at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)

      at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)

      at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104)

      at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:289)

      at org.eclipse.jetty.io.ssl.SslConnection$3.succeeded(SslConnection.java:149)

      at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104)

      at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)

      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247)

      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)

      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)

      at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243)

      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679)

      at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597)

      at java.lang.Thread.run(Thread.java:748)

      Caused by: com.eclipsesource.jaxrs.consumer.RequestException: Failed to send PUT request to: http://10.0.14.1:443/api/aai-externalSystem/v11/esr-ems-list/esr-ems/98d47d59-3ad0-47f5-8767-cd1d5e3cb877

      Received Status: 400

      Received Body: <html>

      <head><title>400 The plain HTTP request was sent to HTTPS port</title></head>

      <body bgcolor="white">

      <center><h1>400 Bad Request</h1></center>

      <center>The plain HTTP request was sent to HTTPS port</center>

      <hr><center>openresty</center>

      </body>

      </html>

       

       

      at com.eclipsesource.jaxrs.consumer.internal.ResourceInvocationHandler.validateResponse(ResourceInvocationHandler.java:128)

      at com.eclipsesource.jaxrs.consumer.internal.ResourceInvocationHandler.sendPutRequest(ResourceInvocationHandler.java:102)

      at com.eclipsesource.jaxrs.consumer.internal.ResourceInvocationHandler.sendRequest(ResourceInvocationHandler.java:76)

      at com.eclipsesource.jaxrs.consumer.internal.ResourceInvocationHandler.invoke(ResourceInvocationHandler.java:65)

      at com.sun.proxy.$Proxy69.registerEMS(Unknown Source)

      at org.onap.aai.esr.externalservice.aai.ExternalSystemProxy.registerEms(ExternalSystemProxy.java:115)

      ... 66 common frames omitted

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              nancylizi Li Zi
              Reporter:
              xuyang11 Yang Xu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: