Uploaded image for project: 'honeycomb'
  1. honeycomb
  2. HONEYCOMB-141

get on interface operational data returns either 500 or exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Low Low
    • 16.09
    • None
    • None
    • None
    • [root@overcloud-novacompute-0 ~]# rpm -qa | grep -E '(honeycomb|vpp)'
      honeycomb-1.0.0-1036.noarch
      vpp-16.12-rc0~4_g5331c72~b1026.x86_64
      vpp-lib-16.12-rc0~4_g5331c72~b1026.x86_64

      A request on curl -XGET -v -u admin:admin http://localhost:8181/restconf/config/ietf-interfaces:interfaces/ returns:
      {
      "errors": {
      "error": [
      {
      "error-info": "ReadFailedException{message=Failed to read data, errorList=[RpcError [message=Failed to read data, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=io.fd.honeycomb.translate.v3po.util.ReadTimeoutException: Failed to read InstanceIdentifier

      {targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev150105.interfaces.state._interface.VhostUser, path=[org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.InterfacesState, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface[key=InterfaceKey [_name=neutron_port_2c6e498c-7cc3-4481-8fd3-455609187c4a]], org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev150105.VppInterfaceStateAugmentation, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev150105.interfaces.state._interface.VhostUser]}]]}\n\tat io.fd.honeycomb.data.impl.ReadableDataTreeDelegator.read(ReadableDataTreeDelegator.java:113)\n\tat io.fd.honeycomb.data.impl.ReadOnlyTransaction.read(ReadOnlyTransaction.java:76)\n\tat org.opendaylight.netconf.sal.restconf.impl.BrokerFacade.readDataViaTransaction(BrokerFacade.java:277)\n\tat org.opendaylight.netconf.sal.restconf.impl.BrokerFacade.readOperationalData(BrokerFacade.java:98)\n\tat org.opendaylight.netconf.sal.restconf.impl.RestconfImpl.readOperationalData(RestconfImpl.java:682)\n\tat org.opendaylight.netconf.sal.restconf.impl.StatisticsRestconfServiceWrapper.readOperationalData(StatisticsRestconfServiceWrapper.java:114)\n\tat org.opendaylight.netconf.sal.rest.impl.RestconfCompositeWrapper.readOperationalData(RestconfCompositeWrapper.java:79)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:498)\n\tat com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)\n\tat com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)\n\tat com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)\n\tat com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)\n\tat com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)\n\tat com.sun.jersey.server.impl.uri.rules.ResourceObjectRule.accept(ResourceObjectRule.java:100)\n\tat com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)\n\tat com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)\n\tat com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)\n\tat com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)\n\tat com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:790)\n\tat org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689)\n\tat org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:308)\n\tat org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:262)\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)\n\tat org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:51)\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)\n\tat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)\n\tat org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:513)\n\tat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)\n\tat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)\n\tat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)\n\tat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)\n\tat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)\n\tat org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:513)\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)\n\tat org.eclipse.jetty.server.Server.handle(Server.java:524)\n\tat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)\n\tat org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)\n\tat org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)\n\tat org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)\n\tat org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)\n\tat org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)\n\tat org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)\n\tat org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)\n\tat java.lang.Thread.run(Thread.java:745)\nCaused by: io.fd.honeycomb.translate.v3po.util.ReadTimeoutException: Failed to read InstanceIdentifier{targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev150105.interfaces.state._interface.VhostUser, path=[org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.InterfacesState, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface[key=InterfaceKey [_name=neutron_port_2c6e498c-7cc3-4481-8fd3-455609187c4a]], org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev150105.VppInterfaceStateAugmentation, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev150105.interfaces.state._interface.VhostUser]}

      \n\tat io.fd.honeycomb.translate.v3po.util.TranslateUtils.getReplyForRead(TranslateUtils.java:77)\n\tat io.fd.honeycomb.translate.v3po.util.TranslateUtils.getReplyForRead(TranslateUtils.java:67)\n\tat io.fd.honeycomb.translate.v3po.interfacesstate.VhostUserCustomizer.readCurrentAttributes(VhostUserCustomizer.java:99)\n\tat io.fd.honeycomb.translate.v3po.interfacesstate.VhostUserCustomizer.readCurrentAttributes(VhostUserCustomizer.java:52)\n\tat io.fd.honeycomb.translate.impl.read.GenericReader.readCurrentAttributes(GenericReader.java:57)\n\tat io.fd.honeycomb.translate.util.read.AbstractGenericReader.readCurrent(AbstractGenericReader.java:63)\n\tat io.fd.honeycomb.translate.util.read.AbstractGenericReader.read(AbstractGenericReader.java:83)\n\tat io.fd.honeycomb.translate.util.read.registry.CompositeReader.readChildren(CompositeReader.java:116)\n\tat io.fd.honeycomb.translate.util.read.registry.CompositeReader.readCurrentAttributes(CompositeReader.java:129)\n\tat io.fd.honeycomb.translate.util.read.AbstractGenericReader.readCurrent(AbstractGenericReader.java:63)\n\tat io.fd.honeycomb.translate.util.read.registry.CompositeReader.read(CompositeReader.java:76)\n\tat io.fd.honeycomb.translate.util.read.registry.CompositeReader.readChildren(CompositeReader.java:116)\n\tat io.fd.honeycomb.translate.util.read.registry.CompositeReader.readCurrentAttributes(CompositeReader.java:129)\n\tat io.fd.honeycomb.translate.util.read.AbstractGenericReader.readCurrent(AbstractGenericReader.java:63)\n\tat io.fd.honeycomb.translate.util.read.registry.CompositeReader$CompositeListReader.readList(CompositeReader.java:180)\n\tat io.fd.honeycomb.translate.util.read.registry.CompositeReader.readChildren(CompositeReader.java:113)\n\tat io.fd.honeycomb.translate.util.read.registry.CompositeReader.readCurrentAttributes(CompositeReader.java:129)\n\tat io.fd.honeycomb.translate.util.read.AbstractGenericReader.readCurrent(AbstractGenericReader.java:63)\n\tat io.fd.honeycomb.translate.util.read.registry.CompositeReader.read(CompositeReader.java:76)\n\tat io.fd.honeycomb.translate.util.read.registry.CompositeReaderRegistry.read(CompositeReaderRegistry.java:109)\n\tat io.fd.honeycomb.data.impl.ReadableDataTreeDelegator.readNode(ReadableDataTreeDelegator.java:134)\n\tat io.fd.honeycomb.data.impl.ReadableDataTreeDelegator.read(ReadableDataTreeDelegator.java:101)\n\t... 56 more\nCaused by: java.util.concurrent.TimeoutException\n\tat java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1771)\n\tat java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1915)\n\tat io.fd.honeycomb.translate.v3po.util.TranslateUtils.getReply(TranslateUtils.java:91)\n\tat io.fd.honeycomb.translate.v3po.util.TranslateUtils.getReplyForRead(TranslateUtils.java:75)\n\t... 77 more\n",
      "error-message": "Problem to get data from transaction.",
      "error-tag": "operation-failed",
      "error-type": "application"
      }
      ]
      }
      }

      However, I tried this multiple times and this result was produced only once. The rest ended with HTTP 500.

            Unassigned Unassigned
            juraj.linkes Juraj Linkeš
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: