Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-575

Cluster: Netconf device does not show connected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • None
    • Fluorine
    • netconf
    • None

      The basic netconf clustering CRUD test is failing in fluorine/neon (oxygen is fine):

      https://jenkins.opendaylight.org/releng/view/netconf/job/netconf-csit-3node-clustering-all-fluorine
      https://jenkins.opendaylight.org/releng/view/netconf/job/netconf-csit-3node-clustering-all-neon

      The suite is waiting for device connection however that does not happen:

      Keyword 'Check_Device_Connected' failed after retrying for 20 seconds. The last error was: '{
       "node": [
        {
         "netconf-node-topology:connection-status": "connecting",
         "netconf-node-topology:host": "10.30.170.80",
         "netconf-node-topology:port": 17830,
         "node-id": "netconf-test-device"
        }
       ]
      }
      ' does not contain '"netconf-node-topology:connection-status": "connected"'
      

      In the karaf log we can see the following:

      2018-10-17T00:16:32,653 | INFO  | opendaylight-cluster-data-notification-dispatcher-53 | NetconfTopologyUtils             | 287 - org.opendaylight.netconf.topology-singleton - 1.5.1.SNAPSHOT | RemoteDevice{netconf-test-device} : using the default directory cache/schema
      2018-10-17T00:16:32,807 | INFO  | opendaylight-cluster-data-akka.actor.default-dispatcher-46 | NetconfTopologyContext           | 287 - org.opendaylight.netconf.topology-singleton - 1.5.1.SNAPSHOT | Master was selected: IpAddress{_ipv4Address=Ipv4Address{_value=10.30.170.73}}
      2018-10-17T00:16:33,088 | INFO  | opendaylight-cluster-data-akka.actor.default-dispatcher-46 | RemoteDeviceConnectorImpl        | 287 - org.opendaylight.netconf.topology-singleton - 1.5.1.SNAPSHOT | RemoteDevice{netconf-test-device}: Concurrent rpc limit is smaller than 1, no limit will be enforced.
      2018-10-17T00:16:34,675 | WARN  | sshd-SshClient[6c6ea01e]-nio2-thread-4 | AcceptAllServerKeyVerifier       | 136 - org.apache.sshd.core - 1.6.0 | Server at /10.30.170.73:17830 presented unverified RSA key: SHA256:Yui7HIOBdO90EUtADu0RJi7tFoReF0y3Y+f/n7dizug
      2018-10-17T00:16:36,815 | INFO  | remote-connector-processing-executor-11 | NetconfDevice                    | 283 - org.opendaylight.netconf.sal-netconf-connector - 1.8.1.SNAPSHOT | RemoteDevice{netconf-test-device}: Netconf connector initialized successfully
      

      However I miss this line present in Oxygen:

      2018-10-17T00:16:41,838 | INFO  | remote-connector-processing-executor-11 | MasterSalFacade                  | 310 - org.opendaylight.netconf.topology-singleton - 1.4.4.SNAPSHOT | Device RemoteDevice{netconf-test-device} connected - registering master mount point
      

            JMorvay Jakub Morvay
            ecelgp Luis Gomez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: