Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-731

ODL fails to re-establish dropped NETCONF connection

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • netconf
    • None
    • Operating System: Mac OS
      Platform: PC

    • 1621

    Description

      connecting to a device and doing a full yang-ext:mount that device drops the session.

      in previous revisions of ODL (e.g. one from July 29th) ODL re-establishes the session.

      the latest builds fail to do this.

      The only difference I can see in the logs is this:

      old ODL:

      2014-08-26 12:35:51.367 BST [nettyThreadgroupModule$NioEventLoopGroupCloseable-5-2] DEBUG o.o.c.n.n.h.NetconfChunkAggregator - Buffer has 146 bytes, need 793 to complete chunk
      2014-08-26 12:36:01.644 BST [nettyThreadgroupModule$NioEventLoopGroupCloseable-5-2] DEBUG o.o.c.n.n.h.NetconfXMLToMessageDecoder - No more content in incoming buffer.
      2014-08-26 12:36:01.645 BST [nettyThreadgroupModule$NioEventLoopGroupCloseable-5-2] DEBUG o.o.c.n.n.AbstractNetconfSession - Session NetconfClientSession

      {sessionId=7407}

      end of input detected while session was in state up
      2014-08-26 12:36:01.645 BST [nettyThreadgroupModule$NioEventLoopGroupCloseable-5-4] DEBUG o.o.c.n.n.h.FramingMechanismHandlerFactory - EOM framing mechanism was selected.
      2014-08-26 12:36:01.645 BST [nettyThreadgroupModule$NioEventLoopGroupCloseable-5-2] WARN o.o.c.s.c.n.l.NetconfDeviceCommunicator - RemoteDevice

      {XRb}

      : Session went down
      java.io.IOException: End of input detected. Close the session.

      new ODL:

      2014-08-26 12:10:25.570 BST [nettyThreadgroupModule$NioEventLoopGroupCloseable-5-1] DEBUG o.o.c.n.n.h.NetconfChunkAggregator - Buffer has 1008 bytes, need 1298 to complete chunk
      2014-08-26 12:10:25.743 BST [sshd-SshClient[770cf303]-nio2-thread-1] DEBUG o.o.c.n.n.h.s.c.AsyncSshHandler - SSH session closed on channel: [id: 0x0a267c7a]
      2014-08-26 12:10:25.743 BST [nettyThreadgroupModule$NioEventLoopGroupCloseable-5-1] DEBUG o.o.c.n.n.h.NetconfXMLToMessageDecoder - No more content in incoming buffer.
      2014-08-26 12:10:25.743 BST [nettyThreadgroupModule$NioEventLoopGroupCloseable-5-1] DEBUG o.o.c.n.n.AbstractNetconfSession - Session NetconfClientSession

      {sessionId=22530}

      end of input detected while session was in state up
      2014-08-26 12:10:25.744 BST [nettyThreadgroupModule$NioEventLoopGroupCloseable-5-1] WARN o.o.c.s.c.n.l.NetconfDeviceCommunicator - RemoteDevice

      {XRa}

      : Session went down
      java.io.IOException: End of input detected. Close the session.

      is the "o.o.c.n.n.h.FramingMechanismHandlerFactory - EOM framing mechanism was selected." message meaningful? It's missing in the "new" ODL case.

      Attachments

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

        Activity

          People

            mmarsale@cisco.com Maros Marsalek
            giheron@cisco.com Giles Heron
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: