[NETCONF-575] Cluster: Netconf device does not show connected Created: 17/Oct/18  Updated: 29/Oct/18  Resolved: 29/Oct/18

Status: Resolved
Project: netconf
Component/s: netconf
Affects Version/s: Fluorine
Fix Version/s: None

Type: Bug Priority: High
Reporter: Luis Gomez Assignee: Jakub Morvay
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

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

Generated at Wed Feb 07 20:15:22 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.