Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-2022

LINC-OE doesn't start up

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Description

      When "sudo python opticalTest.py" is executed, pushing Topology.json fails with the following messages.

          • Press ENTER to push Topology.json to onos...
          • Pushing Topology.json to ONOS
            ***WARNING: Could not push topology file to ONOS: curl: (7) Failed to connect to 127.0.0.1 port 8181: Connection refused

      The following is the error log.

      monospaced
      2015-05-26 09:04:33,297 | INFO | qtp1914621169-71 | GossipLinkStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Notifying peers of a link update topology event from providerId: ProviderId

      {scheme=cfg, id=org.onosproject.rest, ancillary=true} between src: ConnectPoint{elementId=of:0000ffffffffff05, portNumber=50} and dst: ConnectPoint{elementId=of:0000ffffffffff01, portNumber=20}
      2015-05-26 09:04:33,297 | INFO | qtp1914621169-71 | LinkManager | 77 - org.onosproject.onos-core-net - 1.2.0.SNAPSHOT | Link DefaultLinkDescription{src=ConnectPoint{elementId=of:0000ffffffffff05, portNumber=50}, dst=ConnectPoint{elementId=of:0000ffffffffff01, portNumber=20}, type=OPTICAL} detected
      2015-05-26 09:04:33,298 | INFO | qtp1914621169-71 | GossipLinkStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Notifying peers of a link update topology event from providerId: ProviderId{scheme=cfg, id=org.onosproject.rest, ancillary=true}

      between src: ConnectPoint

      {elementId=of:0000ffffffffff01, portNumber=50}

      and dst: ConnectPoint

      {elementId=of:0000ffffffffff02, portNumber=30}

      2015-05-26 09:04:33,298 | INFO | qtp1914621169-71 | LinkManager | 77 - org.onosproject.onos-core-net - 1.2.0.SNAPSHOT | Link DefaultLinkDescription{src=ConnectPoint

      {elementId=of:0000ffffffffff01, portNumber=50}

      , dst=ConnectPoint

      {elementId=of:0000ffffffffff02, portNumber=30}

      , type=OPTICAL} detected
      2015-05-26 09:04:33,298 | INFO | qtp1914621169-71 | GossipLinkStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Notifying peers of a link update topology event from providerId: ProviderId

      {scheme=cfg, id=org.onosproject.rest, ancillary=true} between src: ConnectPoint{elementId=of:0000ffffffffff02, portNumber=30} and dst: ConnectPoint{elementId=of:0000ffffffffff01, portNumber=50}
      2015-05-26 09:04:33,298 | INFO | qtp1914621169-71 | LinkManager | 77 - org.onosproject.onos-core-net - 1.2.0.SNAPSHOT | Link DefaultLinkDescription{src=ConnectPoint{elementId=of:0000ffffffffff02, portNumber=30}, dst=ConnectPoint{elementId=of:0000ffffffffff01, portNumber=50}, type=OPTICAL} detected
      2015-05-26 09:04:33,298 | INFO | qtp1914621169-71 | GossipLinkStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Notifying peers of a link update topology event from providerId: ProviderId{scheme=cfg, id=org.onosproject.rest, ancillary=true}

      between src: ConnectPoint

      {elementId=of:0000ffffffffff02, portNumber=50}

      and dst: ConnectPoint

      {elementId=of:0000ffffffffff03, portNumber=30}

      2015-05-26 09:04:33,300 | INFO | qtp1914621169-71 | LinkManager | 77 - org.onosproject.onos-core-net - 1.2.0.SNAPSHOT | Link DefaultLinkDescription{src=ConnectPoint

      {elementId=of:0000ffffffffff02, portNumber=50}

      , dst=ConnectPoint

      {elementId=of:0000ffffffffff03, portNumber=30}

      , type=OPTICAL} detected
      2015-05-26 09:04:33,302 | INFO | nos-topo-build-5 | TopologyManager | 77 - org.onosproject.onos-core-net - 1.2.0.SNAPSHOT | Topology DefaultTopology

      {time=693647847609, creationTime=1432656273299, computeCost=2824728, clusters=3, devices=18, links=39}

      changed
      2015-05-26 09:04:33,302 | INFO | qtp1914621169-71 | GossipLinkStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Notifying peers of a link update topology event from providerId: ProviderId

      {scheme=cfg, id=org.onosproject.rest, ancillary=true} between src: ConnectPoint{elementId=of:0000ffffffffff03, portNumber=30} and dst: ConnectPoint{elementId=of:0000ffffffffff02, portNumber=50}
      2015-05-26 09:04:33,303 | INFO | qtp1914621169-71 | LinkManager | 77 - org.onosproject.onos-core-net - 1.2.0.SNAPSHOT | Link DefaultLinkDescription{src=ConnectPoint{elementId=of:0000ffffffffff03, portNumber=30}, dst=ConnectPoint{elementId=of:0000ffffffffff02, portNumber=50}, type=OPTICAL} detected
      2015-05-26 09:04:33,303 | INFO | qtp1914621169-71 | GossipLinkStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Notifying peers of a link update topology event from providerId: ProviderId{scheme=cfg, id=org.onosproject.rest, ancillary=true}

      between src: ConnectPoint

      {elementId=of:0000ffffffffff02, portNumber=20}

      and dst: ConnectPoint

      {elementId=of:0000ffffffffff05, portNumber=20}

      2015-05-26 09:04:33,303 | INFO | qtp1914621169-71 | LinkManager | 77 - org.onosproject.onos-core-net - 1.2.0.SNAPSHOT | Link DefaultLinkDescription{src=ConnectPoint

      {elementId=of:0000ffffffffff02, portNumber=20}

      , dst=ConnectPoint

      {elementId=of:0000ffffffffff05, portNumber=20}

      , type=OPTICAL} detected
      2015-05-26 09:04:33,303 | INFO | qtp1914621169-71 | GossipLinkStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Notifying peers of a link update topology event from providerId: ProviderId

      {scheme=cfg, id=org.onosproject.rest, ancillary=true} between src: ConnectPoint{elementId=of:0000ffffffffff05, portNumber=20} and dst: ConnectPoint{elementId=of:0000ffffffffff02, portNumber=20}
      2015-05-26 09:04:33,303 | INFO | qtp1914621169-71 | LinkManager | 77 - org.onosproject.onos-core-net - 1.2.0.SNAPSHOT | Link DefaultLinkDescription{src=ConnectPoint{elementId=of:0000ffffffffff05, portNumber=20}, dst=ConnectPoint{elementId=of:0000ffffffffff02, portNumber=20}, type=OPTICAL} detected
      2015-05-26 09:04:33,315 | INFO | qtp1914621169-71 | GossipDeviceStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Notifying peers of a ports update topology event for providerId: ProviderId{scheme=cfg, id=org.onosproject.rest, ancillary=true}

      and deviceId: of:0000ffffffff0003
      2015-05-26 09:04:33,320 | INFO | nos-topo-build-6 | TopologyManager | 77 - org.onosproject.onos-core-net - 1.2.0.SNAPSHOT | Topology DefaultTopology

      {time=693668245977, creationTime=1432656273319, computeCost=653979, clusters=3, devices=18, links=42}

      changed
      2015-05-26 09:04:33,320 | INFO | qtp1914621169-71 | GossipDeviceStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Notifying peers of a ports update topology event for providerId: ProviderId

      {scheme=cfg, id=org.onosproject.rest, ancillary=true} and deviceId: of:0000ffffffff0002
      2015-05-26 09:04:33,321 | INFO | qtp1914621169-71 | GossipDeviceStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Notifying peers of a ports update topology event for providerId: ProviderId{scheme=cfg, id=org.onosproject.rest, ancillary=true}

      and deviceId: of:0000ffffffff0005
      2015-05-26 09:04:33,322 | INFO | qtp1914621169-71 | GossipDeviceStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Notifying peers of a ports update topology event for providerId: ProviderId

      {scheme=cfg, id=org.onosproject.rest, ancillary=true} and deviceId: of:0000ffffffff0004
      2015-05-26 09:04:33,325 | INFO | qtp1914621169-71 | GossipDeviceStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Notifying peers of a ports update topology event for providerId: ProviderId{scheme=cfg, id=org.onosproject.rest, ancillary=true}

      and deviceId: of:0000ffffffff0001
      2015-05-26 09:04:33,326 | INFO | qtp1914621169-71 | GossipDeviceStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Notifying peers of a ports update topology event for providerId: ProviderId

      {scheme=cfg, id=org.onosproject.rest, ancillary=true} and deviceId: of:0000ffffffff0006
      2015-05-26 09:04:33,327 | INFO | qtp1914621169-71 | GossipDeviceStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Notifying peers of a ports update topology event for providerId: ProviderId{scheme=cfg, id=org.onosproject.rest, ancillary=true}

      and deviceId: of:0000ffffffffff0a
      2015-05-26 09:04:33,328 | ERROR | qtp1914621169-71 | ConfigWebResource | 158 - org.onosproject.onos-rest - 1.2.0.SNAPSHOT | Unable to parse topology configuration
      java.lang.IllegalArgumentException: Device description for Device ID of:0000000000000001 from Provider ProviderId

      {scheme=cfg, id=org.onosproject.rest, ancillary=true}

      was not found
      at com.google.common.base.Preconditions.checkArgument(Preconditions.java:145)[44:com.google.guava:18.0.0]
      at org.onosproject.store.device.impl.GossipDeviceStore.updatePortsInternal(GossipDeviceStore.java:594)
      at org.onosproject.store.device.impl.GossipDeviceStore.updatePorts(GossipDeviceStore.java:531)
      at org.onosproject.net.device.impl.DeviceManager$InternalDeviceProviderService.updatePorts(DeviceManager.java:396)
      at org.onosproject.rest.resources.ConfigProvider.addMissingPorts(ConfigProvider.java:419)[158:org.onosproject.onos-rest:1.2.0.SNAPSHOT]
      at org.onosproject.rest.resources.ConfigProvider$$Lambda$281/598517193.accept(Unknown Source)
      at java.util.concurrent.ConcurrentHashMap$ValuesView.forEach(ConcurrentHashMap.java:4707)[:1.8.0_40]
      at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1080)[:1.8.0_40]
      at org.onosproject.rest.resources.ConfigProvider.addMissingPorts(ConfigProvider.java:402)[158:org.onosproject.onos-rest:1.2.0.SNAPSHOT]
      at org.onosproject.rest.resources.ConfigProvider.parse(ConfigProvider.java:147)[158:org.onosproject.onos-rest:1.2.0.SNAPSHOT]
      at org.onosproject.rest.resources.ConfigWebResource.topology(ConfigWebResource.java:59)[158:org.onosproject.onos-rest:1.2.0.SNAPSHOT]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_40]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_40]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_40]
      at java.lang.reflect.Method.invoke(Method.java:497)[:1.8.0_40]
      at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[149:com.sun.jersey.jersey-server:1.19.0]
      at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)[149:com.sun.jersey.jersey-server:1.19.0]
      at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[149:com.sun.jersey.jersey-server:1.19.0]
      at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)[149:com.sun.jersey.jersey-server:1.19.0]
      at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[149:com.sun.jersey.jersey-server:1.19.0]
      at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)[149:com.sun.jersey.jersey-server:1.19.0]
      at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[149:com.sun.jersey.jersey-server:1.19.0]
      at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)[149:com.sun.jersey.jersey-server:1.19.0]
      at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)[149:com.sun.jersey.jersey-server:1.19.0]
      at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)[149:com.sun.jersey.jersey-server:1.19.0]
      at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)[149:com.sun.jersey.jersey-server:1.19.0]
      at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)[149:com.sun.jersey.jersey-server:1.19.0]
      at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)[150:com.sun.jersey.servlet:1.19.0]
      at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)[150:com.sun.jersey.servlet:1.19.0]
      at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)[150:com.sun.jersey.servlet:1.19.0]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)[104:org.apache.geronimo.specs.geronimo-servlet_3.0_spec:1.0.0]
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:69)[119:org.ops4j.pax.web.pax-web-jetty:3.1.4]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:240)[119:org.ops4j.pax.web.pax-web-jetty:3.1.4]
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:75)[119:org.ops4j.pax.web.pax-web-jetty:3.1.4]
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at org.eclipse.jetty.server.Server.handle(Server.java:370)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:651)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[110:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_40]
      monospaced

        Attachments

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

          Activity

            People

            Assignee:
            ayaka Ayaka Koshibe
            Reporter:
            shimizu Shimizu Sho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: